Esempio n. 1
0
        private void AccAdd_Click(object sender, EventArgs e)
        {
            LoginAddForm LF = LoginAddForm.GetInstance();

            LF.Owner = this;
            LF.Left  = Left + Width;
            LF.Top   = Top;
            LF.ShowDialog();
        }
Esempio n. 2
0
 public LoginAddForm()
 {
     InitializeComponent();
     SetGrayText(LGN, LGN_DEF);
     SetGrayText(PSW, PSW_DEF);
     SetGrayText(PNU, PNU_DEF);
     SetGrayText(DES, DES_DEF);
     ActiveControl = AddButton;
     Instance      = this;
 }
Esempio n. 3
0
 private void LoginAddForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     Instance = null;
 }