private void addClient_button_Click(object sender, EventArgs e) { AddPetForm APF = new AddPetForm(user); APF.ShowDialog(); search_textBox.Clear(); this.v_petsTableAdapter.FillByAlive(this.monamurDBDataSet.V_pets); }
private void add_button_Click(object sender, EventArgs e) { AddPetForm APF = new AddPetForm(user); Container container = this.MdiParent as Container; container.MakeFormHooks(APF); APF.ShowDialog(); this.v_petsTableAdapter.Fill(this.monamurDBDataSet.V_pets); }