Exemple #1
0
        private void butAdd_Click(object sender, EventArgs e)
        {
            FormLaboratoryEdit FormL = new FormLaboratoryEdit();

            FormL.LabCur = new Laboratory();
            FormL.IsNew  = true;
            FormL.ShowDialog();
            FillGrid();
        }
Exemple #2
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormLaboratoryEdit FormL = new FormLaboratoryEdit();

            FormL.LabCur = ListLabs[e.Row];
            FormL.ShowDialog();
            //if(FormL.DialogResult==DialogResult.OK){
            //changed=true;
            FillGrid();
            //}
        }
Exemple #3
0
		private void butAdd_Click(object sender,EventArgs e) {
			FormLaboratoryEdit FormL=new FormLaboratoryEdit();
			FormL.LabCur=new Laboratory();
			FormL.IsNew=true;
			FormL.ShowDialog();
			FillGrid();
		}
Exemple #4
0
		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			FormLaboratoryEdit FormL=new FormLaboratoryEdit();
			FormL.LabCur=ListLabs[e.Row];
			FormL.ShowDialog();
			//if(FormL.DialogResult==DialogResult.OK){
				//changed=true;
			FillGrid();
			//}
		}