Exemplo n.º 1
0
        private void Button_AddAccount_Click(object sender, EventArgs e)
        {
            ChooseAccount chooseAccount = new ChooseAccount(this);

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