
Added method SetRevDate to DisplayHistory class Added ApplDisplayMode property to DisplayHistory class Removed blank line Comment out setting selected tab Managed property ApplDisplayMode on lbChanges visibility changed event handler Added call to Application.DoEvents in WalkProcedure method of DisplayHistory class to refresh screen changed how ContentAuditInfoList and AnnotationAuditInfoList are populated in WalkProcedure method of DisplayHistory class Line Removed, no longer needed Changes how ContentAuditInfoList items are handled Changes how AnnotationAuditInfoList items are handled Utilizes ApplyDisplayMode value when preparing Chronology report Utilizes ApplyDisplayMode value when preparing Summary report Changed order of how code works Preset tabControl1 selected tabindex to 2 Changed parameter value passed to DisplayTabItem method of DisplayTabControl class Assigns myItemInfo variable to passed parameter
339 lines
33 KiB
C#
339 lines
33 KiB
C#
namespace Volian.Controls.Library
|
||
{
|
||
partial class DisplayHistory
|
||
{
|
||
/// <summary>
|
||
/// Required designer variable.
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
/// <summary>
|
||
/// Clean up any resources being used.
|
||
/// </summary>
|
||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null))
|
||
{
|
||
components.Dispose();
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region Component Designer generated code
|
||
|
||
/// <summary>
|
||
/// Required method for Designer support - do not modify
|
||
/// the contents of this method with the code editor.
|
||
/// </summary>
|
||
private void InitializeComponent()
|
||
{
|
||
this.components = new System.ComponentModel.Container();
|
||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DisplayHistory));
|
||
this.btnRefresh = new DevComponents.DotNetBar.ButtonX();
|
||
this.tabControl1 = new DevComponents.DotNetBar.TabControl();
|
||
this.tcpDetail = new DevComponents.DotNetBar.TabControlPanel();
|
||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||
this.tvAudits = new System.Windows.Forms.TreeView();
|
||
this.myRTB = new Volian.Controls.Library.StepRTB(this.components);
|
||
this.panel1 = new System.Windows.Forms.Panel();
|
||
this.myVFG = new Volian.Controls.Library.VlnFlexGrid(this.components);
|
||
this.btnRestore = new DevComponents.DotNetBar.ButtonX();
|
||
this.tabItem2 = new DevComponents.DotNetBar.TabItem(this.components);
|
||
this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel();
|
||
this.lbChanges = new System.Windows.Forms.ListBox();
|
||
this.btnViewSummaryReport = new DevComponents.DotNetBar.ButtonX();
|
||
this.btnViewChronologyReport = new DevComponents.DotNetBar.ButtonX();
|
||
this.tabItem1 = new DevComponents.DotNetBar.TabItem(this.components);
|
||
this.myTimer = new System.Windows.Forms.Timer(this.components);
|
||
((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit();
|
||
this.tabControl1.SuspendLayout();
|
||
this.tcpDetail.SuspendLayout();
|
||
this.splitContainer1.Panel1.SuspendLayout();
|
||
this.splitContainer1.Panel2.SuspendLayout();
|
||
this.splitContainer1.SuspendLayout();
|
||
this.panel1.SuspendLayout();
|
||
((System.ComponentModel.ISupportInitialize)(this.myVFG)).BeginInit();
|
||
this.tabControlPanel1.SuspendLayout();
|
||
this.SuspendLayout();
|
||
//
|
||
// btnRefresh
|
||
//
|
||
this.btnRefresh.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||
this.btnRefresh.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||
this.btnRefresh.Dock = System.Windows.Forms.DockStyle.Top;
|
||
this.btnRefresh.Location = new System.Drawing.Point(0, 0);
|
||
this.btnRefresh.Name = "btnRefresh";
|
||
this.btnRefresh.Size = new System.Drawing.Size(326, 23);
|
||
this.btnRefresh.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||
this.btnRefresh.TabIndex = 0;
|
||
this.btnRefresh.Text = "Refresh";
|
||
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
|
||
//
|
||
// tabControl1
|
||
//
|
||
this.tabControl1.CanReorderTabs = true;
|
||
this.tabControl1.Controls.Add(this.tabControlPanel1);
|
||
this.tabControl1.Controls.Add(this.tcpDetail);
|
||
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.tabControl1.Location = new System.Drawing.Point(0, 23);
|
||
this.tabControl1.Name = "tabControl1";
|
||
this.tabControl1.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold);
|
||
this.tabControl1.SelectedTabIndex = 1;
|
||
this.tabControl1.Size = new System.Drawing.Size(326, 534);
|
||
this.tabControl1.TabIndex = 2;
|
||
this.tabControl1.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
|
||
this.tabControl1.Tabs.Add(this.tabItem1);
|
||
this.tabControl1.Tabs.Add(this.tabItem2);
|
||
this.tabControl1.Text = "tabControl1";
|
||
//
|
||
// tcpDetail
|
||
//
|
||
this.tcpDetail.Controls.Add(this.splitContainer1);
|
||
this.tcpDetail.Controls.Add(this.btnRestore);
|
||
this.tcpDetail.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.tcpDetail.Location = new System.Drawing.Point(0, 26);
|
||
this.tcpDetail.Name = "tcpDetail";
|
||
this.tcpDetail.Padding = new System.Windows.Forms.Padding(1);
|
||
this.tcpDetail.Size = new System.Drawing.Size(326, 508);
|
||
this.tcpDetail.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231)))));
|
||
this.tcpDetail.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
|
||
this.tcpDetail.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||
this.tcpDetail.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156)))));
|
||
this.tcpDetail.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||
this.tcpDetail.Style.GradientAngle = 90;
|
||
this.tcpDetail.TabIndex = 2;
|
||
this.tcpDetail.TabItem = this.tabItem2;
|
||
//
|
||
// splitContainer1
|
||
//
|
||
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.splitContainer1.Location = new System.Drawing.Point(1, 24);
|
||
this.splitContainer1.Name = "splitContainer1";
|
||
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||
//
|
||
// splitContainer1.Panel1
|
||
//
|
||
this.splitContainer1.Panel1.Controls.Add(this.tvAudits);
|
||
//
|
||
// splitContainer1.Panel2
|
||
//
|
||
this.splitContainer1.Panel2.Controls.Add(this.myRTB);
|
||
this.splitContainer1.Panel2.Controls.Add(this.panel1);
|
||
this.splitContainer1.Size = new System.Drawing.Size(324, 483);
|
||
this.splitContainer1.SplitterDistance = 241;
|
||
this.splitContainer1.TabIndex = 6;
|
||
//
|
||
// tvAudits
|
||
//
|
||
this.tvAudits.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.tvAudits.HideSelection = false;
|
||
this.tvAudits.Location = new System.Drawing.Point(0, 0);
|
||
this.tvAudits.Name = "tvAudits";
|
||
this.tvAudits.Size = new System.Drawing.Size(324, 241);
|
||
this.tvAudits.TabIndex = 2;
|
||
this.tvAudits.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvAudits_AfterSelect);
|
||
//
|
||
// myRTB
|
||
//
|
||
this.myRTB.ActiveMode = false;
|
||
this.myRTB.AdjustSize = new System.Drawing.Size(0, 0);
|
||
this.myRTB.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||
this.myRTB.CheckAbove = "|│└┬┼├┌┴┐┤";
|
||
this.myRTB.CheckBelow = "|│";
|
||
this.myRTB.CheckLeft = "-─┤┬├┼┌┐└‑";
|
||
this.myRTB.CheckRight = "-─‑";
|
||
this.myRTB.ContentsRectangle = new System.Drawing.Rectangle(0, 0, 324, 16);
|
||
this.myRTB.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.myRTB.EditMode = true;
|
||
this.myRTB.FieldToEdit = Volian.Controls.Library.E_FieldToEdit.StepText;
|
||
this.myRTB.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||
this.myRTB.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||
this.myRTB.Location = new System.Drawing.Point(0, 0);
|
||
this.myRTB.MyClassName = "RichEdit20W";
|
||
this.myRTB.MyItemInfo = null;
|
||
this.myRTB.MyLinkText = null;
|
||
this.myRTB.Name = "myRTB";
|
||
this.myRTB.OrigDisplayText = null;
|
||
this.myRTB.OrigRTF = null;
|
||
this.myRTB.ProcessKeystrokes = true;
|
||
this.myRTB.RTBRangeStatus = Volian.Controls.Library.StepRTB.RangeStatus.NoContainedLinks;
|
||
this.myRTB.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
|
||
this.myRTB.ShowDebug = false;
|
||
this.myRTB.Size = new System.Drawing.Size(324, 238);
|
||
this.myRTB.TabIndex = 5;
|
||
this.myRTB.Text = "";
|
||
this.myRTB.ThisContextMenuStrip = null;
|
||
this.myRTB.VwMode = VEPROMS.CSLA.Library.E_ViewMode.Edit;
|
||
//
|
||
// panel1
|
||
//
|
||
this.panel1.Controls.Add(this.myVFG);
|
||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||
this.panel1.Name = "panel1";
|
||
this.panel1.Size = new System.Drawing.Size(324, 238);
|
||
this.panel1.TabIndex = 6;
|
||
//
|
||
// myVFG
|
||
//
|
||
this.myVFG.AllowMerging = C1.Win.C1FlexGrid.AllowMergingEnum.Custom;
|
||
this.myVFG.AllowResizing = C1.Win.C1FlexGrid.AllowResizingEnum.Both;
|
||
this.myVFG.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||
| System.Windows.Forms.AnchorStyles.Left)
|
||
| System.Windows.Forms.AnchorStyles.Right)));
|
||
this.myVFG.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||
this.myVFG.ColumnInfo = "3,0,0,0,0,120,Columns:";
|
||
this.myVFG.DPI = 96F;
|
||
this.myVFG.DrawMode = C1.Win.C1FlexGrid.DrawModeEnum.OwnerDraw;
|
||
this.myVFG.FocusRect = C1.Win.C1FlexGrid.FocusRectEnum.Solid;
|
||
this.myVFG.HighLight = C1.Win.C1FlexGrid.HighLightEnum.WithFocus;
|
||
this.myVFG.IsRoTable = false;
|
||
this.myVFG.Location = new System.Drawing.Point(4, 4);
|
||
//this.myVFG.MyBorderDetailString = resources.GetString("myVFG.MyBorderDetailString");
|
||
//this.myVFG.MyBorders = ((Volian.Controls.Library.VlnBorders)(resources.GetObject("myVFG.MyBorders")));
|
||
this.myVFG.Name = "myVFG";
|
||
this.myVFG.RODbId = 0;
|
||
this.myVFG.ROID = null;
|
||
this.myVFG.Rows.Count = 4;
|
||
this.myVFG.Rows.DefaultSize = 20;
|
||
this.myVFG.Rows.Fixed = 0;
|
||
this.myVFG.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
||
this.myVFG.Size = new System.Drawing.Size(320, 234);
|
||
this.myVFG.StyleBackColor = System.Drawing.Color.White;
|
||
//this.myVFG.StyleInfo = resources.GetString("myVFG.StyleInfo");
|
||
this.myVFG.TabIndex = 4;
|
||
//
|
||
// btnRestore
|
||
//
|
||
this.btnRestore.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||
this.btnRestore.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||
this.btnRestore.Dock = System.Windows.Forms.DockStyle.Top;
|
||
this.btnRestore.Location = new System.Drawing.Point(1, 1);
|
||
this.btnRestore.Name = "btnRestore";
|
||
this.btnRestore.Size = new System.Drawing.Size(324, 23);
|
||
this.btnRestore.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||
this.btnRestore.TabIndex = 0;
|
||
this.btnRestore.Text = "Restore";
|
||
this.btnRestore.Click += new System.EventHandler(this.btnRestore_Click);
|
||
//
|
||
// tabItem2
|
||
//
|
||
this.tabItem2.AttachedControl = this.tcpDetail;
|
||
this.tabItem2.Name = "tabItem2";
|
||
this.tabItem2.Text = "Change Details";
|
||
//
|
||
// tabControlPanel1
|
||
//
|
||
this.tabControlPanel1.Controls.Add(this.lbChanges);
|
||
this.tabControlPanel1.Controls.Add(this.btnViewSummaryReport);
|
||
this.tabControlPanel1.Controls.Add(this.btnViewChronologyReport);
|
||
this.tabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.tabControlPanel1.Location = new System.Drawing.Point(0, 26);
|
||
this.tabControlPanel1.Name = "tabControlPanel1";
|
||
this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1);
|
||
this.tabControlPanel1.Size = new System.Drawing.Size(326, 508);
|
||
this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231)))));
|
||
this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
|
||
this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||
this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156)))));
|
||
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.tabItem1;
|
||
//
|
||
// lbChanges
|
||
//
|
||
this.lbChanges.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.lbChanges.FormattingEnabled = true;
|
||
this.lbChanges.Location = new System.Drawing.Point(1, 47);
|
||
this.lbChanges.Name = "lbChanges";
|
||
this.lbChanges.Size = new System.Drawing.Size(324, 459);
|
||
this.lbChanges.TabIndex = 2;
|
||
this.lbChanges.SelectedIndexChanged += new System.EventHandler(this.lbChanges_SelectedIndexChanged);
|
||
this.lbChanges.VisibleChanged += new System.EventHandler(lbChanges_VisibleChanged);
|
||
//
|
||
// btnViewSummaryReport
|
||
//
|
||
this.btnViewSummaryReport.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||
this.btnViewSummaryReport.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||
this.btnViewSummaryReport.Dock = System.Windows.Forms.DockStyle.Top;
|
||
this.btnViewSummaryReport.Location = new System.Drawing.Point(1, 24);
|
||
this.btnViewSummaryReport.Name = "btnViewSummaryReport";
|
||
this.btnViewSummaryReport.Size = new System.Drawing.Size(324, 23);
|
||
this.btnViewSummaryReport.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||
this.btnViewSummaryReport.TabIndex = 1;
|
||
this.btnViewSummaryReport.Text = "View Summary Report";
|
||
this.btnViewSummaryReport.Click += new System.EventHandler(this.btnViewSummaryReport_Click);
|
||
//
|
||
// btnViewChronologyReport
|
||
//
|
||
this.btnViewChronologyReport.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||
this.btnViewChronologyReport.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||
this.btnViewChronologyReport.Dock = System.Windows.Forms.DockStyle.Top;
|
||
this.btnViewChronologyReport.Location = new System.Drawing.Point(1, 1);
|
||
this.btnViewChronologyReport.Name = "btnViewChronologyReport";
|
||
this.btnViewChronologyReport.Size = new System.Drawing.Size(324, 23);
|
||
this.btnViewChronologyReport.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||
this.btnViewChronologyReport.TabIndex = 0;
|
||
this.btnViewChronologyReport.Text = "View Chronology Report";
|
||
this.btnViewChronologyReport.Click += new System.EventHandler(this.btnViewChronologyReport_Click);
|
||
//
|
||
// tabItem1
|
||
//
|
||
this.tabItem1.AttachedControl = this.tabControlPanel1;
|
||
this.tabItem1.Name = "tabItem1";
|
||
this.tabItem1.Text = "Change List";
|
||
//
|
||
// myTimer
|
||
//
|
||
this.myTimer.Interval = 100;
|
||
this.myTimer.Enabled = false;
|
||
this.myTimer.Tick += new System.EventHandler(myTimer_Tick);
|
||
//
|
||
// DisplayHistory
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.Controls.Add(this.tabControl1);
|
||
this.Controls.Add(this.btnRefresh);
|
||
this.Name = "DisplayHistory";
|
||
this.Size = new System.Drawing.Size(326, 557);
|
||
this.Resize += new System.EventHandler(this.DisplayHistory_Resize);
|
||
((System.ComponentModel.ISupportInitialize)(this.tabControl1)).EndInit();
|
||
this.tabControl1.ResumeLayout(false);
|
||
this.tcpDetail.ResumeLayout(false);
|
||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||
this.splitContainer1.ResumeLayout(false);
|
||
this.panel1.ResumeLayout(false);
|
||
((System.ComponentModel.ISupportInitialize)(this.myVFG)).EndInit();
|
||
this.tabControlPanel1.ResumeLayout(false);
|
||
this.ResumeLayout(false);
|
||
|
||
}
|
||
|
||
|
||
#endregion
|
||
|
||
private DevComponents.DotNetBar.ButtonX btnRefresh;
|
||
private DevComponents.DotNetBar.TabControl tabControl1;
|
||
private DevComponents.DotNetBar.TabControlPanel tabControlPanel1;
|
||
private DevComponents.DotNetBar.TabItem tabItem1;
|
||
private DevComponents.DotNetBar.TabControlPanel tcpDetail;
|
||
private DevComponents.DotNetBar.TabItem tabItem2;
|
||
private DevComponents.DotNetBar.ButtonX btnViewChronologyReport;
|
||
private DevComponents.DotNetBar.ButtonX btnViewSummaryReport;
|
||
private DevComponents.DotNetBar.ButtonX btnRestore;
|
||
private System.Windows.Forms.ListBox lbChanges;
|
||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||
private System.Windows.Forms.TreeView tvAudits;
|
||
private StepRTB myRTB;
|
||
private System.Windows.Forms.Panel panel1;
|
||
private VlnFlexGrid myVFG;
|
||
private System.Windows.Forms.Timer myTimer;
|
||
}
|
||
}
|