예제 #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();
        }
예제 #2
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            CreateEditAccount CreateAccountForm = new CreateEditAccount(0);

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