private void addBreed_button_Click(object sender, EventArgs e) { BreedsForm BF = new BreedsForm(user); BF.ShowDialog(); this.breedsTableAdapter.FillByAnimalID(this.monamurDBDataSet.Breeds, id); }
private void породыToolStripMenuItem_Click(object sender, EventArgs e) { RestartTimer(); BreedsForm BF = new BreedsForm(user); BF.Owner = this; MakeFormHooks(BF); BF.ShowDialog(); RestartTimer(); }