Esempio n. 1
0
 public MainForm(string filename)
 {
     InitializeComponent();
     DocumentForm childForm = new DocumentForm(filename);
     childForm.MdiParent = this;
     childForm.WindowState = FormWindowState.Maximized;
     childForm.Show();
 }
Esempio n. 2
0
        private void ShowNewForm(object sender, EventArgs e)
        {
            DocumentForm childForm = new DocumentForm();

            childForm.MdiParent   = this;
            childForm.WindowState = FormWindowState.Maximized;
            childForm.Text        = "Window " + childFormNumber++;
            childForm.Show();
        }
Esempio n. 3
0
        public MainForm(string filename)
        {
            InitializeComponent();
            DocumentForm childForm = new DocumentForm(filename);

            childForm.MdiParent   = this;
            childForm.WindowState = FormWindowState.Maximized;
            childForm.Show();
        }
Esempio n. 4
0
 private void ShowNewForm(object sender, EventArgs e)
 {
     DocumentForm childForm = new DocumentForm();
     childForm.MdiParent = this;
     childForm.WindowState = FormWindowState.Maximized;
     childForm.Text = "Window " + childFormNumber++;
     childForm.Show();
 }