Esempio n. 1
0
        private void AddOrUdDeak(DeskInfo dk, int temp)
        {
            this.Hide();
            FrmDeakAddOrModify fdam = FrmDeakAddOrModify.Single(dk, temp);

            fdam.FormClosed += new FormClosedEventHandler(fdam_FormClose);
            fdam.Show();
        }
 public static FrmDeakAddOrModify Single(DeskInfo dk, int temp)
 {
     if (instance == null || instance.IsDisposed)
     {
         instance = new FrmDeakAddOrModify(dk);
         Temp     = temp;
     }
     return(instance);
 }
 public static FrmDeakAddOrModify Single(DeskInfo dk, int temp)
 {
     if (instance == null || instance.IsDisposed)
     {
         instance = new FrmDeakAddOrModify(dk);
         Temp = temp;
     }
     return instance;
 }