예제 #1
0
파일: FrmMain.cs 프로젝트: spetpet/LLGL2012
 private void 冰排操作ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (!PowerCheckCsClass.IfHasPower(LoginClass.LogID, CommFunction.GSYSNAME, sender, CommFunction.ConnectString))
     {
         return;
     }
     FrmIceOperate.ShowUniqueForm(true);
 }
예제 #2
0
 private void FrmIceOperate_FormClosed(object sender, FormClosedEventArgs e)
 {
     pUniqueForm = null;//窗体唯一打开代码
 }
예제 #3
0
        private static FrmIceOperate pUniqueForm = null; //窗体唯一打开代码

        #endregion Fields

        #region Constructors

        public FrmIceOperate()
        {
            pUniqueForm = this;//窗体唯一打开代码
            InitializeComponent();
        }
예제 #4
0
 private void FrmIceOperate_FormClosed(object sender, FormClosedEventArgs e)
 {
     pUniqueForm = null;//窗体唯一打开代码
 }
예제 #5
0
 public FrmIceOperate()
 {
     pUniqueForm = this;//窗体唯一打开代码
     InitializeComponent();
 }