示例#1
0
 public static dxform CreateForm()
 {
     if (_danli == null)
     {
         _danli = new dxform();
     }
     return(_danli);
 }
示例#2
0
        private void toolStripButton7_Click(object sender, EventArgs e)
        {
            if (!FilterClass.dxgl())
            {
                MessageBox.Show("无权操作!");
                return;
            }
            dxform duanxinguanli = dxform.CreateForm();

            duanxinguanli.MdiParent   = this;
            duanxinguanli.Parent      = panel3;
            duanxinguanli.WindowState = FormWindowState.Maximized;
            duanxinguanli.Show();
        }
示例#3
0
 private void dxform_FormClosing(object sender, FormClosingEventArgs e)
 {
     _danli = null;
 }