Exemple #1
0
 private void OpenBrowser()
 {
     if (gridMain.SelectedIndices.Length < 1)
     {
         return;
     }
     OpenDental.WebSheets.webforms_sheetdef WebSheetDef = (OpenDental.WebSheets.webforms_sheetdef)gridMain.Rows[gridMain.SelectedIndices[0]].Tag;
     System.Diagnostics.Process.Start(SheetDefBaseURL(WebSheetDef));
 }
Exemple #2
0
 private void menuItemCopyURL_Click(object sender, EventArgs e)
 {
     if (gridMain.SelectedIndices.Length < 1)
     {
         return;
     }
     OpenDental.WebSheets.webforms_sheetdef WebSheetDef = (OpenDental.WebSheets.webforms_sheetdef)gridMain.Rows[gridMain.SelectedIndices[0]].Tag;
     try {
         Clipboard.SetText(SheetDefBaseURL(WebSheetDef));
     }
     catch (Exception ex) {
         MsgBox.Show(this, "Could not copy contents to the clipboard.  Please try again.");
         ex.DoNothing();
     }
 }