Пример #1
0
        private void gridMain_CellDoubleClick(object sender, OpenDental.UI.ODGridClickEventArgs e)
        {
            FormAutomationEdit FormA = new FormAutomationEdit(_listAutomations[e.Row]);

            FormA.ShowDialog();
            FillGrid();
            changed = true;
        }
Пример #2
0
        private void butAdd_Click(object sender, System.EventArgs e)
        {
            Automation auto = new Automation();

            Automations.Insert(auto);            //so that we can attach conditions
            FormAutomationEdit FormA = new FormAutomationEdit(auto);

            FormA.IsNew = true;
            FormA.ShowDialog();
            if (FormA.DialogResult != DialogResult.OK)
            {
                return;
            }
            FillGrid();
            changed = true;
        }
Пример #3
0
		private void butAdd_Click(object sender, System.EventArgs e) {
			Automation auto=new Automation();
			Automations.Insert(auto);//so that we can attach conditions
			FormAutomationEdit FormA=new FormAutomationEdit(auto);
			FormA.IsNew=true;
			FormA.ShowDialog();
			if(FormA.DialogResult!=DialogResult.OK){
				return;
			}
			FillGrid();
			changed=true;
		}
Пример #4
0
		private void gridMain_CellDoubleClick(object sender, OpenDental.UI.ODGridClickEventArgs e) {
			FormAutomationEdit FormA=new FormAutomationEdit(Automations.Listt[e.Row]);
			FormA.ShowDialog();
			FillGrid();
			changed=true;
		}