Click here to Skip to main content
15,893,668 members
Home / Discussions / C#
   

C#

 
QuestionJavascript in C# Pin
jonhbt27-Mar-08 22:10
jonhbt27-Mar-08 22:10 
GeneralRe: Javascript in C# Pin
pmarfleet27-Mar-08 22:52
pmarfleet27-Mar-08 22:52 
QuestionRe: Javascript in C# Pin
jonhbt28-Mar-08 0:50
jonhbt28-Mar-08 0:50 
GeneralRe: Javascript in C# Pin
Guffa28-Mar-08 1:25
Guffa28-Mar-08 1:25 
GeneralRe: Javascript in C# Pin
alhgamy3-Apr-08 6:36
alhgamy3-Apr-08 6:36 
AnswerRe: Javascript in C# Pin
Rritesh Ravlani1-May-08 21:13
Rritesh Ravlani1-May-08 21:13 
GeneralRemove Flicker before drawing Splash Screen Pin
Sukhjinder_K27-Mar-08 21:47
Sukhjinder_K27-Mar-08 21:47 
GeneralRe: Remove Flicker before drawing Splash Screen Pin
Bekjong28-Mar-08 0:32
Bekjong28-Mar-08 0:32 
Sukhjinder_K wrote:
this.BackColor = this.TransparencyKey = Color.White;
Image img = Bitmap.FromFile("splash.png");
Bitmap b = new Bitmap(img);
b.MakeTransparent(b.GetPixel(1,1));
this.BackgroundImage = splashImage = (Image) b;


I don't really get what you're trying to achieve here. Why not just use

this.BackColor = Color.Transparent;
this.BackgroundImage = Bitmap.FromFile"splash.png");


If you include the tranparency in your image you should be pretty much done. If that doesn't work, you can always fill up the form with a PictureBox control.

Oh, as for the flicer problem, try using this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true); on your form.


Standards are great! Everybody should have one!

GeneralThe Solution I got Pin
Sukhjinder_K29-Mar-08 23:19
Sukhjinder_K29-Mar-08 23:19 
GeneralLine Eraser [modified] Pin
Denver Thomas27-Mar-08 21:15
Denver Thomas27-Mar-08 21:15 
GeneralRe: Line Eraser Pin
Xmen Real 27-Mar-08 23:06
professional Xmen Real 27-Mar-08 23:06 
General[Message Deleted] Pin
Denver Thomas27-Mar-08 23:07
Denver Thomas27-Mar-08 23:07 
GeneralRe: Line Eraser Pin
pmarfleet27-Mar-08 23:11
pmarfleet27-Mar-08 23:11 
General[Message Deleted] Pin
Denver Thomas28-Mar-08 0:37
Denver Thomas28-Mar-08 0:37 
GeneralRe: Line Eraser Pin
pmarfleet28-Mar-08 1:53
pmarfleet28-Mar-08 1:53 
GeneralRe: Line Eraser Pin
J4amieC28-Mar-08 2:05
J4amieC28-Mar-08 2:05 
GeneralRe: Line Eraser Pin
pmarfleet27-Mar-08 23:10
pmarfleet27-Mar-08 23:10 
GeneralRe: Line Eraser Pin
Denver Thomas27-Mar-08 23:17
Denver Thomas27-Mar-08 23:17 
Generalto Paul Marfleet Pin
Denver Thomas28-Mar-08 0:53
Denver Thomas28-Mar-08 0:53 
GeneralRe: to Paul Marfleet Pin
J4amieC28-Mar-08 1:17
J4amieC28-Mar-08 1:17 
GeneralRe: to Paul Marfleet PinPopular
pmarfleet28-Mar-08 1:59
pmarfleet28-Mar-08 1:59 
QuestionCalling HTTP Web Form and posting information [modified] Pin
ptr2void27-Mar-08 20:59
ptr2void27-Mar-08 20:59 
AnswerRe: Calling HTTP Web Form and posting information Pin
Rajesh Thomas28-Mar-08 2:21
Rajesh Thomas28-Mar-08 2:21 
AnswerRe: Calling HTTP Web Form and posting information Pin
Ravi Bhavnani1-May-08 7:59
professionalRavi Bhavnani1-May-08 7:59 
GeneralWindows Service Question Pin
Harvey Saayman27-Mar-08 20:44
Harvey Saayman27-Mar-08 20:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.