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