Click here to Skip to main content
15,899,026 members
Home / Discussions / C#
   

C#

 
AnswerRe: setup deployment for C# window appl(application+framework+database) Pin
bk_bhupendra_fag092-Nov-09 20:52
bk_bhupendra_fag092-Nov-09 20:52 
QuestionRTP Pin
mehrdadc4826-Jul-06 20:25
mehrdadc4826-Jul-06 20:25 
AnswerRe: WinRTP Pin
Divyang Mithaiwala26-Jul-06 22:41
Divyang Mithaiwala26-Jul-06 22:41 
AnswerRe: RTP [modified] Pin
Ed.Poore26-Jul-06 23:57
Ed.Poore26-Jul-06 23:57 
QuestionHow to do shell icon overlay using C# Pin
chovdry26-Jul-06 19:31
chovdry26-Jul-06 19:31 
Questionpreventing settings from being tampered Pin
Mridang Agarwalla26-Jul-06 17:41
Mridang Agarwalla26-Jul-06 17:41 
AnswerRe: preventing settings from being tampered Pin
stancrm26-Jul-06 20:22
stancrm26-Jul-06 20:22 
QuestionMdiParent problem [modified] Pin
Kasic Slobodan26-Jul-06 16:28
Kasic Slobodan26-Jul-06 16:28 
Iam working on MDI application and I have some problem.
For the main form, IsMdiContainer is set to true as well as the MdiParent for child form, is set to 'this' (main form).
But problem starts here.

I put all the codes for each controls in each separete class so it's easy to manipulate.
In Tabs class, I have all the methods, properties I need for adding, removing, renaming etc. tabs.
I also have a method for adding new child forms.
In this method, MdiParent isn't set to 'this', but to frmMain.ActiveForm.

The thing is that everything works great unless I try to add new tab from the other Form.
App then breaks at line MdiParent = frmMain.ActiveForm with this error:

Form that was specified to be the MdiParent for this form is not an MdiContainer.<br />
Parameter name: value.


How can I workaround this problem, but still have this method for adding new child forms in Tabs class?
Iam out of ideas.

Sorry if my post is confusing.
AnswerRe: MdiParent problem Pin
Andrew Lygin26-Jul-06 18:21
Andrew Lygin26-Jul-06 18:21 
GeneralRe: MdiParent problem Pin
Kasic Slobodan26-Jul-06 22:11
Kasic Slobodan26-Jul-06 22:11 
Questionhow it could be? Pin
Maksymus00726-Jul-06 13:01
Maksymus00726-Jul-06 13:01 
AnswerRe: how it could be? Pin
bk_bhupendra_fag092-Nov-09 20:56
bk_bhupendra_fag092-Nov-09 20:56 
QuestionPlz help me in my problem Pin
dirvi26-Jul-06 12:08
dirvi26-Jul-06 12:08 
AnswerRe: Plz help me in my problem Pin
Paul Conrad26-Jul-06 12:11
professionalPaul Conrad26-Jul-06 12:11 
AnswerRe: Plz help me in my problem Pin
Ed.Poore26-Jul-06 12:32
Ed.Poore26-Jul-06 12:32 
QuestionSetup and Deplyment package VS2003 Pin
Ista26-Jul-06 11:17
Ista26-Jul-06 11:17 
QuestionCounting Different Strings Pin
clint198226-Jul-06 11:12
clint198226-Jul-06 11:12 
AnswerLoop Pin
Ennis Ray Lynch, Jr.26-Jul-06 11:25
Ennis Ray Lynch, Jr.26-Jul-06 11:25 
GeneralRe: Loop Pin
clint198226-Jul-06 11:42
clint198226-Jul-06 11:42 
GeneralRe: Loop Pin
Ennis Ray Lynch, Jr.26-Jul-06 11:55
Ennis Ray Lynch, Jr.26-Jul-06 11:55 
GeneralRe: Loop Pin
clint198226-Jul-06 21:30
clint198226-Jul-06 21:30 
GeneralRe: Loop Pin
Ennis Ray Lynch, Jr.27-Jul-06 3:39
Ennis Ray Lynch, Jr.27-Jul-06 3:39 
GeneralHow about this??? Pin
Ennis Ray Lynch, Jr.27-Jul-06 4:26
Ennis Ray Lynch, Jr.27-Jul-06 4:26 
QuestionMulti-Threading a COM DLL in .NET Pin
P Sernz26-Jul-06 11:09
P Sernz26-Jul-06 11:09 
QuestionSmalltalk’s object-based hierarchy does not work so well".Also c#?? Pin
sawerr26-Jul-06 10:54
sawerr26-Jul-06 10:54 

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.