MaterialCompatibleMap 수정

- datagridview cell을 계속 그리는 문제 해결
 - 5가지 상태창 표시
 - layout 수정

RadarGraph 수정
 - 팝업창 두번씩 뜨지 않도록 수정
 - layout 수정
This commit is contained in:
2017-08-10 01:01:49 +09:00
parent 0d24b2d2d3
commit b906236fef
6 changed files with 381 additions and 235 deletions

View File

@@ -31,18 +31,20 @@
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PanelCompatibility));
this.dgvMap = new System.Windows.Forms.DataGridView();
this.btPivot = new System.Windows.Forms.Button();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.detailPanel = new System.Windows.Forms.TableLayoutPanel();
this.lbLowTemp = new System.Windows.Forms.Label();
this.lbHighHigh = new System.Windows.Forms.Label();
this.lbHighLow = new System.Windows.Forms.Label();
this.lbNormalHigh = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.lbNormalLow = new System.Windows.Forms.Label();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
((System.ComponentModel.ISupportInitialize)(this.dgvMap)).BeginInit();
this.detailPanel.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
@@ -52,15 +54,16 @@
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dgvMap.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvMap.Location = new System.Drawing.Point(12, 65);
this.dgvMap.Location = new System.Drawing.Point(3, 32);
this.dgvMap.Name = "dgvMap";
this.dgvMap.RowTemplate.Height = 23;
this.dgvMap.Size = new System.Drawing.Size(799, 498);
this.dgvMap.Size = new System.Drawing.Size(817, 576);
this.dgvMap.TabIndex = 0;
this.dgvMap.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvMap_CellClick);
//
// btPivot
//
this.btPivot.Location = new System.Drawing.Point(12, 12);
this.btPivot.Location = new System.Drawing.Point(3, 3);
this.btPivot.Name = "btPivot";
this.btPivot.Size = new System.Drawing.Size(75, 23);
this.btPivot.TabIndex = 1;
@@ -68,31 +71,118 @@
this.btPivot.UseVisualStyleBackColor = true;
this.btPivot.Click += new System.EventHandler(this.btPivot_Click);
//
// tableLayoutPanel1
// detailPanel
//
this.tableLayoutPanel1.ColumnCount = 5;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.Controls.Add(this.label10, 4, 1);
this.tableLayoutPanel1.Controls.Add(this.label9, 3, 1);
this.tableLayoutPanel1.Controls.Add(this.label8, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.label7, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.label5, 4, 0);
this.tableLayoutPanel1.Controls.Add(this.label4, 3, 0);
this.tableLayoutPanel1.Controls.Add(this.label3, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.label2, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.label6, 0, 1);
this.tableLayoutPanel1.Location = new System.Drawing.Point(12, 569);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 2;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(799, 99);
this.tableLayoutPanel1.TabIndex = 2;
this.detailPanel.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.detailPanel.ColumnCount = 5;
this.detailPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.detailPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.detailPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.detailPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.detailPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.detailPanel.Controls.Add(this.lbLowTemp, 4, 1);
this.detailPanel.Controls.Add(this.lbHighHigh, 3, 1);
this.detailPanel.Controls.Add(this.lbHighLow, 2, 1);
this.detailPanel.Controls.Add(this.lbNormalHigh, 1, 1);
this.detailPanel.Controls.Add(this.label5, 4, 0);
this.detailPanel.Controls.Add(this.label4, 3, 0);
this.detailPanel.Controls.Add(this.label3, 2, 0);
this.detailPanel.Controls.Add(this.label2, 1, 0);
this.detailPanel.Controls.Add(this.label1, 0, 0);
this.detailPanel.Controls.Add(this.lbNormalLow, 0, 1);
this.detailPanel.Location = new System.Drawing.Point(3, 614);
this.detailPanel.Name = "detailPanel";
this.detailPanel.RowCount = 2;
this.detailPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.detailPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.detailPanel.Size = new System.Drawing.Size(817, 54);
this.detailPanel.TabIndex = 2;
//
// lbLowTemp
//
this.lbLowTemp.AutoSize = true;
this.lbLowTemp.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbLowTemp.Location = new System.Drawing.Point(655, 27);
this.lbLowTemp.Name = "lbLowTemp";
this.lbLowTemp.Size = new System.Drawing.Size(159, 27);
this.lbLowTemp.TabIndex = 19;
this.lbLowTemp.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbHighHigh
//
this.lbHighHigh.AutoSize = true;
this.lbHighHigh.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbHighHigh.Location = new System.Drawing.Point(492, 27);
this.lbHighHigh.Name = "lbHighHigh";
this.lbHighHigh.Size = new System.Drawing.Size(157, 27);
this.lbHighHigh.TabIndex = 18;
this.lbHighHigh.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbHighLow
//
this.lbHighLow.AutoSize = true;
this.lbHighLow.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbHighLow.Location = new System.Drawing.Point(329, 27);
this.lbHighLow.Name = "lbHighLow";
this.lbHighLow.Size = new System.Drawing.Size(157, 27);
this.lbHighLow.TabIndex = 17;
this.lbHighLow.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbNormalHigh
//
this.lbNormalHigh.AutoSize = true;
this.lbNormalHigh.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbNormalHigh.Location = new System.Drawing.Point(166, 27);
this.lbNormalHigh.Name = "lbNormalHigh";
this.lbNormalHigh.Size = new System.Drawing.Size(157, 27);
this.lbNormalHigh.TabIndex = 16;
this.lbNormalHigh.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Dock = System.Windows.Forms.DockStyle.Fill;
this.label5.Location = new System.Drawing.Point(655, 0);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(159, 27);
this.label5.TabIndex = 14;
this.label5.Text = "Low Temp";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Dock = System.Windows.Forms.DockStyle.Fill;
this.label4.Location = new System.Drawing.Point(492, 0);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(157, 27);
this.label4.TabIndex = 13;
this.label4.Text = "High Temp\r\nHigh Humid";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Dock = System.Windows.Forms.DockStyle.Fill;
this.label3.Location = new System.Drawing.Point(329, 0);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(157, 27);
this.label3.TabIndex = 12;
this.label3.Text = "High Temp\r\nLow Humid";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Dock = System.Windows.Forms.DockStyle.Fill;
this.label2.Location = new System.Drawing.Point(166, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(157, 27);
this.label2.TabIndex = 11;
this.label2.Text = "Normal Temp\r\nHigh Humid";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label1
//
@@ -100,104 +190,37 @@
this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
this.label1.Location = new System.Drawing.Point(3, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(153, 49);
this.label1.Size = new System.Drawing.Size(157, 27);
this.label1.TabIndex = 10;
this.label1.Text = "Normal Temp\r\nLow Humid";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label2
// lbNormalLow
//
this.label2.AutoSize = true;
this.label2.Dock = System.Windows.Forms.DockStyle.Fill;
this.label2.Location = new System.Drawing.Point(162, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(153, 49);
this.label2.TabIndex = 11;
this.label2.Text = "Normal Temp\r\nHigh Humid";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lbNormalLow.AutoSize = true;
this.lbNormalLow.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbNormalLow.Location = new System.Drawing.Point(3, 27);
this.lbNormalLow.Name = "lbNormalLow";
this.lbNormalLow.Size = new System.Drawing.Size(157, 27);
this.lbNormalLow.TabIndex = 15;
this.lbNormalLow.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label3
// tableLayoutPanel1
//
this.label3.AutoSize = true;
this.label3.Dock = System.Windows.Forms.DockStyle.Fill;
this.label3.Location = new System.Drawing.Point(321, 0);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(153, 49);
this.label3.TabIndex = 12;
this.label3.Text = "High Temp\r\nLow Humid";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Dock = System.Windows.Forms.DockStyle.Fill;
this.label4.Location = new System.Drawing.Point(480, 0);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(153, 49);
this.label4.TabIndex = 13;
this.label4.Text = "High Temp\r\nHigh Humid";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Dock = System.Windows.Forms.DockStyle.Fill;
this.label5.Location = new System.Drawing.Point(639, 0);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(157, 49);
this.label5.TabIndex = 14;
this.label5.Text = "Low Temp";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Dock = System.Windows.Forms.DockStyle.Fill;
this.label6.Location = new System.Drawing.Point(3, 49);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(153, 50);
this.label6.TabIndex = 15;
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Dock = System.Windows.Forms.DockStyle.Fill;
this.label7.Location = new System.Drawing.Point(162, 49);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(153, 50);
this.label7.TabIndex = 16;
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label8
//
this.label8.AutoSize = true;
this.label8.Dock = System.Windows.Forms.DockStyle.Fill;
this.label8.Location = new System.Drawing.Point(321, 49);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(153, 50);
this.label8.TabIndex = 17;
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label9
//
this.label9.AutoSize = true;
this.label9.Dock = System.Windows.Forms.DockStyle.Fill;
this.label9.Location = new System.Drawing.Point(480, 49);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(153, 50);
this.label9.TabIndex = 18;
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label10
//
this.label10.AutoSize = true;
this.label10.Dock = System.Windows.Forms.DockStyle.Fill;
this.label10.Location = new System.Drawing.Point(639, 49);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(157, 50);
this.label10.TabIndex = 19;
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.tableLayoutPanel1.ColumnCount = 1;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Controls.Add(this.btPivot, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.dgvMap, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.detailPanel, 0, 2);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 3;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 29F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 60F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(823, 671);
this.tableLayoutPanel1.TabIndex = 3;
//
// PanelCompatibility
//
@@ -206,8 +229,6 @@
this.ClientSize = new System.Drawing.Size(823, 671);
this.ControlBox = false;
this.Controls.Add(this.tableLayoutPanel1);
this.Controls.Add(this.btPivot);
this.Controls.Add(this.dgvMap);
this.DockAreas = ((WeifenLuo.WinFormsUI.Docking.DockAreas)(((((WeifenLuo.WinFormsUI.Docking.DockAreas.DockLeft | WeifenLuo.WinFormsUI.Docking.DockAreas.DockRight)
| WeifenLuo.WinFormsUI.Docking.DockAreas.DockTop)
| WeifenLuo.WinFormsUI.Docking.DockAreas.DockBottom)
@@ -217,8 +238,9 @@
this.Name = "PanelCompatibility";
this.Text = "Material Compatibility Map";
((System.ComponentModel.ISupportInitialize)(this.dgvMap)).EndInit();
this.detailPanel.ResumeLayout(false);
this.detailPanel.PerformLayout();
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
this.ResumeLayout(false);
}
@@ -227,16 +249,17 @@
private System.Windows.Forms.DataGridView dgvMap;
private System.Windows.Forms.Button btPivot;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.TableLayoutPanel detailPanel;
private System.Windows.Forms.Label lbLowTemp;
private System.Windows.Forms.Label lbHighHigh;
private System.Windows.Forms.Label lbHighLow;
private System.Windows.Forms.Label lbNormalHigh;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label lbNormalLow;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
}
}