Added checkbox to sort Complete or Summary RO report on setpoint id and logic to sort by setpoint ID

Added status message for report generation.  Added logic to handle underline on/off (using the _ character).
This commit is contained in:
2015-04-17 16:54:21 +00:00
parent f9992cd299
commit f50e7d11b4
3 changed files with 464 additions and 115 deletions

View File

@@ -30,6 +30,11 @@ namespace Volian.Controls.Library
{
this.components = new System.ComponentModel.Container();
this.tctrlReports = new DevComponents.DotNetBar.TabControl();
this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.cbxTransToProcs = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.cbxTransFromProcs = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.tabTransitionReports = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel();
this.panRORpts = new DevComponents.DotNetBar.PanelEx();
this.cbxIncldMissingROs = new DevComponents.DotNetBar.Controls.CheckBoxX();
@@ -41,11 +46,6 @@ namespace Volian.Controls.Library
this.cbiRO = new DevComponents.Editors.ComboItem();
this.cbiProc = new DevComponents.Editors.ComboItem();
this.tabROReports = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.cbxTransToProcs = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.cbxTransFromProcs = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.tabTransitionReports = new DevComponents.DotNetBar.TabItem(this.components);
this.advTreeRO = new DevComponents.AdvTree.AdvTree();
this.elementStyle2 = new DevComponents.DotNetBar.ElementStyle();
this.node2 = new DevComponents.AdvTree.Node();
@@ -58,12 +58,13 @@ namespace Volian.Controls.Library
this.btnPrintReport = new DevComponents.DotNetBar.ButtonX();
this.xpSelROs = new DevComponents.DotNetBar.ExpandablePanel();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.cbxSortBySetpointID = new DevComponents.DotNetBar.Controls.CheckBoxX();
((System.ComponentModel.ISupportInitialize)(this.tctrlReports)).BeginInit();
this.tctrlReports.SuspendLayout();
this.tabControlPanel2.SuspendLayout();
this.panRORpts.SuspendLayout();
this.tabControlPanel1.SuspendLayout();
this.panelEx1.SuspendLayout();
this.tabControlPanel2.SuspendLayout();
this.panRORpts.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.advTreeRO)).BeginInit();
this.xpSetToReport.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.advTreeProcSets)).BeginInit();
@@ -75,8 +76,8 @@ namespace Volian.Controls.Library
this.tctrlReports.CanReorderTabs = false;
this.tctrlReports.CloseButtonOnTabsAlwaysDisplayed = false;
this.tctrlReports.CloseButtonPosition = DevComponents.DotNetBar.eTabCloseButtonPosition.Right;
this.tctrlReports.Controls.Add(this.tabControlPanel1);
this.tctrlReports.Controls.Add(this.tabControlPanel2);
this.tctrlReports.Controls.Add(this.tabControlPanel1);
this.tctrlReports.Dock = System.Windows.Forms.DockStyle.Top;
this.tctrlReports.Location = new System.Drawing.Point(0, 0);
this.tctrlReports.Margin = new System.Windows.Forms.Padding(2);
@@ -94,6 +95,88 @@ namespace Volian.Controls.Library
this.tctrlReports.Text = "tabControl1";
this.tctrlReports.ThemeAware = true;
//
// tabControlPanel1
//
this.tabControlPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Windows7;
this.tabControlPanel1.Controls.Add(this.panelEx1);
this.tabControlPanel1.Location = new System.Drawing.Point(0, 22);
this.tabControlPanel1.Name = "tabControlPanel1";
this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel1.Size = new System.Drawing.Size(261, 82);
this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel1.Style.GradientAngle = 90;
this.tabControlPanel1.TabIndex = 1;
this.tabControlPanel1.TabItem = this.tabTransitionReports;
//
// panelEx1
//
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.panelEx1.Controls.Add(this.cbxTransToProcs);
this.panelEx1.Controls.Add(this.cbxTransFromProcs);
this.panelEx1.Dock = System.Windows.Forms.DockStyle.Top;
this.panelEx1.Location = new System.Drawing.Point(1, 1);
this.panelEx1.Name = "panelEx1";
this.panelEx1.Size = new System.Drawing.Size(259, 81);
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.panelEx1.Style.GradientAngle = 90;
this.panelEx1.TabIndex = 2;
this.panelEx1.ThemeAware = true;
//
// cbxTransToProcs
//
this.cbxTransToProcs.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.cbxTransToProcs.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbxTransToProcs.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
this.cbxTransToProcs.Checked = true;
this.cbxTransToProcs.CheckState = System.Windows.Forms.CheckState.Checked;
this.cbxTransToProcs.CheckValue = "Y";
this.cbxTransToProcs.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxTransToProcs.Location = new System.Drawing.Point(3, 3);
this.cbxTransToProcs.Name = "cbxTransToProcs";
this.cbxTransToProcs.Size = new System.Drawing.Size(257, 23);
this.cbxTransToProcs.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.cbxTransToProcs.TabIndex = 0;
this.cbxTransToProcs.Text = "Transitions To Selected Procedure(s)";
this.cbxTransToProcs.CheckedChanged += new System.EventHandler(this.cbxTransToProcs_CheckedChanged);
//
// cbxTransFromProcs
//
this.cbxTransFromProcs.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.cbxTransFromProcs.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbxTransFromProcs.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
this.cbxTransFromProcs.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxTransFromProcs.Location = new System.Drawing.Point(2, 32);
this.cbxTransFromProcs.Name = "cbxTransFromProcs";
this.cbxTransFromProcs.Size = new System.Drawing.Size(257, 23);
this.cbxTransFromProcs.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.cbxTransFromProcs.TabIndex = 1;
this.cbxTransFromProcs.Text = "Transitions From Selected Procedure(s)";
this.cbxTransFromProcs.CheckedChanged += new System.EventHandler(this.cbxTransFromProcs_CheckedChanged);
//
// tabTransitionReports
//
this.tabTransitionReports.AttachedControl = this.tabControlPanel1;
this.tabTransitionReports.Name = "tabTransitionReports";
this.tabTransitionReports.Text = "Transitions";
this.tabTransitionReports.Click += new System.EventHandler(this.tabTransitionReports_Click);
//
// tabControlPanel2
//
this.tabControlPanel2.Controls.Add(this.panRORpts);
@@ -116,6 +199,7 @@ namespace Volian.Controls.Library
//
this.panRORpts.CanvasColor = System.Drawing.SystemColors.Control;
this.panRORpts.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.panRORpts.Controls.Add(this.cbxSortBySetpointID);
this.panRORpts.Controls.Add(this.cbxIncldMissingROs);
this.panRORpts.Controls.Add(this.cbxSummary);
this.panRORpts.Controls.Add(this.cbxROUsage);
@@ -142,7 +226,7 @@ namespace Volian.Controls.Library
//
//
this.cbxIncldMissingROs.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbxIncldMissingROs.Location = new System.Drawing.Point(7, 61);
this.cbxIncldMissingROs.Location = new System.Drawing.Point(3, 68);
this.cbxIncldMissingROs.Name = "cbxIncldMissingROs";
this.cbxIncldMissingROs.Size = new System.Drawing.Size(241, 23);
this.cbxIncldMissingROs.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -243,88 +327,6 @@ namespace Volian.Controls.Library
this.tabROReports.Text = "Referenced Objects";
this.tabROReports.Click += new System.EventHandler(this.tabROReports_Click);
//
// tabControlPanel1
//
this.tabControlPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Windows7;
this.tabControlPanel1.Controls.Add(this.panelEx1);
this.tabControlPanel1.Location = new System.Drawing.Point(0, 22);
this.tabControlPanel1.Name = "tabControlPanel1";
this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel1.Size = new System.Drawing.Size(261, 82);
this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel1.Style.GradientAngle = 90;
this.tabControlPanel1.TabIndex = 1;
this.tabControlPanel1.TabItem = this.tabTransitionReports;
//
// panelEx1
//
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.panelEx1.Controls.Add(this.cbxTransToProcs);
this.panelEx1.Controls.Add(this.cbxTransFromProcs);
this.panelEx1.Dock = System.Windows.Forms.DockStyle.Top;
this.panelEx1.Location = new System.Drawing.Point(1, 1);
this.panelEx1.Name = "panelEx1";
this.panelEx1.Size = new System.Drawing.Size(259, 81);
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.panelEx1.Style.GradientAngle = 90;
this.panelEx1.TabIndex = 2;
this.panelEx1.ThemeAware = true;
//
// cbxTransToProcs
//
this.cbxTransToProcs.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.cbxTransToProcs.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbxTransToProcs.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
this.cbxTransToProcs.Checked = true;
this.cbxTransToProcs.CheckState = System.Windows.Forms.CheckState.Checked;
this.cbxTransToProcs.CheckValue = "Y";
this.cbxTransToProcs.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxTransToProcs.Location = new System.Drawing.Point(3, 3);
this.cbxTransToProcs.Name = "cbxTransToProcs";
this.cbxTransToProcs.Size = new System.Drawing.Size(257, 23);
this.cbxTransToProcs.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.cbxTransToProcs.TabIndex = 0;
this.cbxTransToProcs.Text = "Transitions To Selected Procedure(s)";
this.cbxTransToProcs.CheckedChanged += new System.EventHandler(this.cbxTransToProcs_CheckedChanged);
//
// cbxTransFromProcs
//
this.cbxTransFromProcs.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.cbxTransFromProcs.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbxTransFromProcs.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
this.cbxTransFromProcs.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxTransFromProcs.Location = new System.Drawing.Point(2, 32);
this.cbxTransFromProcs.Name = "cbxTransFromProcs";
this.cbxTransFromProcs.Size = new System.Drawing.Size(257, 23);
this.cbxTransFromProcs.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.cbxTransFromProcs.TabIndex = 1;
this.cbxTransFromProcs.Text = "Transitions From Selected Procedure(s)";
this.cbxTransFromProcs.CheckedChanged += new System.EventHandler(this.cbxTransFromProcs_CheckedChanged);
//
// tabTransitionReports
//
this.tabTransitionReports.AttachedControl = this.tabControlPanel1;
this.tabTransitionReports.Name = "tabTransitionReports";
this.tabTransitionReports.Text = "Transitions";
this.tabTransitionReports.Click += new System.EventHandler(this.tabTransitionReports_Click);
//
// advTreeRO
//
this.advTreeRO.AccessibleRole = System.Windows.Forms.AccessibleRole.Outline;
@@ -490,6 +492,20 @@ namespace Volian.Controls.Library
this.xpSelROs.TitleStyle.GradientAngle = 90;
this.xpSelROs.TitleText = "Select Referenced Objects";
//
// cbxSortBySetpointID
//
//
//
//
this.cbxSortBySetpointID.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbxSortBySetpointID.Location = new System.Drawing.Point(3, 39);
this.cbxSortBySetpointID.Name = "cbxSortBySetpointID";
this.cbxSortBySetpointID.Size = new System.Drawing.Size(121, 23);
this.cbxSortBySetpointID.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.cbxSortBySetpointID.TabIndex = 11;
this.cbxSortBySetpointID.Text = "Sort By Sepoint ID";
this.cbxSortBySetpointID.Visible = false;
//
// DisplayReports
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -504,10 +520,10 @@ namespace Volian.Controls.Library
this.Size = new System.Drawing.Size(261, 676);
((System.ComponentModel.ISupportInitialize)(this.tctrlReports)).EndInit();
this.tctrlReports.ResumeLayout(false);
this.tabControlPanel2.ResumeLayout(false);
this.panRORpts.ResumeLayout(false);
this.tabControlPanel1.ResumeLayout(false);
this.panelEx1.ResumeLayout(false);
this.tabControlPanel2.ResumeLayout(false);
this.panRORpts.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.advTreeRO)).EndInit();
this.xpSetToReport.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.advTreeProcSets)).EndInit();
@@ -547,5 +563,6 @@ namespace Volian.Controls.Library
private DevComponents.DotNetBar.PanelEx panelEx1;
private DevComponents.DotNetBar.Controls.CheckBoxX cbxIncldMissingROs;
private System.Windows.Forms.ToolTip toolTip1;
private DevComponents.DotNetBar.Controls.CheckBoxX cbxSortBySetpointID;
}
}