示例#1
0
 private void LeaseForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (dealForm != null)
     {
         dealForm.Show();
     }
 }
        private void dealToolStripMenuItem_Click(object sender, EventArgs e)
        {
            closeAllChildForms();
            DealForm dealForm = new DealForm();

            dealForm.MdiParent = this;
            dealForm.Show();
        }
示例#3
0
文件: MainForm.cs 项目: dimasrw/VMES
        private void договорыToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DealForm frmDeal = new DealForm(DealFormType.Base);

            frmDeal.MdiParent   = this;
            frmDeal.WindowState = FormWindowState.Normal;
            frmDeal.WindowState = FormWindowState.Maximized;
            frmDeal.Show();
        }