当前位置: 首页>>代码示例>>C#>>正文


C# UI.ODGridClickEventArgs类代码示例

本文整理汇总了C#中OpenDental.UI.ODGridClickEventArgs的典型用法代码示例。如果您正苦于以下问题:C# ODGridClickEventArgs类的具体用法?C# ODGridClickEventArgs怎么用?C# ODGridClickEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ODGridClickEventArgs类属于OpenDental.UI命名空间,在下文中一共展示了ODGridClickEventArgs类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: gridMain_CellLeave

		private void gridMain_CellLeave(object sender,ODGridClickEventArgs e) {
			/*
			Table.Rows[e.Row][e.Col]=gridMain.Rows[e.Row].Cells[e.Col].Text;
			Point cellSelected=new Point(gridMain.SelectedCell.X,gridMain.SelectedCell.Y);
			FillGrid();//gridMain.SelectedCell gets cleared.
			gridMain.SetSelected(cellSelected);*/
		}
开发者ID:romeroyonatan,项目名称:opendental,代码行数:7,代码来源:FormWikiListEdit.cs

示例2: gridMain_CellDoubleClick

		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			if(IsSelectionMode) {
				SelectedLoinc=listLoincSearch[e.Row];
				DialogResult=DialogResult.OK;
			}
			//Nothing to do if not selection mode
		}
开发者ID:romeroyonatan,项目名称:opendental,代码行数:7,代码来源:FormLoincs.cs

示例3: gridEdu_CellDoubleClick

 private void gridEdu_CellDoubleClick(object sender,ODGridClickEventArgs e)
 {
     FormEduResourceEdit FormERE = new FormEduResourceEdit();
     FormERE.EduResourceCur=eduResourceList[e.Row];
     FormERE.ShowDialog();
     FillGrid();
 }
开发者ID:nampn,项目名称:ODental,代码行数:7,代码来源:FormEduResourceSetup.cs

示例4: gridMain_CellDoubleClick

		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			EhrProvKey keycur=_listKeys[e.Row];
			keycur.IsNew=false;
			FormEhrProviderKeyEdit formE=new FormEhrProviderKeyEdit(keycur);
			formE.ShowDialog();
			FillGrid();
		}
开发者ID:mnisl,项目名称:OD,代码行数:7,代码来源:FormEhrProviderKeys.cs

示例5: gridMain_CellDoubleClick

 private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e)
 {
     FormCentralConnectionEdit formC = new FormCentralConnectionEdit();
     formC.CentralConnectionCur=ConnList[e.Row];
     formC.ShowDialog();
     FillGrid();
 }
开发者ID:nampn,项目名称:ODental,代码行数:7,代码来源:FormCentralConnectionsSetup.cs

示例6: gridMain_CellLeave

		private void gridMain_CellLeave(object sender,ODGridClickEventArgs e) {
			//Save data from grid into table. No call to DB, so this should be safe.
			for(int i=0;i<gridMain.Rows.Count;i++) {
				TableItem.Rows[0][i+1]=gridMain.Rows[i].Cells[1].Text.Replace("\r\n","\n").Replace("\n","\r\n");//Column 0 of TableItems.Rows[0] is in the title bar, so it is off from the grid by 1.
			}
			//FillGrid();//Causes errors with tabbing between cells. We put the PK in the title bar to fix this (now it doesn't need to be refreshed).
		}
开发者ID:mnisl,项目名称:OD,代码行数:7,代码来源:FormWikiListItemEdit.cs

示例7: gridEdu_CellClick

		private void gridEdu_CellClick(object sender,ODGridClickEventArgs e) {
			if(e.Col!=1) {
				return;
			}
			bool didPrint = false;
			try {
				FormEhrEduBrowser FormEDUB = new FormEhrEduBrowser(eduResourceList[e.Row].ResourceUrl);
				FormEDUB.ShowDialog();
				didPrint = FormEDUB.DidPrint;
				//System.Diagnostics.Process.Start(eduResourceList[e.Row].ResourceUrl);
			}
			catch {
				MessageBox.Show("Link not found.");
				return;
			}
			if(didPrint) {
				EhrMeasureEvent newMeasureEvent = new EhrMeasureEvent();
				newMeasureEvent.DateTEvent=DateTime.Now;
				newMeasureEvent.EventType=EhrMeasureEventType.EducationProvided;
				newMeasureEvent.PatNum=patCur.PatNum;
				newMeasureEvent.MoreInfo=eduResourceList[e.Row].ResourceUrl;
				EhrMeasureEvents.Insert(newMeasureEvent);
				FillGridProvided();
			}
		}
开发者ID:mnisl,项目名称:OD,代码行数:25,代码来源:FormEhrEduResourcesPat.cs

示例8: gridMain_CellDoubleClick

		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			FormEhrMeasureEventEdit FormEMEE=new FormEhrMeasureEventEdit(_listEhrMeasureEvents[e.Row]);
			FormEMEE.ShowDialog();
			if(FormEMEE.DialogResult==DialogResult.OK) {
				FillGrid();
			}
		}
开发者ID:mnisl,项目名称:OD,代码行数:7,代码来源:FormEhrMeasureEvents.cs

示例9: gridMain_CellDoubleClick

		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			InputBox editWord=new InputBox("Edit word");
			DictCustom origWord=DictCustoms.Listt[e.Row];
			editWord.textResult.Text=origWord.WordText;
			if(editWord.ShowDialog()!=DialogResult.OK) {
				return;
			}
			if(editWord.textResult.Text==origWord.WordText) {
				return;
			}
			if(editWord.textResult.Text=="") {
				DictCustoms.Delete(origWord.DictCustomNum);
				DataValid.SetInvalid(InvalidType.DictCustoms);
				FillGrid();
				return;
			}
			string newWord=Regex.Replace(editWord.textResult.Text,"[\\s]|[\\p{P}\\p{S}-['-]]","");//don't allow words with spaces or punctuation except ' and - in them
			for(int i=0;i<DictCustoms.Listt.Count;i++) {//Make sure it's not already in the custom list
				if(DictCustoms.Listt[i].WordText==newWord) {
					MsgBox.Show(this,"The word "+newWord+" is already in the custom word list.");
					editWord.textResult.Text=origWord.WordText;
					return;
				}
			}
			origWord.WordText=newWord;
			DictCustoms.Update(origWord);
			DataValid.SetInvalid(InvalidType.DictCustoms);
			FillGrid();
		}
开发者ID:mnisl,项目名称:OD,代码行数:29,代码来源:FormSpellCheck.cs

示例10: gridMain_CellDoubleClick

		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			FormHL7DefSegmentEdit FormS=new FormHL7DefSegmentEdit();
			FormS.HL7DefSegCur=HL7DefMesCur.hl7DefSegments[e.Row];
			FormS.IsHL7DefInternal=IsHL7DefInternal;
			FormS.ShowDialog();
			FillGrid();
		}
开发者ID:romeroyonatan,项目名称:opendental,代码行数:7,代码来源:FormHL7DefMessageEdit.cs

示例11: gridMain_CellDoubleClick

		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			LabPanel panel=listPanels[e.Row];
			FormEhrLabPanelEdit formPE=new FormEhrLabPanelEdit();
			formPE.PanelCur=panel;
			formPE.ShowDialog();
			FillGrid();
		}
开发者ID:romeroyonatan,项目名称:opendental,代码行数:7,代码来源:FormEhrMedicalOrderLabEdit.cs

示例12: gridMain_CellDoubleClick

		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			if(IsSelectionMode) {
				SelectedCvx=(Cvx)gridMain.Rows[e.Row].Tag;
				DialogResult=DialogResult.OK;
				return;
			}
		}
开发者ID:romeroyonatan,项目名称:opendental,代码行数:7,代码来源:FormCvx.cs

示例13: gridMain_CellDoubleClick

 private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e)
 {
     FormPopupEdit FormPE=new FormPopupEdit();
     FormPE.PopupCur=PopupList[e.Row];
     FormPE.ShowDialog();
     FillGrid();
 }
开发者ID:nampn,项目名称:ODental,代码行数:7,代码来源:FormPopupsForFam.cs

示例14: gridMain_CellDoubleClick

		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			FormSupplierEdit FormS=new FormSupplierEdit();
			FormS.Supp=listSuppliers[e.Row];
			FormS.ShowDialog();
			if(FormS.DialogResult==DialogResult.OK) {
				FillGrid();
			}
		}
开发者ID:romeroyonatan,项目名称:opendental,代码行数:8,代码来源:FormSuppliers.cs

示例15: gridMain_CellDoubleClick

		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			FormEhrQuarterlyKeyEdit formE=new FormEhrQuarterlyKeyEdit();
			EhrQuarterlyKey keycur=listKeys[e.Row];
			keycur.IsNew=false;
			formE.KeyCur=keycur;
			formE.ShowDialog();
			FillGrid();
		}
开发者ID:mnisl,项目名称:OD,代码行数:8,代码来源:FormEhrQuarterlyKeys.cs


注:本文中的OpenDental.UI.ODGridClickEventArgs类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。