Click here to Skip to main content
15,892,059 members
Home / Discussions / C#
   

C#

 
GeneralRe: crystal report Pin
Abhijit Jana12-Jan-08 3:17
professionalAbhijit Jana12-Jan-08 3:17 
GeneralRe: crystal report Pin
Paul Conrad13-Jan-08 6:41
professionalPaul Conrad13-Jan-08 6:41 
GeneralRe: crystal report Pin
shabonaa13-Jan-08 7:11
shabonaa13-Jan-08 7:11 
GeneralSaving Image to a file from database. Pin
Syed Mujtaba Hassan12-Jan-08 2:02
Syed Mujtaba Hassan12-Jan-08 2:02 
GeneralRe: Saving Image to a file from database. Pin
pmarfleet12-Jan-08 2:50
pmarfleet12-Jan-08 2:50 
QuestionHow can we open only one instance of a form at a time from a MDIparent form in C#.net Pin
Anu Palavila12-Jan-08 0:40
Anu Palavila12-Jan-08 0:40 
GeneralRe: How can we open only one instance of a form at a time from a MDIparent form in C#.net Pin
imsathy12-Jan-08 1:31
imsathy12-Jan-08 1:31 
GeneralRe: How can we open only one instance of a form at a time from a MDIparent form in C#.net Pin
darkelv12-Jan-08 6:31
darkelv12-Jan-08 6:31 
You can do that by having a "manager" class that manage the child form.

1. Caller call a method in the manager, given the type of the form that you want to open.
2. Manager check MdiChildren of that type, if it finds it, return the form object back to caller.
3. If manager not able to find it, then create a new instance via reflection, then return back to caller.
4. Caller receive the form, do necessary action on the form (pass object, show, etc)

You can mix it up a bit by having some form can only be opened as 1 instance, while other form can be opened multiple time, by adding customattribute to the form class or adding an "AllowMultiple" via subclassing Form.

This is by no means the only way.
GeneralMouseover outside the form Pin
ncjlee11-Jan-08 23:32
ncjlee11-Jan-08 23:32 
GeneralRe: Mouseover outside the form Pin
shabonaa12-Jan-08 3:13
shabonaa12-Jan-08 3:13 
GeneralRe: Mouseover outside the form Pin
ncjlee12-Jan-08 3:34
ncjlee12-Jan-08 3:34 
GeneralRe: Mouseover outside the form Pin
Ravi Bhavnani12-Jan-08 7:52
professionalRavi Bhavnani12-Jan-08 7:52 
NewsDrag And Drop From HTML To WinApplication Pin
Boroumandan11-Jan-08 23:30
Boroumandan11-Jan-08 23:30 
GeneralRe: Drag And Drop From HTML To WinApplication Pin
pmarfleet12-Jan-08 1:35
pmarfleet12-Jan-08 1:35 
Generalserial port communication Pin
zafax_11-Jan-08 23:17
zafax_11-Jan-08 23:17 
GeneralRe: serial port communication Pin
shabonaa12-Jan-08 2:59
shabonaa12-Jan-08 2:59 
GeneralRe: serial port communication Pin
Sourie14-Jan-08 7:39
Sourie14-Jan-08 7:39 
GeneralDisplay the select names dialog in outlook Pin
navinhari11-Jan-08 22:44
navinhari11-Jan-08 22:44 
QuestionHow to add Asp Controls at runtime? Pin
Radha2711-Jan-08 22:17
Radha2711-Jan-08 22:17 
AnswerDuplicate Post !!! Pin
Abhijit Jana11-Jan-08 22:31
professionalAbhijit Jana11-Jan-08 22:31 
GeneralRe: Duplicate Post !!! Pin
Radha2711-Jan-08 22:41
Radha2711-Jan-08 22:41 
GeneralRe: Duplicate Post !!! Pin
Abhijit Jana11-Jan-08 23:08
professionalAbhijit Jana11-Jan-08 23:08 
QuestionHow to call Dot net WebServices in Php/Java. Pin
alisolution11-Jan-08 21:12
alisolution11-Jan-08 21:12 
AnswerCross post - please ignore Pin
pmarfleet11-Jan-08 22:34
pmarfleet11-Jan-08 22:34 
QuestionHow to invoke (where T : IEnumerable<t>) generic?</t> Pin
Chesnokov Yuriy11-Jan-08 20:17
professionalChesnokov Yuriy11-Jan-08 20:17 

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.