private void btnAddPet_Click(object sender, EventArgs e) { FrmPets objFrmPets = new FrmPets("M"); objFrmPets.DonoTemp = SqliteSequence.LastID("CLIENTE") + 1; if (objFrmPets.ShowDialog() == DialogResult.OK) { pets.Add(objFrmPets.NewPet); gridViewPet.RefreshData(); } }
private void accordionControlElement8_Click(object sender, EventArgs e) { FrmPets form = new FrmPets(); form.ShowDialog(); }