示例#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();
        }
示例#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;
 }
示例#3
0
 private void LoginAddForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     Instance = null;
 }