Example #1
0
 public void GetPassword(MainForm mForm)
 {
     label2.Visible = false;
     label3.Visible = false;
     txtNew.Visible = false;
     txtConfirm.Visible = false;
     btnClose.Visible = false;
     btnSave.Visible = false;
     btnSubmit.Visible = true;
     this.AcceptButton = btnSubmit;
     this.Text = "Enter your password";
     this.Height = 110;
     this.ShowDialog(mForm);
 }
Example #2
0
 public void ShowMe(MainForm parent, int addEdit, Account account = null)
 {
     if (addEdit == 0)
     {
         this.Text = "New Account";
     }
     else
     {
         this.Text = "Edit Account";
     }
     this.account = account;
     this.addEdit = addEdit;
     mForm = parent;
     this.ShowDialog(parent);
 }
Example #3
0
 public void ShowMe(MainForm parent)
 {
     mForm = parent;
     this.ShowDialog(parent);
 }
Example #4
0
 public void ShowMe(MainForm parent, Version version)
 {
     this.version = version;
     this.ShowDialog(parent);
 }