Click here to Skip to main content
15,891,431 members
Home / Discussions / C#
   

C#

 
AnswerRe: Inheritance Pin
Pete O'Hanlon10-Aug-09 1:39
mvePete O'Hanlon10-Aug-09 1:39 
AnswerRe: Inheritance Pin
kstls10-Aug-09 1:41
kstls10-Aug-09 1:41 
AnswerRe: Inheritance Pin
Muhammad Mazhar10-Aug-09 2:04
Muhammad Mazhar10-Aug-09 2:04 
AnswerRe: Inheritance Pin
PIEBALDconsult10-Aug-09 6:24
mvePIEBALDconsult10-Aug-09 6:24 
Questiongenerate run time form IN MAIN(Mdi form) which can contain few other forms Pin
shaktisinh10-Aug-09 0:55
shaktisinh10-Aug-09 0:55 
AnswerRe: generate run time form IN MAIN(Mdi form) which can contain few other forms Pin
Muhammad Mazhar10-Aug-09 1:16
Muhammad Mazhar10-Aug-09 1:16 
GeneralRe: generate run time form IN MAIN(Mdi form) which can contain few other forms Pin
shaktisinh10-Aug-09 18:33
shaktisinh10-Aug-09 18:33 
GeneralRe: generate run time form IN MAIN(Mdi form) which can contain few other forms Pin
Muhammad Mazhar11-Aug-09 1:52
Muhammad Mazhar11-Aug-09 1:52 
Give a try to following.
1)- create a new Windows Forms application for C#
2)- Right Click on soluton explorer and add new MDIParent form
3)- Update Program.cs files to point to this new MDI parent form
4)- Now edit the code of that MDIParent form and lcoate following mehtod
private void ShowNewForm(object sender, EventArgs e)
        {
            Form childForm = new Form();
            childForm.MdiParent = this;
            childForm.Text = "Window " + childFormNumber++;
            childForm.Show();
        }

and update it as below
private void ShowNewForm(object sender, EventArgs e)
        {
            Form childForm = new Form();
            //childForm.MdiParent = this;
            childForm.IsMdiContainer = true;
            childForm.Text = "Window " + childFormNumber++;
            childForm.Show();
        }


Now when ever you will open a new form it will open a separate MDIForm that can hold its own childs.

Share your experience with others
Check my Blog...

AnswerRe: generate run time form IN MAIN(Mdi form) which can contain few other forms Pin
Dave Kreskowiak10-Aug-09 5:03
mveDave Kreskowiak10-Aug-09 5:03 
GeneralRe: generate run time form IN MAIN(Mdi form) which can contain few other forms Pin
shaktisinh10-Aug-09 18:02
shaktisinh10-Aug-09 18:02 
GeneralRe: generate run time form IN MAIN(Mdi form) which can contain few other forms Pin
Dave Kreskowiak10-Aug-09 18:23
mveDave Kreskowiak10-Aug-09 18:23 
GeneralRe: generate run time form IN MAIN(Mdi form) which can contain few other forms Pin
shaktisinh10-Aug-09 18:44
shaktisinh10-Aug-09 18:44 
GeneralRe: generate run time form IN MAIN(Mdi form) which can contain few other forms Pin
Dave Kreskowiak11-Aug-09 1:32
mveDave Kreskowiak11-Aug-09 1:32 
QuestionSplitting a string Pin
kanchoette10-Aug-09 0:32
kanchoette10-Aug-09 0:32 
AnswerRe: Splitting a string Pin
Moreno Airoldi10-Aug-09 0:43
Moreno Airoldi10-Aug-09 0:43 
AnswerRe: Splitting a string [modified] Pin
Jason Barry10-Aug-09 5:46
professionalJason Barry10-Aug-09 5:46 
QuestionHow to Create a Project run on Windows Startup using C#.Net Pin
vasanth arivali10-Aug-09 0:02
vasanth arivali10-Aug-09 0:02 
AnswerRe: How to Create a Project run on Windows Startup using C#.Net Pin
Laserson10-Aug-09 0:06
Laserson10-Aug-09 0:06 
GeneralRe: How to Create a Project run on Windows Startup using C#.Net Pin
Muhammad Mazhar10-Aug-09 1:27
Muhammad Mazhar10-Aug-09 1:27 
GeneralRe: How to Create a Project run on Windows Startup using C#.Net Pin
senguptaamlan10-Aug-09 23:01
senguptaamlan10-Aug-09 23:01 
GeneralRe: How to Create a Project run on Windows Startup using C#.Net Pin
Muhammad Mazhar11-Aug-09 1:53
Muhammad Mazhar11-Aug-09 1:53 
QuestionHow to make my application into an EXE in .NET Pin
vasanth arivali9-Aug-09 23:56
vasanth arivali9-Aug-09 23:56 
AnswerRe: How to make my application into an EXE in .NET Pin
stancrm9-Aug-09 23:57
stancrm9-Aug-09 23:57 
AnswerRe: How to make my application into an EXE in .NET Pin
Hristo-Bojilov10-Aug-09 0:20
Hristo-Bojilov10-Aug-09 0:20 
AnswerRe: How to make my application into an EXE in .NET Pin
senguptaamlan10-Aug-09 23:02
senguptaamlan10-Aug-09 23:02 

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.