Exemplo n.º 1
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            CreateEditAccount EditAccountForm = new CreateEditAccount(1, grdAccounts.Rows[grdAccounts.CurrentCell.RowIndex].Cells[0].Value.ToString());

            EditAccountForm.ShowDialog();
            this.Update();
            this.Refresh();
            accountsGridLoad();
        }
Exemplo n.º 2
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            CreateEditAccount CreateAccountForm = new CreateEditAccount(0);

            CreateAccountForm.ShowDialog();
            this.Update();
            this.Refresh();
            accountsGridLoad();
        }