Meditech NPR Reports / NPR Report Writing / NPR Report Writer / Meditech NPR / Non-Procedural Report / Meditech Consulting / Meditech Reports .NET 2.0: C# MDI Child Form from Menu

Saturday, December 02, 2006

C# MDI Child Form from Menu

;private void iViewerToolStripMenuItem_Click(object sender, EventArgs e)
;{
; // Make a new child window.
; frmViewer newViewer = new frmViewer();
;
; // Set the parent for the child to this frmMain.
; newViewer.MdiParent = this;
;
; // Display the new form.
; newViewer.Show();
;}

0 Comments:

Post a Comment

<< Home

Meditech NPR Reports / NPR Report Writing / NPR Report Writer / Meditech NPR / Non-Procedural Report / Meditech Consulting / Meditech Reports