private void AddAccBtn_Click(object sender, EventArgs e) { AddEditAccountForm form = new AddEditAccountForm(true); form.ShowDialog(); RefreshItem(); }
private void TableLayoutPanel_Click(object sender, System.EventArgs e) { AddEditAccountForm form = new AddEditAccountForm(false); form.Data = data; form.ShowDialog(this); ((AccountPanel)this.Parent.Parent).RefreshItem(); }