/// </summary>\r
private void InitializeComponent() {\r
this.components = new System.ComponentModel.Container();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();\r
this.groupSource = new System.Windows.Forms.GroupBox();\r
this.dataGridSource = new System.Windows.Forms.DataGridView();\r
this.bindingSource = new System.Windows.Forms.BindingSource(this.components);\r
this.dataGridSource.BackgroundColor = System.Drawing.Color.White;\r
this.dataGridSource.BorderStyle = System.Windows.Forms.BorderStyle.None;\r
this.dataGridSource.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.Raised;\r
- dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
- dataGridViewCellStyle29.BackColor = System.Drawing.SystemColors.Control;\r
- dataGridViewCellStyle29.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- dataGridViewCellStyle29.ForeColor = System.Drawing.SystemColors.WindowText;\r
- dataGridViewCellStyle29.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
- dataGridViewCellStyle29.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
- dataGridViewCellStyle29.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
- this.dataGridSource.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle29;\r
+ dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+ dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;\r
+ dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;\r
+ dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
+ dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
+ dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
+ this.dataGridSource.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;\r
this.dataGridSource.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;\r
this.dataGridSource.DataSource = this.bindingSource;\r
- dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
- dataGridViewCellStyle30.BackColor = System.Drawing.SystemColors.Window;\r
- dataGridViewCellStyle30.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- dataGridViewCellStyle30.ForeColor = System.Drawing.SystemColors.ControlText;\r
- dataGridViewCellStyle30.SelectionBackColor = System.Drawing.Color.Gainsboro;\r
- dataGridViewCellStyle30.SelectionForeColor = System.Drawing.Color.Black;\r
- dataGridViewCellStyle30.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
- this.dataGridSource.DefaultCellStyle = dataGridViewCellStyle30;\r
+ dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+ dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;\r
+ dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;\r
+ dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.Gainsboro;\r
+ dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.Black;\r
+ dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
+ this.dataGridSource.DefaultCellStyle = dataGridViewCellStyle2;\r
this.dataGridSource.Dock = System.Windows.Forms.DockStyle.Fill;\r
this.dataGridSource.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;\r
this.dataGridSource.Location = new System.Drawing.Point(10, 56);\r
this.dataGridSource.Name = "dataGridSource";\r
this.dataGridSource.RowHeadersVisible = false;\r
- dataGridViewCellStyle31.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- this.dataGridSource.RowsDefaultCellStyle = dataGridViewCellStyle31;\r
+ dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ this.dataGridSource.RowsDefaultCellStyle = dataGridViewCellStyle3;\r
this.dataGridSource.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
this.dataGridSource.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;\r
this.dataGridSource.Size = new System.Drawing.Size(394, 343);\r
this.dataGridJobs.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCells;\r
this.dataGridJobs.BackgroundColor = System.Drawing.Color.White;\r
this.dataGridJobs.BorderStyle = System.Windows.Forms.BorderStyle.None;\r
- dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
- dataGridViewCellStyle32.BackColor = System.Drawing.SystemColors.Control;\r
- dataGridViewCellStyle32.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- dataGridViewCellStyle32.ForeColor = System.Drawing.SystemColors.WindowText;\r
- dataGridViewCellStyle32.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
- dataGridViewCellStyle32.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
- dataGridViewCellStyle32.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
- this.dataGridJobs.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle32;\r
+ dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+ dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;\r
+ dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;\r
+ dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
+ dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
+ dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
+ this.dataGridJobs.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;\r
this.dataGridJobs.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;\r
this.dataGridJobs.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {\r
this.columnLabel,\r
this.columnOutput,\r
this.columnKillDate});\r
this.dataGridJobs.DataSource = this.bindingSourceJobs;\r
- dataGridViewCellStyle36.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
- dataGridViewCellStyle36.BackColor = System.Drawing.SystemColors.Window;\r
- dataGridViewCellStyle36.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- dataGridViewCellStyle36.ForeColor = System.Drawing.SystemColors.ControlText;\r
- dataGridViewCellStyle36.SelectionBackColor = System.Drawing.Color.Gainsboro;\r
- dataGridViewCellStyle36.SelectionForeColor = System.Drawing.Color.Black;\r
- dataGridViewCellStyle36.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
- this.dataGridJobs.DefaultCellStyle = dataGridViewCellStyle36;\r
+ dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+ dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;\r
+ dataGridViewCellStyle8.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText;\r
+ dataGridViewCellStyle8.SelectionBackColor = System.Drawing.Color.Gainsboro;\r
+ dataGridViewCellStyle8.SelectionForeColor = System.Drawing.Color.Black;\r
+ dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
+ this.dataGridJobs.DefaultCellStyle = dataGridViewCellStyle8;\r
this.dataGridJobs.Dock = System.Windows.Forms.DockStyle.Fill;\r
this.dataGridJobs.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;\r
this.dataGridJobs.Location = new System.Drawing.Point(3, 3);\r
this.dataGridJobs.Name = "dataGridJobs";\r
- dataGridViewCellStyle37.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
- dataGridViewCellStyle37.BackColor = System.Drawing.SystemColors.Control;\r
- dataGridViewCellStyle37.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- dataGridViewCellStyle37.ForeColor = System.Drawing.SystemColors.WindowText;\r
- dataGridViewCellStyle37.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
- dataGridViewCellStyle37.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
- dataGridViewCellStyle37.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
- this.dataGridJobs.RowHeadersDefaultCellStyle = dataGridViewCellStyle37;\r
+ dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+ dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;\r
+ dataGridViewCellStyle9.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;\r
+ dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
+ dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
+ dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
+ this.dataGridJobs.RowHeadersDefaultCellStyle = dataGridViewCellStyle9;\r
this.dataGridJobs.RowHeadersVisible = false;\r
- dataGridViewCellStyle38.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- this.dataGridJobs.RowsDefaultCellStyle = dataGridViewCellStyle38;\r
+ dataGridViewCellStyle10.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ this.dataGridJobs.RowsDefaultCellStyle = dataGridViewCellStyle10;\r
this.dataGridJobs.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
this.dataGridJobs.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;\r
this.dataGridJobs.Size = new System.Drawing.Size(988, 92);\r
// \r
this.columnID.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;\r
this.columnID.DataPropertyName = "ID";\r
- dataGridViewCellStyle33.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- this.columnID.DefaultCellStyle = dataGridViewCellStyle33;\r
+ dataGridViewCellStyle5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ this.columnID.DefaultCellStyle = dataGridViewCellStyle5;\r
this.columnID.Frozen = true;\r
this.columnID.HeaderText = "ID";\r
this.columnID.Name = "columnID";\r
// \r
this.columnStatus.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;\r
this.columnStatus.DataPropertyName = "Status";\r
- dataGridViewCellStyle34.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- this.columnStatus.DefaultCellStyle = dataGridViewCellStyle34;\r
+ dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ this.columnStatus.DefaultCellStyle = dataGridViewCellStyle6;\r
this.columnStatus.Frozen = true;\r
this.columnStatus.HeaderText = "Status";\r
this.columnStatus.Name = "columnStatus";\r
// \r
this.columnProgress.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;\r
this.columnProgress.DataPropertyName = "Progress";\r
- dataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;\r
- dataGridViewCellStyle35.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- dataGridViewCellStyle35.NullValue = null;\r
- this.columnProgress.DefaultCellStyle = dataGridViewCellStyle35;\r
+ dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;\r
+ dataGridViewCellStyle7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ dataGridViewCellStyle7.NullValue = null;\r
+ this.columnProgress.DefaultCellStyle = dataGridViewCellStyle7;\r
this.columnProgress.HeaderText = "Progress";\r
this.columnProgress.Name = "columnProgress";\r
this.columnProgress.Resizable = System.Windows.Forms.DataGridViewTriState.True;\r
this.dataGridMessages.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCells;\r
this.dataGridMessages.BackgroundColor = System.Drawing.Color.White;\r
this.dataGridMessages.BorderStyle = System.Windows.Forms.BorderStyle.None;\r
- dataGridViewCellStyle39.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
- dataGridViewCellStyle39.BackColor = System.Drawing.SystemColors.Window;\r
- dataGridViewCellStyle39.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
- dataGridViewCellStyle39.ForeColor = System.Drawing.SystemColors.WindowText;\r
- dataGridViewCellStyle39.SelectionBackColor = System.Drawing.Color.Transparent;\r
- dataGridViewCellStyle39.SelectionForeColor = System.Drawing.Color.Transparent;\r
- dataGridViewCellStyle39.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
- this.dataGridMessages.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle39;\r
+ dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+ dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Window;\r
+ dataGridViewCellStyle11.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
+ dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText;\r
+ dataGridViewCellStyle11.SelectionBackColor = System.Drawing.Color.Transparent;\r
+ dataGridViewCellStyle11.SelectionForeColor = System.Drawing.Color.Transparent;\r
+ dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
+ this.dataGridMessages.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11;\r
this.dataGridMessages.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;\r
this.dataGridMessages.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {\r
this.timeDataGridViewTextBoxColumn,\r
this.Level,\r
this.messageDataGridViewTextBoxColumn});\r
this.dataGridMessages.DataSource = this.systemMessageBindingSource;\r
- dataGridViewCellStyle40.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
- dataGridViewCellStyle40.BackColor = System.Drawing.SystemColors.Window;\r
- dataGridViewCellStyle40.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- dataGridViewCellStyle40.ForeColor = System.Drawing.SystemColors.ControlText;\r
- dataGridViewCellStyle40.SelectionBackColor = System.Drawing.Color.Transparent;\r
- dataGridViewCellStyle40.SelectionForeColor = System.Drawing.SystemColors.ControlText;\r
- dataGridViewCellStyle40.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
- this.dataGridMessages.DefaultCellStyle = dataGridViewCellStyle40;\r
+ dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+ dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Window;\r
+ dataGridViewCellStyle12.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.ControlText;\r
+ dataGridViewCellStyle12.SelectionBackColor = System.Drawing.Color.Transparent;\r
+ dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.ControlText;\r
+ dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
+ this.dataGridMessages.DefaultCellStyle = dataGridViewCellStyle12;\r
this.dataGridMessages.Dock = System.Windows.Forms.DockStyle.Fill;\r
this.dataGridMessages.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;\r
this.dataGridMessages.Location = new System.Drawing.Point(3, 3);\r
this.dataGridMessages.Name = "dataGridMessages";\r
- dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
- dataGridViewCellStyle41.BackColor = System.Drawing.SystemColors.Control;\r
- dataGridViewCellStyle41.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
- dataGridViewCellStyle41.ForeColor = System.Drawing.SystemColors.WindowText;\r
- dataGridViewCellStyle41.SelectionBackColor = System.Drawing.SystemColors.Control;\r
- dataGridViewCellStyle41.SelectionForeColor = System.Drawing.SystemColors.WindowText;\r
- dataGridViewCellStyle41.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
- this.dataGridMessages.RowHeadersDefaultCellStyle = dataGridViewCellStyle41;\r
+ dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+ dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control;\r
+ dataGridViewCellStyle13.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
+ dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText;\r
+ dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Control;\r
+ dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.WindowText;\r
+ dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
+ this.dataGridMessages.RowHeadersDefaultCellStyle = dataGridViewCellStyle13;\r
this.dataGridMessages.RowHeadersVisible = false;\r
- dataGridViewCellStyle42.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
- this.dataGridMessages.RowsDefaultCellStyle = dataGridViewCellStyle42;\r
+ dataGridViewCellStyle14.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
+ this.dataGridMessages.RowsDefaultCellStyle = dataGridViewCellStyle14;\r
this.dataGridMessages.RowTemplate.DefaultCellStyle.BackColor = System.Drawing.Color.Transparent;\r
this.dataGridMessages.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
this.dataGridMessages.RowTemplate.DefaultCellStyle.SelectionBackColor = System.Drawing.Color.Transparent;\r
panel1.Dock = DockStyle.Fill;\r
}\r
\r
+ private void SetColumnsToResizeable() {\r
+ foreach (DataGridViewColumn actualColumn in dataGridView1.Columns) {\r
+ int width = actualColumn.Width;\r
+ actualColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;\r
+ actualColumn.Width = width;\r
+ }\r
+ }\r
+\r
private void InitializeTexts() {\r
searchButton.Text = Resources.KERESES;\r
copiaCheckBox.Text = Resources.HIANYZO_KOPIA;\r
new DataGridViewColumn[] {\r
new DataGridViewCheckBoxColumn(){\r
AutoSizeMode = DataGridViewAutoSizeColumnMode.DisplayedCells,\r
- DataPropertyName = "Selected"\r
+ DataPropertyName = "Selected",\r
},\r
new DataGridViewTextBoxColumn() {\r
AutoSizeMode = DataGridViewAutoSizeColumnMode.DisplayedCells,\r
DataPropertyName = "MediaID",\r
HeaderText = Resources.TRAFFIC_ID,\r
-\r
},\r
new DataGridViewTextBoxColumn() {\r
AutoSizeMode = DataGridViewAutoSizeColumnMode.DisplayedCells,\r
if (CanSort(list))\r
list.Sort((x, y) => DateTime.Compare(x.NextBroadcastDate.Value, y.NextBroadcastDate.Value));\r
dataGridView1.DataSource = list;\r
+ SetColumnsToResizeable();\r
}\r
\r
private bool CanSort(List<MamResultWrapper> list) {\r
}\r
\r
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) {\r
- DataGridViewCell checkBoxCell = dataGridView1.Rows[e.RowIndex].Cells[0];\r
- MamResultWrapper res = dataGridView1.Rows[e.RowIndex].DataBoundItem as MamResultWrapper;\r
- SetCheckBoxAndInvokeIDChangeEvent(checkBoxCell, res);\r
+ SetCheckBoxAndInvokeIDChangeEvent(dataGridView1.SelectedRows[0]);\r
}\r
\r
private void searchButton_Click(object sender, EventArgs e) {\r
if (gridView == null)\r
return;\r
//nincs multiselect\r
- DataGridViewCell checkBoxCell = gridView.SelectedCells[0];\r
- MamResultWrapper res = dataGridView1.Rows[e.RowIndex].DataBoundItem as MamResultWrapper;\r
- SetCheckBoxAndInvokeIDChangeEvent(checkBoxCell, res);\r
- //bool isChecked = (bool)checkBoxCell.Value;\r
- //checkBoxCell.Value = !isChecked;\r
+ SetCheckBoxAndInvokeIDChangeEvent(dataGridView1.SelectedRows[0]);\r
}\r
\r
- private void SetCheckBoxAndInvokeIDChangeEvent(DataGridViewCell checkBoxCell, MamResultWrapper res) {\r
- bool selected = checkBoxCell.Value.Equals(false);\r
- clearCheckBox?.Invoke();\r
+ private void SetCheckBoxAndInvokeIDChangeEvent(DataGridViewRow actualRow) {\r
+ MamResultWrapper res = actualRow.DataBoundItem as MamResultWrapper;\r
+ DataGridViewCheckBoxCell checkBoxCell = actualRow.Cells[0] as DataGridViewCheckBoxCell;\r
+ bool beforeClear = checkBoxCell.Value.Equals(true);\r
ClearSelectionSource();\r
- //checkBoxCell.Value = checkBoxCell.Value.Equals(true) ? true : false;\r
- //MamResultWrapper res = dataGridView1.Rows[rowIndex].DataBoundItem as MamResultWrapper;\r
- res.Selected = selected;\r
+ checkBoxCell.Value = !beforeClear;\r
+ bool selected = checkBoxCell.Value.Equals(true);\r
+ clearCheckBox?.Invoke();\r
if (selected) {\r
IDChangedEvent?.Invoke(res.MediaID, res.VariantID);\r
} else\r
IDChangedEvent?.Invoke(string.Empty, 0);\r
- //UpdateDataChange();\r
- }\r
-\r
- private void UpdateDataChange() {\r
- List<MamResultWrapper> list = dataGridView1.DataSource as List<MamResultWrapper>;\r
- if (list == null)\r
- return;\r
- List<MamResultWrapper> newList = new List<MamResultWrapper>(list);\r
- dataGridView1.DataSource = null;\r
- dataGridView1.DataSource = newList;\r
}\r
\r
public void ClearSelectionSource() {\r
}\r
\r
private void dataGridView1_KeyDown(object sender, KeyEventArgs e) {\r
- if (e.KeyCode == Keys.Space && dataGridView1.CurrentCell.GetType() != typeof(DataGridViewCheckBoxCell)) {\r
- var selectedRows = dataGridView1.SelectedRows[0];\r
- DataGridViewCell cell = selectedRows.Cells[0] as DataGridViewCell;\r
- if (cell == null)\r
- return;\r
- MamResultWrapper res = selectedRows.DataBoundItem as MamResultWrapper;\r
- SetCheckBoxAndInvokeIDChangeEvent(cell, res);\r
- }\r
+ if (e.KeyCode == Keys.Space && dataGridView1.CurrentCell.GetType() != typeof(DataGridViewCheckBoxCell))\r
+ SetCheckBoxAndInvokeIDChangeEvent(dataGridView1.SelectedRows[0]);\r
}\r
}\r
\r