private void butAdd_Click(object sender,EventArgs e) {
			FormVaccineDefEdit FormV=new FormVaccineDefEdit();
			FormV.VaccineDefCur=new VaccineDef();
			FormV.IsNew=true;
			FormV.ShowDialog();
			FillGrid();
		}
Ejemplo n.º 2
0
        private void butAdd_Click(object sender, EventArgs e)
        {
            FormVaccineDefEdit FormV = new FormVaccineDefEdit();

            FormV.VaccineDefCur = new VaccineDef();
            FormV.IsNew         = true;
            FormV.ShowDialog();
            FillGrid();
        }
		private void listMain_DoubleClick(object sender,EventArgs e) {
			if(listMain.SelectedIndex==-1) {
				return;
			}
			FormVaccineDefEdit FormV=new FormVaccineDefEdit();
			FormV.VaccineDefCur=VaccineDefs.Listt[listMain.SelectedIndex];
			FormV.ShowDialog();
			FillGrid();
		}
Ejemplo n.º 4
0
        private void listMain_DoubleClick(object sender, EventArgs e)
        {
            if (listMain.SelectedIndex == -1)
            {
                return;
            }
            FormVaccineDefEdit FormV = new FormVaccineDefEdit();

            FormV.VaccineDefCur = VaccineDefs.Listt[listMain.SelectedIndex];
            FormV.ShowDialog();
            FillGrid();
        }