Ejemplo 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();
        }
Ejemplo 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;
 }
Ejemplo n.º 3
0
 private void LoginAddForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     Instance = null;
 }