Exemplo n.º 1
0
        private void butAdd_Click(object sender, EventArgs e)
        {
            FormLaboratoryEdit FormL = new FormLaboratoryEdit();

            FormL.LabCur = new Laboratory();
            FormL.IsNew  = true;
            FormL.ShowDialog();
            FillGrid();
        }
Exemplo n.º 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();
            //}
        }
Exemplo n.º 3
0
		private void butAdd_Click(object sender,EventArgs e) {
			FormLaboratoryEdit FormL=new FormLaboratoryEdit();
			FormL.LabCur=new Laboratory();
			FormL.IsNew=true;
			FormL.ShowDialog();
			FillGrid();
		}
Exemplo n.º 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();
			//}
		}