private void accountAdd_Click(object sender, EventArgs e) { Account.Account formAcc = new Account.Account(); formAcc.name = null; if (formAcc.ShowDialog() == DialogResult.OK) { if (ReloadAccount) { Account_Reload(); } } }
private void accountEdit_Click(object sender, EventArgs e) { if (comboAccount.SelectedItem != null) { Account.Account formAcc = new Account.Account(); formAcc.name = comboAccount.Text; if (formAcc.ShowDialog() == DialogResult.OK) { if (ReloadAccount) { Account_Reload(); } } } }
private void accountEdit_Click(object sender, EventArgs e) { if (comboAccount.SelectedItem != null) { Account.Account formAcc = new Account.Account(); formAcc.name = comboAccount.Text; if (formAcc.ShowDialog() == DialogResult.OK) if (ReloadAccount) Account_Reload(); } }
private void accountAdd_Click(object sender, EventArgs e) { Account.Account formAcc = new Account.Account(); formAcc.name = null; if (formAcc.ShowDialog() == DialogResult.OK) if (ReloadAccount) Account_Reload(); }