Click here to Skip to main content
15,886,518 members
Home / Discussions / C#
   

C#

 
Questionhow to simulate login process wiht verify picture with httpwebrequest Pin
huangsheng9-May-06 22:05
huangsheng9-May-06 22:05 
AnswerRe: how to simulate login process wiht verify picture with httpwebrequest Pin
huangsheng10-May-06 5:02
huangsheng10-May-06 5:02 
Questionhow to customize calendar drawing Pin
Sasuko9-May-06 21:58
Sasuko9-May-06 21:58 
QuestionGDI Interface Pin
cshivaprasad9-May-06 21:40
cshivaprasad9-May-06 21:40 
AnswerRe: GDI Interface Pin
alexey N9-May-06 22:27
alexey N9-May-06 22:27 
GeneralRe: GDI Interface Pin
cshivaprasad9-May-06 23:55
cshivaprasad9-May-06 23:55 
GeneralRe: GDI Interface Pin
alexey N10-May-06 0:20
alexey N10-May-06 0:20 
AnswerRe: GDI Interface Pin
microsoc10-May-06 17:46
microsoc10-May-06 17:46 
Hi cshivaprasad! Smile | :)

If you're inherting from a form, add these lines of code to your constructor.

SetStyle(ControlStyles.ResizeRedraw, true);

this will automatically repaint your form when it's resize.

SetStyle(ControlStyles.UserPaint, true);
SetStyle(ControlStyles.AllPaintingInWmPaint, true);
SetStyle(ControlStyles.DoubleBuffer, true);

this will prevent the flickering of your form.


hope these help! Smile | :)

microsoc Cool | :cool:
Questionpassing a parameter into a select command Pin
Rmokkenstorm9-May-06 21:24
Rmokkenstorm9-May-06 21:24 
AnswerRe: passing a parameter into a select command Pin
WillemM9-May-06 21:33
WillemM9-May-06 21:33 
GeneralRe: passing a parameter into a select command Pin
Rmokkenstorm9-May-06 21:43
Rmokkenstorm9-May-06 21:43 
GeneralRe: passing a parameter into a select command Pin
WillemM9-May-06 21:55
WillemM9-May-06 21:55 
GeneralRe: passing a parameter into a select command Pin
Rmokkenstorm9-May-06 22:07
Rmokkenstorm9-May-06 22:07 
GeneralRe: passing a parameter into a select command Pin
Stefan Troschuetz9-May-06 22:38
Stefan Troschuetz9-May-06 22:38 
GeneralRe: passing a parameter into a select command Pin
Rmokkenstorm9-May-06 22:44
Rmokkenstorm9-May-06 22:44 
QuestionAbstract Factory Design Pattern Pin
kumar.bs9-May-06 21:21
kumar.bs9-May-06 21:21 
AnswerRe: Abstract Factory Design Pattern Pin
WillemM9-May-06 21:31
WillemM9-May-06 21:31 
GeneralRe: Abstract Factory Design Pattern Pin
kumar.bs9-May-06 22:06
kumar.bs9-May-06 22:06 
GeneralRe: Abstract Factory Design Pattern Pin
J4amieC9-May-06 22:57
J4amieC9-May-06 22:57 
Questionhow to send email automatically? Pin
lephong9-May-06 21:18
lephong9-May-06 21:18 
QuestionHow to get list of computer in a net workplace? Pin
lephong9-May-06 21:07
lephong9-May-06 21:07 
QuestionAccessing global address book from outlook using c# Pin
AnnnS9-May-06 20:37
AnnnS9-May-06 20:37 
QuestionWindows Media Encoder with Single Instance Problem Pin
Shajeel9-May-06 20:33
Shajeel9-May-06 20:33 
Questionare we 'printing' or 'previewing' ? Pin
s o v a n n9-May-06 20:24
s o v a n n9-May-06 20:24 
AnswerRe: are we 'printing' or 'previewing' ? Pin
Robert Rohde10-May-06 1:18
Robert Rohde10-May-06 1:18 

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.