Click here to Skip to main content
15,914,323 members
Home / Discussions / C#
   

C#

 
GeneralRe: Connection Problem Pin
CodingYoshi9-Apr-09 9:25
CodingYoshi9-Apr-09 9:25 
QuestionReading ms Word table of contents with c# Pin
panoskatws9-Apr-09 4:51
panoskatws9-Apr-09 4:51 
QuestionBHO not working on IE7? Pin
svt gdwl9-Apr-09 3:43
svt gdwl9-Apr-09 3:43 
QuestionDelegates in C# Pin
al3xutzu009-Apr-09 3:38
al3xutzu009-Apr-09 3:38 
AnswerRe: Delegates in C# Pin
Rob Philpott9-Apr-09 3:42
Rob Philpott9-Apr-09 3:42 
GeneralRe: Delegates in C# Pin
al3xutzu009-Apr-09 4:27
al3xutzu009-Apr-09 4:27 
GeneralRe: Delegates in C# Pin
S. Senthil Kumar9-Apr-09 4:58
S. Senthil Kumar9-Apr-09 4:58 
GeneralRe: Delegates in C# Pin
Rob Philpott9-Apr-09 5:18
Rob Philpott9-Apr-09 5:18 
I'm very much with Senthil's comments above. You really don't want some common functionality in form code. Otherwise, as your experiencing you need to create form2 in order to do print preview in form1. form2 has obviously got massive amounts of GUI stuff in it which you don't need or want.

Try and abstract out the preview functionality into another class and call that from both.

Regards,
Rob Philpott.

QuestionHow to customize setup wizard in c#.net 3.5 windows application Pin
Narendra Reddy Vajrala9-Apr-09 3:35
Narendra Reddy Vajrala9-Apr-09 3:35 
AnswerRe: How to customize setup wizard in c#.net 3.5 windows application Pin
Dave Kreskowiak9-Apr-09 4:21
mveDave Kreskowiak9-Apr-09 4:21 
GeneralRe: How to customize setup wizard in c#.net 3.5 windows application Pin
Narendra Reddy Vajrala9-Apr-09 4:34
Narendra Reddy Vajrala9-Apr-09 4:34 
GeneralRe: How to customize setup wizard in c#.net 3.5 windows application Pin
Dave Kreskowiak9-Apr-09 6:50
mveDave Kreskowiak9-Apr-09 6:50 
QuestionInformation- Can we change the shape of button from Square to any other Pin
shomic.goyal9-Apr-09 3:02
shomic.goyal9-Apr-09 3:02 
AnswerRe: Information- Can we change the shape of button from Square to any other Pin
Nagy Vilmos9-Apr-09 3:12
professionalNagy Vilmos9-Apr-09 3:12 
AnswerRe: Information- Can we change the shape of button from Square to any other Pin
rahulsingi9-Nov-09 1:13
rahulsingi9-Nov-09 1:13 
QuestionFilling a Order Page Pin
Dirso9-Apr-09 3:01
Dirso9-Apr-09 3:01 
QuestionWorkflowMarkupSerializer doesn’t keep positions in a state machine workflow Pin
Win81289-Apr-09 2:53
Win81289-Apr-09 2:53 
AnswerRe: WorkflowMarkupSerializer doesn’t keep positions in a state machine workflow Pin
Win812810-Apr-09 1:40
Win812810-Apr-09 1:40 
Questionregular expressions Pin
xkrja9-Apr-09 1:22
xkrja9-Apr-09 1:22 
AnswerRe: regular expressions Pin
Ravadre9-Apr-09 2:01
Ravadre9-Apr-09 2:01 
GeneralRe: regular expressions Pin
xkrja9-Apr-09 2:16
xkrja9-Apr-09 2:16 
GeneralRe: regular expressions Pin
Ravadre9-Apr-09 3:21
Ravadre9-Apr-09 3:21 
GeneralRe: regular expressions Pin
xkrja9-Apr-09 3:25
xkrja9-Apr-09 3:25 
QuestionSleep thread Pin
yesu prakash9-Apr-09 1:16
yesu prakash9-Apr-09 1:16 
AnswerRe: Sleep thread Pin
Ravadre9-Apr-09 1:40
Ravadre9-Apr-09 1:40 

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.