private void newAccountToolStripMenuItem_Click(object sender, EventArgs e) { AccountsDefinition accounts = new AccountsDefinition(); accounts.Owner = this; accounts.ShowDialog(); }
private void btn_AddAccount_Click(object sender, EventArgs e) { AccountsDefinition acc = new AccountsDefinition(); acc.ShowDialog(); adaptertbAccounts.Update(dbAccountingProjectDS.GLAccounts); GridRefresh(); }
private void btn_Add_Click(object sender, EventArgs e) { AccountsDefinition accountAdd = new AccountsDefinition(); accountAdd.ShowDialog(); GridRefresh(); SearchForGivenAccountNumber(); }
private void btn_Add_Click(object sender, EventArgs e) { try { AccountsDefinition accountAdd = new AccountsDefinition(); accountAdd.ShowDialog(); GridRefresh(); SearchForGivenAccountNumber(); } catch (Exception ex) { MessageBox.Show(ex.Message, "General Ledger"); } }
private void btn_Add_Click(object sender, EventArgs e) { if (btnedit.Visible == false) { DialogResult myrst; myrst = MessageBox.Show("Are You Sure Exit Without Save", "General Ledger", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2); if (myrst == DialogResult.No) { return; } else { dgv.Enabled = false; btnedit.Visible = true; btnSave.Visible = false; } } AccountsDefinition accountAdd = new AccountsDefinition(); accountAdd.ShowDialog(); GridRefresh(); SearchForGivenAccountNumber(); }
private void accountDefinitionToolStripMenuItem_Click_1(object sender, EventArgs e) { AccountsDefinition accountsdefinition = new AccountsDefinition(); accountsdefinition.ShowDialog(); }
private void btnAccountsDefinitions_Click(object sender, EventArgs e) { AccountsDefinition accountsdefinition = new AccountsDefinition(); accountsdefinition.ShowDialog(); }