Esempio n. 1
0
 public static spform CreateForm()
 {
     if (_danli == null)
     {
         _danli = new spform();
     }
     return(_danli);
 }
Esempio n. 2
0
        private void toolStripButton6_Click(object sender, EventArgs e)
        {
            if (!FilterClass.spgl())
            {
                MessageBox.Show("无权操作!");
                return;
            }
            spform shangpinguanli = spform.CreateForm();

            shangpinguanli.MdiParent   = this;
            shangpinguanli.Parent      = panel3;
            shangpinguanli.WindowState = FormWindowState.Maximized;
            shangpinguanli.Show();
        }
Esempio n. 3
0
 private void spform_FormClosing(object sender, FormClosingEventArgs e)
 {
     _danli = null;
 }