示例#1
0
        private void button2_Click(object sender, EventArgs e)
        {
            qtForm qt = qtForm.Create();

            qt.Show();
            qt.Focus();
        }
示例#2
0
文件: qtForm.cs 项目: wryip/diyiban
 public static qtForm Create()
 {
     if (qt == null)
     {
         qt = new qtForm();
     }
     return(qt);
 }
示例#3
0
        private void 其他ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (!FilterClass.qtfw())
            {
                MessageBox.Show("无权操作!");
                return;
            }
            qtForm qt = qtForm.Create();

            qt.Show();
            qt.Focus();
        }
示例#4
0
文件: qtForm.cs 项目: wryip/diyiban
 private void qtForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     qt = null;
 }