Merge pull request 'Development' (#410) from Development into master
Merging all items through B2024-03 from development into master after successful testing.
This commit is contained in:
commit
35de5df04d
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -425,9 +425,9 @@ namespace VEPROMS
|
|||||||
MessageBox.Show(msg, "Import Completed", MessageBoxButtons.OK, MessageBoxIcon.Information); // C2020-042 changed mesage box title
|
MessageBox.Show(msg, "Import Completed", MessageBoxButtons.OK, MessageBoxIcon.Information); // C2020-042 changed mesage box title
|
||||||
//MessageBox.Show(string.Format("Finished Importing:\n\n{0}", txtImport.Text.Substring(txtImport.Text.LastIndexOf("\\") + 1)), "Import", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
//MessageBox.Show(string.Format("Finished Importing:\n\n{0}", txtImport.Text.Substring(txtImport.Text.LastIndexOf("\\") + 1)), "Import", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
}
|
}
|
||||||
if (canceledPressed)
|
if (canceledPressed || !isImported)
|
||||||
{
|
{
|
||||||
MessageBox.Show(string.Format("Canceling the import of:\n\n{0}", txtImport.Text.Substring(txtImport.Text.LastIndexOf("\\") + 1)), "Import", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
MessageBox.Show(string.Format("Cancelling the import of:\n\n{0}", txtImport.Text.Substring(txtImport.Text.LastIndexOf("\\") + 1)), "Cancelling Import", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
btnCloseImport.PerformClick();
|
btnCloseImport.PerformClick();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -906,8 +906,8 @@ namespace VEPROMS
|
|||||||
// C2020-032: Import Procedure set when existing name exists, allow user to import with 'Copy (#) of'.
|
// C2020-032: Import Procedure set when existing name exists, allow user to import with 'Copy (#) of'.
|
||||||
// This is similar functionality to the import of a procedure without the overwrite part.
|
// This is similar functionality to the import of a procedure without the overwrite part.
|
||||||
string msg = string.Format("The procedure set you are importing, {0}, already exists.\n\nDo you want to import {0} as a COPY of the existing set?\n\nThis will prefix the name with \"Copy (#) of\"", name);
|
string msg = string.Format("The procedure set you are importing, {0}, already exists.\n\nDo you want to import {0} as a COPY of the existing set?\n\nThis will prefix the name with \"Copy (#) of\"", name);
|
||||||
DialogResult dr = MessageBox.Show(this, msg, "Create Copy Of Existing Procedure Set", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Stop);
|
DialogResult dr = MessageBox.Show(this, msg, "Create Copy Of Existing Procedure Set", MessageBoxButtons.OKCancel, MessageBoxIcon.Stop);
|
||||||
if (dr == DialogResult.Yes)
|
if (dr == DialogResult.OK)
|
||||||
{
|
{
|
||||||
string number = "";
|
string number = "";
|
||||||
int max = -1;
|
int max = -1;
|
||||||
@ -931,6 +931,11 @@ namespace VEPROMS
|
|||||||
|
|
||||||
ff = AddFolder(Folder.Get(MyFolder.FolderID), xd, name);
|
ff = AddFolder(Folder.Get(MyFolder.FolderID), xd, name);
|
||||||
}
|
}
|
||||||
|
//else if (dr == System.Windows.Forms.DialogResult.Cancel)
|
||||||
|
//{
|
||||||
|
// //canceledPressed = true;
|
||||||
|
// //resolvedProcNum = false;
|
||||||
|
//}
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -277,17 +277,27 @@ namespace Volian.Controls.Library
|
|||||||
|
|
||||||
private void btnRemoveAnnotation_Click(object sender, EventArgs e)
|
private void btnRemoveAnnotation_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
//using (Annotation annotation = CurrentAnnotation.Get())
|
// CSM B2024-068 / B2024-069 - check if current annotation is not selected before removal of annotation
|
||||||
//{
|
if (CurrentAnnotation != null)
|
||||||
// annotation.Delete();
|
{
|
||||||
_AnnotationSearch.LoadingList = true;
|
//using (Annotation annotation = CurrentAnnotation.Get())
|
||||||
Annotation.DeleteAnnotation(CurrentAnnotation);
|
//{
|
||||||
// annotation.Save();
|
// annotation.Delete();
|
||||||
_AnnotationSearch.LoadingList = false;
|
_AnnotationSearch.LoadingList = true;
|
||||||
CurrentAnnotation = null;
|
Annotation.DeleteAnnotation(CurrentAnnotation);
|
||||||
UpdateAnnotationGrid();
|
// annotation.Save();
|
||||||
_AnnotationSearch.UpdateAnnotationSearchResults(); // B2019-004: update search results list when an annotation is removed.
|
_AnnotationSearch.LoadingList = false;
|
||||||
//}
|
CurrentAnnotation = null;
|
||||||
|
UpdateAnnotationGrid();
|
||||||
|
_AnnotationSearch.UpdateAnnotationSearchResults(); // B2019-004: update search results list when an annotation is removed.
|
||||||
|
//}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
FlexibleMessageBox.Show("You Must Select an Annotation To Remove", "Annotation Not Selected", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btnSaveAnnotation_Click(object sender, EventArgs e)
|
private void btnSaveAnnotation_Click(object sender, EventArgs e)
|
||||||
|
@ -503,7 +503,7 @@ namespace Volian.Controls.Library
|
|||||||
this.cbxSortBySetpointID.Size = new System.Drawing.Size(121, 23);
|
this.cbxSortBySetpointID.Size = new System.Drawing.Size(121, 23);
|
||||||
this.cbxSortBySetpointID.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.cbxSortBySetpointID.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
this.cbxSortBySetpointID.TabIndex = 11;
|
this.cbxSortBySetpointID.TabIndex = 11;
|
||||||
this.cbxSortBySetpointID.Text = "Sort By Sepoint ID";
|
this.cbxSortBySetpointID.Text = "Sort By Setpoint ID";
|
||||||
this.cbxSortBySetpointID.Visible = false;
|
this.cbxSortBySetpointID.Visible = false;
|
||||||
//
|
//
|
||||||
// DisplayReports
|
// DisplayReports
|
||||||
|
@ -270,7 +270,7 @@ namespace Volian.Controls.Library
|
|||||||
this.cbxTranCategory.Name = "cbxTranCategory";
|
this.cbxTranCategory.Name = "cbxTranCategory";
|
||||||
this.cbxTranCategory.Size = new System.Drawing.Size(215, 21);
|
this.cbxTranCategory.Size = new System.Drawing.Size(215, 21);
|
||||||
this.cbxTranCategory.TabIndex = 1;
|
this.cbxTranCategory.TabIndex = 1;
|
||||||
this.cbxTranCategory.WatermarkText = "Select Cateogry of Transitions";
|
this.cbxTranCategory.WatermarkText = "Select Category of Transitions";
|
||||||
//
|
//
|
||||||
// lblTranCategory
|
// lblTranCategory
|
||||||
//
|
//
|
||||||
@ -402,7 +402,7 @@ namespace Volian.Controls.Library
|
|||||||
this.cbxTranCategory.Name = "cbxTranCategory";
|
this.cbxTranCategory.Name = "cbxTranCategory";
|
||||||
this.cbxTranCategory.Size = new System.Drawing.Size(215, 21);
|
this.cbxTranCategory.Size = new System.Drawing.Size(215, 21);
|
||||||
this.cbxTranCategory.TabIndex = 1;
|
this.cbxTranCategory.TabIndex = 1;
|
||||||
this.cbxTranCategory.WatermarkText = "Select Cateogry of Transitions";
|
this.cbxTranCategory.WatermarkText = "Select Category of Transitions";
|
||||||
//
|
//
|
||||||
// lblTranCategory
|
// lblTranCategory
|
||||||
//
|
//
|
||||||
|
@ -285,7 +285,7 @@ namespace Volian.Controls.Library
|
|||||||
}
|
}
|
||||||
public EditItem ActiveParent
|
public EditItem ActiveParent
|
||||||
{
|
{
|
||||||
get { return _MyParentEditItem != null ? _MyParentEditItem : _MyPreviousEditItem.ActiveParent; }
|
get { return _MyParentEditItem != null ? _MyParentEditItem : _MyPreviousEditItem?.ActiveParent; }
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Return the Parent EditItem
|
/// Return the Parent EditItem
|
||||||
|
Loading…
x
Reference in New Issue
Block a user