Пример #1
0
		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();
		}
Пример #2
0
		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();
		}
Пример #3
0
        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();
        }
Пример #4
0
        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();
        }