From 3ad7bd111ad5980a2e546ccb446be5f0083d0876 Mon Sep 17 00:00:00 2001 From: Rodrigo Fraga Date: Tue, 16 Apr 2024 12:37:03 -0400 Subject: [PATCH] Add release Name column --- 2LCS/Forms/UpcomingUpdates.Designer.cs | 276 ++++++++++++------------- 2LCS/Forms/UpcomingUpdates.resx | 53 ++--- 2 files changed, 162 insertions(+), 167 deletions(-) diff --git a/2LCS/Forms/UpcomingUpdates.Designer.cs b/2LCS/Forms/UpcomingUpdates.Designer.cs index 63c0773..033c08a 100644 --- a/2LCS/Forms/UpcomingUpdates.Designer.cs +++ b/2LCS/Forms/UpcomingUpdates.Designer.cs @@ -28,196 +28,187 @@ /// private void InitializeComponent() { - this.upcomingUpdatesDataGridView = new System.Windows.Forms.DataGridView(); - this.Status = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.UtcStartDateTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Month = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Date = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Time = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.DownTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.EnvironmentName = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.EventName = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.StatusEnum = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.EventNameEnum = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.CalendarId = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.EnvironmentId = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.IsModified = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.WorkflowInstanceId = new System.Windows.Forms.DataGridViewTextBoxColumn(); - ((System.ComponentModel.ISupportInitialize)(this.upcomingUpdatesDataGridView)).BeginInit(); - this.SuspendLayout(); + upcomingUpdatesDataGridView = new System.Windows.Forms.DataGridView(); + Status = new System.Windows.Forms.DataGridViewTextBoxColumn(); + UtcStartDateTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); + Month = new System.Windows.Forms.DataGridViewTextBoxColumn(); + Date = new System.Windows.Forms.DataGridViewTextBoxColumn(); + Time = new System.Windows.Forms.DataGridViewTextBoxColumn(); + DownTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); + EnvironmentName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + EventName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + StatusEnum = new System.Windows.Forms.DataGridViewTextBoxColumn(); + EventNameEnum = new System.Windows.Forms.DataGridViewTextBoxColumn(); + CalendarId = new System.Windows.Forms.DataGridViewTextBoxColumn(); + EnvironmentId = new System.Windows.Forms.DataGridViewTextBoxColumn(); + IsModified = new System.Windows.Forms.DataGridViewTextBoxColumn(); + WorkflowInstanceId = new System.Windows.Forms.DataGridViewTextBoxColumn(); + ReleaseName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + ((System.ComponentModel.ISupportInitialize)upcomingUpdatesDataGridView).BeginInit(); + SuspendLayout(); // // upcomingUpdatesDataGridView // - this.upcomingUpdatesDataGridView.AllowUserToAddRows = false; - this.upcomingUpdatesDataGridView.AllowUserToDeleteRows = false; - this.upcomingUpdatesDataGridView.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.upcomingUpdatesDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; - this.upcomingUpdatesDataGridView.BackgroundColor = System.Drawing.SystemColors.Window; - this.upcomingUpdatesDataGridView.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.EnableWithoutHeaderText; - this.upcomingUpdatesDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.upcomingUpdatesDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.Status, - this.UtcStartDateTime, - this.Month, - this.Date, - this.Time, - this.DownTime, - this.EnvironmentName, - this.EventName, - this.StatusEnum, - this.EventNameEnum, - this.CalendarId, - this.EnvironmentId, - this.IsModified, - this.WorkflowInstanceId}); - this.upcomingUpdatesDataGridView.Location = new System.Drawing.Point(15, 16); - this.upcomingUpdatesDataGridView.Margin = new System.Windows.Forms.Padding(4); - this.upcomingUpdatesDataGridView.Name = "upcomingUpdatesDataGridView"; - this.upcomingUpdatesDataGridView.ReadOnly = true; - this.upcomingUpdatesDataGridView.RowHeadersWidth = 30; - this.upcomingUpdatesDataGridView.RowTemplate.Height = 28; - this.upcomingUpdatesDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; - this.upcomingUpdatesDataGridView.Size = new System.Drawing.Size(1459, 456); - this.upcomingUpdatesDataGridView.TabIndex = 0; - this.upcomingUpdatesDataGridView.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.UpcomingUpdatesDataGridView_ColumnHeaderMouseClick); + upcomingUpdatesDataGridView.AllowUserToAddRows = false; + upcomingUpdatesDataGridView.AllowUserToDeleteRows = false; + upcomingUpdatesDataGridView.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right; + upcomingUpdatesDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; + upcomingUpdatesDataGridView.BackgroundColor = System.Drawing.SystemColors.Window; + upcomingUpdatesDataGridView.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.EnableWithoutHeaderText; + upcomingUpdatesDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + upcomingUpdatesDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { Status, UtcStartDateTime, Month, Date, Time, DownTime, EnvironmentName, EventName, StatusEnum, EventNameEnum, CalendarId, EnvironmentId, IsModified, WorkflowInstanceId, ReleaseName }); + upcomingUpdatesDataGridView.Location = new System.Drawing.Point(10, 10); + upcomingUpdatesDataGridView.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + upcomingUpdatesDataGridView.Name = "upcomingUpdatesDataGridView"; + upcomingUpdatesDataGridView.ReadOnly = true; + upcomingUpdatesDataGridView.RowHeadersWidth = 30; + upcomingUpdatesDataGridView.RowTemplate.Height = 28; + upcomingUpdatesDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; + upcomingUpdatesDataGridView.Size = new System.Drawing.Size(928, 285); + upcomingUpdatesDataGridView.TabIndex = 0; + upcomingUpdatesDataGridView.ColumnHeaderMouseClick += UpcomingUpdatesDataGridView_ColumnHeaderMouseClick; // // Status // - this.Status.DataPropertyName = "Status"; - this.Status.HeaderText = "Status"; - this.Status.MinimumWidth = 9; - this.Status.Name = "Status"; - this.Status.ReadOnly = true; + Status.DataPropertyName = "Status"; + Status.HeaderText = "Status"; + Status.MinimumWidth = 9; + Status.Name = "Status"; + Status.ReadOnly = true; // // UtcStartDateTime // - this.UtcStartDateTime.DataPropertyName = "UtcStartDateTime"; - this.UtcStartDateTime.HeaderText = "UTC Start DateTime"; - this.UtcStartDateTime.MinimumWidth = 9; - this.UtcStartDateTime.Name = "UtcStartDateTime"; - this.UtcStartDateTime.ReadOnly = true; + UtcStartDateTime.DataPropertyName = "UtcStartDateTime"; + UtcStartDateTime.HeaderText = "UTC Start DateTime"; + UtcStartDateTime.MinimumWidth = 9; + UtcStartDateTime.Name = "UtcStartDateTime"; + UtcStartDateTime.ReadOnly = true; // // Month // - this.Month.DataPropertyName = "Month"; - this.Month.HeaderText = "Month"; - this.Month.MinimumWidth = 9; - this.Month.Name = "Month"; - this.Month.ReadOnly = true; + Month.DataPropertyName = "Month"; + Month.HeaderText = "Month"; + Month.MinimumWidth = 9; + Month.Name = "Month"; + Month.ReadOnly = true; // // Date // - this.Date.DataPropertyName = "Date"; - this.Date.HeaderText = "Date"; - this.Date.MinimumWidth = 9; - this.Date.Name = "Date"; - this.Date.ReadOnly = true; + Date.DataPropertyName = "Date"; + Date.HeaderText = "Date"; + Date.MinimumWidth = 9; + Date.Name = "Date"; + Date.ReadOnly = true; // // Time // - this.Time.DataPropertyName = "Time"; - this.Time.HeaderText = "Time (local)"; - this.Time.MinimumWidth = 9; - this.Time.Name = "Time"; - this.Time.ReadOnly = true; + Time.DataPropertyName = "Time"; + Time.HeaderText = "Time (local)"; + Time.MinimumWidth = 9; + Time.Name = "Time"; + Time.ReadOnly = true; // // DownTime // - this.DownTime.DataPropertyName = "DownTime"; - this.DownTime.HeaderText = "Estimated downtime (minutes)"; - this.DownTime.MinimumWidth = 9; - this.DownTime.Name = "DownTime"; - this.DownTime.ReadOnly = true; + DownTime.DataPropertyName = "DownTime"; + DownTime.HeaderText = "Estimated downtime (minutes)"; + DownTime.MinimumWidth = 9; + DownTime.Name = "DownTime"; + DownTime.ReadOnly = true; // // EnvironmentName // - this.EnvironmentName.DataPropertyName = "EnvironmentName"; - this.EnvironmentName.HeaderText = "Environment name"; - this.EnvironmentName.MinimumWidth = 9; - this.EnvironmentName.Name = "EnvironmentName"; - this.EnvironmentName.ReadOnly = true; + EnvironmentName.DataPropertyName = "EnvironmentName"; + EnvironmentName.HeaderText = "Environment name"; + EnvironmentName.MinimumWidth = 9; + EnvironmentName.Name = "EnvironmentName"; + EnvironmentName.ReadOnly = true; // // EventName // - this.EventName.DataPropertyName = "EventName"; - this.EventName.HeaderText = "Event"; - this.EventName.MinimumWidth = 9; - this.EventName.Name = "EventName"; - this.EventName.ReadOnly = true; + EventName.DataPropertyName = "EventName"; + EventName.HeaderText = "Event"; + EventName.MinimumWidth = 9; + EventName.Name = "EventName"; + EventName.ReadOnly = true; // // StatusEnum // - this.StatusEnum.DataPropertyName = "StatusEnum"; - this.StatusEnum.HeaderText = "Status enum"; - this.StatusEnum.MinimumWidth = 9; - this.StatusEnum.Name = "StatusEnum"; - this.StatusEnum.ReadOnly = true; - this.StatusEnum.Visible = false; + StatusEnum.DataPropertyName = "StatusEnum"; + StatusEnum.HeaderText = "Status enum"; + StatusEnum.MinimumWidth = 9; + StatusEnum.Name = "StatusEnum"; + StatusEnum.ReadOnly = true; + StatusEnum.Visible = false; // // EventNameEnum // - this.EventNameEnum.DataPropertyName = "EventNameEnum"; - this.EventNameEnum.HeaderText = "Event name enum"; - this.EventNameEnum.MinimumWidth = 9; - this.EventNameEnum.Name = "EventNameEnum"; - this.EventNameEnum.ReadOnly = true; - this.EventNameEnum.Visible = false; + EventNameEnum.DataPropertyName = "EventNameEnum"; + EventNameEnum.HeaderText = "Event name enum"; + EventNameEnum.MinimumWidth = 9; + EventNameEnum.Name = "EventNameEnum"; + EventNameEnum.ReadOnly = true; + EventNameEnum.Visible = false; // // CalendarId // - this.CalendarId.DataPropertyName = "CalendarId"; - this.CalendarId.HeaderText = "Calendar Id"; - this.CalendarId.MinimumWidth = 9; - this.CalendarId.Name = "CalendarId"; - this.CalendarId.ReadOnly = true; - this.CalendarId.Visible = false; + CalendarId.DataPropertyName = "CalendarId"; + CalendarId.HeaderText = "Calendar Id"; + CalendarId.MinimumWidth = 9; + CalendarId.Name = "CalendarId"; + CalendarId.ReadOnly = true; + CalendarId.Visible = false; // // EnvironmentId // - this.EnvironmentId.DataPropertyName = "EnvironmentId"; - this.EnvironmentId.HeaderText = "Environment Id"; - this.EnvironmentId.MinimumWidth = 9; - this.EnvironmentId.Name = "EnvironmentId"; - this.EnvironmentId.ReadOnly = true; - this.EnvironmentId.Visible = false; + EnvironmentId.DataPropertyName = "EnvironmentId"; + EnvironmentId.HeaderText = "Environment Id"; + EnvironmentId.MinimumWidth = 9; + EnvironmentId.Name = "EnvironmentId"; + EnvironmentId.ReadOnly = true; + EnvironmentId.Visible = false; // // IsModified // - this.IsModified.DataPropertyName = "IsModified"; - this.IsModified.HeaderText = "IsModified"; - this.IsModified.MinimumWidth = 9; - this.IsModified.Name = "IsModified"; - this.IsModified.ReadOnly = true; - this.IsModified.Visible = false; + IsModified.DataPropertyName = "IsModified"; + IsModified.HeaderText = "IsModified"; + IsModified.MinimumWidth = 9; + IsModified.Name = "IsModified"; + IsModified.ReadOnly = true; + IsModified.Visible = false; // // WorkflowInstanceId // - this.WorkflowInstanceId.DataPropertyName = "WorkflowInstanceId"; - this.WorkflowInstanceId.HeaderText = "WorkflowInstanceId"; - this.WorkflowInstanceId.MinimumWidth = 9; - this.WorkflowInstanceId.Name = "WorkflowInstanceId"; - this.WorkflowInstanceId.ReadOnly = true; - this.WorkflowInstanceId.Visible = false; + WorkflowInstanceId.DataPropertyName = "WorkflowInstanceId"; + WorkflowInstanceId.HeaderText = "WorkflowInstanceId"; + WorkflowInstanceId.MinimumWidth = 9; + WorkflowInstanceId.Name = "WorkflowInstanceId"; + WorkflowInstanceId.ReadOnly = true; + WorkflowInstanceId.Visible = false; + // + // ReleaseName + // + ReleaseName.DataPropertyName = "ReleaseName"; + ReleaseName.HeaderText = "Release Name"; + ReleaseName.Name = "ReleaseName"; + ReleaseName.ReadOnly = true; // // UpcomingUpdates // - this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 24F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1489, 533); - this.Controls.Add(this.upcomingUpdatesDataGridView); - this.Icon = global::LCS.Properties.Resources.favicon_blue; - this.Margin = new System.Windows.Forms.Padding(4); - this.MinimizeBox = false; - this.MinimumSize = new System.Drawing.Size(948, 467); - this.Name = "UpcomingUpdates"; - this.ShowInTaskbar = false; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Load += new System.EventHandler(this.UpcomingUpdates_Load); - ((System.ComponentModel.ISupportInitialize)(this.upcomingUpdatesDataGridView)).EndInit(); - this.ResumeLayout(false); - + AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + ClientSize = new System.Drawing.Size(948, 333); + Controls.Add(upcomingUpdatesDataGridView); + Icon = Properties.Resources.favicon_blue; + Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + MinimizeBox = false; + MinimumSize = new System.Drawing.Size(609, 307); + Name = "UpcomingUpdates"; + ShowInTaskbar = false; + StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + Load += UpcomingUpdates_Load; + ((System.ComponentModel.ISupportInitialize)upcomingUpdatesDataGridView).EndInit(); + ResumeLayout(false); } #endregion @@ -236,5 +227,6 @@ private System.Windows.Forms.DataGridViewTextBoxColumn EnvironmentId; private System.Windows.Forms.DataGridViewTextBoxColumn IsModified; private System.Windows.Forms.DataGridViewTextBoxColumn WorkflowInstanceId; + private System.Windows.Forms.DataGridViewTextBoxColumn ReleaseName; } } \ No newline at end of file diff --git a/2LCS/Forms/UpcomingUpdates.resx b/2LCS/Forms/UpcomingUpdates.resx index 3b2488d..87a7e6b 100644 --- a/2LCS/Forms/UpcomingUpdates.resx +++ b/2LCS/Forms/UpcomingUpdates.resx @@ -1,17 +1,17 @@  - @@ -159,4 +159,7 @@ True + + True + \ No newline at end of file