private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) { FormEhrTriggerEdit FormETE=new FormEhrTriggerEdit(); FormETE.EhrTriggerCur=ListEhrTriggers[e.Row]; FormETE.ShowDialog(); if(FormETE.DialogResult!=DialogResult.OK) { return; } ListEhrTriggers=EhrTriggers.GetAll(); FillGrid(); }
private void butAddTrigger_Click(object sender,EventArgs e) { FormEhrTriggerEdit FormETE=new FormEhrTriggerEdit(); FormETE.EhrTriggerCur=new EhrTrigger(); FormETE.IsNew=true; FormETE.ShowDialog(); if(FormETE.DialogResult!=DialogResult.OK) { return; } ListEhrTriggers=EhrTriggers.GetAll(); FillGrid(); }
private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e) { FormEhrTriggerEdit FormETE = new FormEhrTriggerEdit(); FormETE.EhrTriggerCur = ListEhrTriggers[e.Row]; FormETE.ShowDialog(); if (FormETE.DialogResult != DialogResult.OK) { return; } ListEhrTriggers = EhrTriggers.GetAll(); FillGrid(); }
private void butAddTrigger_Click(object sender, EventArgs e) { FormEhrTriggerEdit FormETE = new FormEhrTriggerEdit(); FormETE.EhrTriggerCur = new EhrTrigger(); FormETE.IsNew = true; FormETE.ShowDialog(); if (FormETE.DialogResult != DialogResult.OK) { return; } ListEhrTriggers = EhrTriggers.GetAll(); FillGrid(); }