Exemple #1
0
 public static glyszForm Create()
 {
     if (glysz == null)
     {
         glysz = new glyszForm();
     }
     return(glysz);
 }
Exemple #2
0
        //显示管理员设置窗口
        private void 管理员设置ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (!FilterClass.glysz())
            {
                MessageBox.Show("无权操作!");
                return;
            }
            glyszForm glygl = glyszForm.Create();

            glygl.Show();
            glygl.Focus();
        }
Exemple #3
0
 private void glyszForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     glysz = null;
 }