private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e) { FormLabTurnaroundEdit FormL = new FormLabTurnaroundEdit(); FormL.LabTurnaroundCur = turnaroundList[e.Row]; FormL.ShowDialog(); if (FormL.DialogResult == DialogResult.OK) { FillGrid(); } }
private void butAdd_Click(object sender, EventArgs e) { FormLabTurnaroundEdit FormL = new FormLabTurnaroundEdit(); FormL.LabTurnaroundCur = new LabTurnaround(); FormL.ShowDialog(); if (FormL.DialogResult == DialogResult.OK) { turnaroundList.Add(FormL.LabTurnaroundCur); FillGrid(); } }
private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) { FormLabTurnaroundEdit FormL=new FormLabTurnaroundEdit(); FormL.LabTurnaroundCur=turnaroundList[e.Row]; FormL.ShowDialog(); if(FormL.DialogResult==DialogResult.OK) { FillGrid(); } }
private void butAdd_Click(object sender,EventArgs e) { FormLabTurnaroundEdit FormL=new FormLabTurnaroundEdit(); FormL.LabTurnaroundCur=new LabTurnaround(); FormL.ShowDialog(); if(FormL.DialogResult==DialogResult.OK){ turnaroundList.Add(FormL.LabTurnaroundCur); FillGrid(); } }