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

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