private void addClient_button_Click(object sender, EventArgs e) { AddClientForm ACF = new AddClientForm(user); ACF.ShowDialog(); this.clientsTableAdapter.Fill(this.monamurDBDataSet.Clients); }
private void add_button_Click(object sender, EventArgs e) { AddClientForm ACF = new AddClientForm(user); Container container = this.MdiParent as Container; container.MakeFormHooks(ACF); ACF.ShowDialog(); this.clientsTableAdapter.Fill(this.monamurDBDataSet.Clients); }