示例#1
0
        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();
            }
        }
示例#2
0
        private void accordionControlElement8_Click(object sender, EventArgs e)
        {
            FrmPets form = new FrmPets();

            form.ShowDialog();
        }