Exemple #1
0
        private void Button_AddAccount_Click(object sender, EventArgs e)
        {
            ChooseAccount chooseAccount = new ChooseAccount(this);

            this.Enabled = false;
            chooseAccount.Show();
        }
Exemple #2
0
 public AddAccount(ChooseAccount chooseAccountWindow)
 {
     InitializeComponent();
     this.chooseAccountWindow    = chooseAccountWindow;
     chooseAccountWindow.Enabled = false;
     this.FormClosed            += ClosedHandler;
     Button_AddAccount.Enabled   = false;
 }