private void butAdd_Click(object sender,EventArgs e) {
			FormVaccineDefEdit FormV=new FormVaccineDefEdit();
			FormV.VaccineDefCur=new VaccineDef();
			FormV.IsNew=true;
			FormV.ShowDialog();
			FillGrid();
		}
Пример #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();
		}
Пример #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();
        }