Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
GeneralRe: Multithreading issue Pin
Colin Angus Mackay25-Jan-04 11:22
Colin Angus Mackay25-Jan-04 11:22 
GeneralRe: Multithreading issue Pin
maria_p26-Jan-04 1:53
maria_p26-Jan-04 1:53 
GeneralRe: Multithreading issue Pin
Heath Stewart26-Jan-04 2:53
protectorHeath Stewart26-Jan-04 2:53 
GeneralRe: Multithreading issue Pin
Heath Stewart26-Jan-04 2:54
protectorHeath Stewart26-Jan-04 2:54 
GeneralWierd irregularities between C# and VB.net Pin
dalm25-Jan-04 8:44
dalm25-Jan-04 8:44 
GeneralRe: Wierd irregularities between C# and VB.net Pin
Nick Parker25-Jan-04 9:14
protectorNick Parker25-Jan-04 9:14 
Questionhow to avoid panel flicker ? Pin
Member 1088757825-Jan-04 6:11
Member 1088757825-Jan-04 6:11 
AnswerRe: how to avoid panel flicker ? Pin
colderthanfusion25-Jan-04 11:04
colderthanfusion25-Jan-04 11:04 
Drawing the bitmap directly on to your form instead of using a Panel will help.

Get rid of panel1 completely and move the drawing code to an override of Form1. Try

protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint (e);
e.Graphics.DrawImage( //draw shade shade
barran,
new Rectangle(160, 4, 299, 32), // destination rectangle
0.0f, // source rectangle x
0.0f, // source rectangle y
299, // source rectangle width
32, // source rectangle height
GraphicsUnit.Pixel,
imageAtt);

e.Graphics.DrawImageUnscaled(temp2,new Rectangle(160+xtitolo,7,287,27)); //draw title
}


Then in timertitolo_Tick method Invalidate() the form rather than panel1
GeneralRe: how to avoid panel flicker ? Pin
JockerSoft26-Jan-04 4:40
JockerSoft26-Jan-04 4:40 
QuestionHow can I get the name of current theme from OS? Pin
rafamarmar25-Jan-04 5:22
rafamarmar25-Jan-04 5:22 
AnswerRe: How can I get the name of current theme from OS? Pin
Hauptman(n)25-Jan-04 6:11
Hauptman(n)25-Jan-04 6:11 
AnswerRe: How can I get the name of current theme from OS? Pin
Nick Parker25-Jan-04 6:23
protectorNick Parker25-Jan-04 6:23 
AnswerRe: How can I get the name of current theme from OS? Pin
Heath Stewart26-Jan-04 2:41
protectorHeath Stewart26-Jan-04 2:41 
GeneralCompiling .aspx.cs and .cs files in visual studio .net Pin
Member 52585824-Jan-04 22:14
Member 52585824-Jan-04 22:14 
GeneralRe: Compiling .aspx.cs and .cs files in visual studio .net Pin
OmegaSupreme25-Jan-04 3:30
OmegaSupreme25-Jan-04 3:30 
GeneralRe: Compiling .aspx.cs and .cs files in visual studio .net Pin
Member 52585825-Jan-04 19:19
Member 52585825-Jan-04 19:19 
GeneralRe: Compiling .aspx.cs and .cs files in visual studio .net Pin
Heath Stewart26-Jan-04 2:32
protectorHeath Stewart26-Jan-04 2:32 
General.net XML deserialisation and properties Pin
dalm24-Jan-04 13:10
dalm24-Jan-04 13:10 
GeneralRe: .net XML deserialisation and properties Pin
Heath Stewart26-Jan-04 2:25
protectorHeath Stewart26-Jan-04 2:25 
GeneralProblem with Calendar control Pin
Alex Korchemniy24-Jan-04 10:18
Alex Korchemniy24-Jan-04 10:18 
GeneralRichTextBox question.. Pin
Fredrik7924-Jan-04 9:08
Fredrik7924-Jan-04 9:08 
GeneralRe: RichTextBox question.. Pin
Mazdak24-Jan-04 10:10
Mazdak24-Jan-04 10:10 
GeneralRe: RichTextBox question.. Pin
Nick Parker25-Jan-04 5:45
protectorNick Parker25-Jan-04 5:45 
GeneralRe: RichTextBox question.. Pin
Fredrik7925-Jan-04 5:58
Fredrik7925-Jan-04 5:58 
GeneralRe: RichTextBox question.. Pin
Nick Parker25-Jan-04 7:41
protectorNick Parker25-Jan-04 7:41 

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.