Пример #1
0
 public static hyglform CreateForm()
 {
     if (_danli == null)
     {
         _danli = new hyglform();
     }
     return(_danli);
 }
Пример #2
0
        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            if (!FilterClass.hygl())
            {
                MessageBox.Show("无权操作!");
                return;
            }
            hyglform huiyuan = hyglform.CreateForm();

            huiyuan.MdiParent   = this;
            huiyuan.Parent      = panel3;
            huiyuan.WindowState = FormWindowState.Maximized;
            huiyuan.Show();
        }
Пример #3
0
 private void hyglform_FormClosing(object sender, FormClosingEventArgs e)
 {
     _danli = null;
 }