/// <summary> /// Private helper method to fill out the Isolation scheme dialog with a simple isolation scheme /// </summary> /// <param name="editDlg">The edit dialog to be filled out</param> /// <param name="name">The name of the isolation scheme</param> private static void FillInIsolationSchemeDialogPreSelected(EditIsolationSchemeDlg editDlg, string name) { RunUI(() => { AssertDefault(editDlg); editDlg.IsolationSchemeName = name; editDlg.UseResults = false; editDlg.IsolationWindowGrid.SelectCell(EditIsolationSchemeDlg.COLUMN_START, 0); editDlg.IsolationWindowGrid.SetCellValue(100); editDlg.IsolationWindowGrid.SelectCell(EditIsolationSchemeDlg.COLUMN_END, 0); editDlg.IsolationWindowGrid.SetCellValue(250); editDlg.IsolationWindowGrid.SelectCell(EditIsolationSchemeDlg.COLUMN_START, 1); editDlg.IsolationWindowGrid.SetCellValue(250); editDlg.IsolationWindowGrid.SelectCell(EditIsolationSchemeDlg.COLUMN_END, 1); editDlg.IsolationWindowGrid.SetCellValue(500); editDlg.OkDialog(); }); }