添加项目文件。
This commit is contained in:
202
WinFormsApp1/Form1.Designer.cs
generated
Normal file
202
WinFormsApp1/Form1.Designer.cs
generated
Normal file
@@ -0,0 +1,202 @@
|
||||
namespace WinFormDataGridViewDemo
|
||||
{
|
||||
partial class Form1
|
||||
{
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
private System.Windows.Forms.Button btnCoverRow;
|
||||
private System.Windows.Forms.Button btnCoverAll;
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
btnCoverRow = new Button();
|
||||
btnCoverAll = new Button();
|
||||
saveBtn = new Button();
|
||||
LayoutPath = new TextBox();
|
||||
button1 = new Button();
|
||||
AlarmPath = new TextBox();
|
||||
openFileDialog1 = new OpenFileDialog();
|
||||
label1 = new Label();
|
||||
panel3 = new Panel();
|
||||
progressBar1 = new ProgressBar();
|
||||
DiffCountLab = new Label();
|
||||
label2 = new Label();
|
||||
tableLayoutPanel1 = new TableLayoutPanel();
|
||||
dataGridView1 = new DataGridView();
|
||||
panel3.SuspendLayout();
|
||||
tableLayoutPanel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
||||
SuspendLayout();
|
||||
//
|
||||
// btnCoverRow
|
||||
//
|
||||
btnCoverRow.Location = new Point(238, 78);
|
||||
btnCoverRow.Name = "btnCoverRow";
|
||||
btnCoverRow.Size = new Size(90, 30);
|
||||
btnCoverRow.TabIndex = 1;
|
||||
btnCoverRow.Text = "覆盖选中行";
|
||||
btnCoverRow.UseVisualStyleBackColor = true;
|
||||
btnCoverRow.Click += btnCoverRow_Click;
|
||||
//
|
||||
// btnCoverAll
|
||||
//
|
||||
btnCoverAll.Location = new Point(132, 78);
|
||||
btnCoverAll.Name = "btnCoverAll";
|
||||
btnCoverAll.Size = new Size(100, 30);
|
||||
btnCoverAll.TabIndex = 2;
|
||||
btnCoverAll.Text = "覆盖全部";
|
||||
btnCoverAll.UseVisualStyleBackColor = true;
|
||||
btnCoverAll.Click += btnCoverAll_Click;
|
||||
//
|
||||
// saveBtn
|
||||
//
|
||||
saveBtn.Location = new Point(329, 43);
|
||||
saveBtn.Name = "saveBtn";
|
||||
saveBtn.Size = new Size(102, 30);
|
||||
saveBtn.TabIndex = 4;
|
||||
saveBtn.Text = "保存";
|
||||
saveBtn.UseVisualStyleBackColor = true;
|
||||
saveBtn.Click += SaveAlarm;
|
||||
//
|
||||
// LayoutPath
|
||||
//
|
||||
LayoutPath.Location = new Point(125, 9);
|
||||
LayoutPath.Name = "LayoutPath";
|
||||
LayoutPath.Size = new Size(198, 27);
|
||||
LayoutPath.TabIndex = 6;
|
||||
LayoutPath.Click += OpenLayoutXml_Click;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
button1.Location = new Point(329, 7);
|
||||
button1.Name = "button1";
|
||||
button1.Size = new Size(102, 30);
|
||||
button1.TabIndex = 5;
|
||||
button1.Text = "重新加载";
|
||||
button1.UseVisualStyleBackColor = true;
|
||||
button1.Click += reloadXml;
|
||||
//
|
||||
// AlarmPath
|
||||
//
|
||||
AlarmPath.Location = new Point(125, 42);
|
||||
AlarmPath.Name = "AlarmPath";
|
||||
AlarmPath.Size = new Size(198, 27);
|
||||
AlarmPath.TabIndex = 8;
|
||||
AlarmPath.Click += SecsAlarm_Click;
|
||||
//
|
||||
// openFileDialog1
|
||||
//
|
||||
openFileDialog1.FileName = "openFileDialog1";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Location = new Point(16, 13);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new Size(101, 20);
|
||||
label1.TabIndex = 9;
|
||||
label1.Text = "LayoutAlarm";
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
panel3.Controls.Add(progressBar1);
|
||||
panel3.Controls.Add(DiffCountLab);
|
||||
panel3.Controls.Add(btnCoverAll);
|
||||
panel3.Controls.Add(btnCoverRow);
|
||||
panel3.Controls.Add(button1);
|
||||
panel3.Controls.Add(saveBtn);
|
||||
panel3.Controls.Add(label2);
|
||||
panel3.Controls.Add(LayoutPath);
|
||||
panel3.Controls.Add(label1);
|
||||
panel3.Controls.Add(AlarmPath);
|
||||
panel3.Location = new Point(3, 3);
|
||||
panel3.Name = "panel3";
|
||||
panel3.Size = new Size(760, 111);
|
||||
panel3.TabIndex = 10;
|
||||
//
|
||||
// progressBar1
|
||||
//
|
||||
progressBar1.Location = new Point(16, 81);
|
||||
progressBar1.Name = "progressBar1";
|
||||
progressBar1.Size = new Size(110, 24);
|
||||
progressBar1.TabIndex = 12;
|
||||
//
|
||||
// DiffCountLab
|
||||
//
|
||||
DiffCountLab.AutoSize = true;
|
||||
DiffCountLab.Location = new Point(334, 83);
|
||||
DiffCountLab.Name = "DiffCountLab";
|
||||
DiffCountLab.Size = new Size(84, 20);
|
||||
DiffCountLab.TabIndex = 11;
|
||||
DiffCountLab.Text = "差异行数:";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Location = new Point(3, 43);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new Size(116, 20);
|
||||
label2.TabIndex = 10;
|
||||
label2.Text = "SECSAlarmXml";
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
tableLayoutPanel1.AutoSize = true;
|
||||
tableLayoutPanel1.ColumnCount = 1;
|
||||
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
|
||||
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
|
||||
tableLayoutPanel1.Controls.Add(panel3, 0, 0);
|
||||
tableLayoutPanel1.Controls.Add(dataGridView1, 0, 1);
|
||||
tableLayoutPanel1.Location = new Point(22, 12);
|
||||
tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
tableLayoutPanel1.RowCount = 2;
|
||||
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 19.0031147F));
|
||||
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 80.99689F));
|
||||
tableLayoutPanel1.Size = new Size(816, 617);
|
||||
tableLayoutPanel1.TabIndex = 12;
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dataGridView1.Location = new Point(3, 120);
|
||||
dataGridView1.Name = "dataGridView1";
|
||||
dataGridView1.RowHeadersWidth = 51;
|
||||
dataGridView1.Size = new Size(810, 478);
|
||||
dataGridView1.TabIndex = 3;
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
ClientSize = new Size(1454, 634);
|
||||
Controls.Add(tableLayoutPanel1);
|
||||
Name = "Form1";
|
||||
Text = "AlarmDiff";
|
||||
panel3.ResumeLayout(false);
|
||||
panel3.PerformLayout();
|
||||
tableLayoutPanel1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
private Button saveBtn;
|
||||
private DataGridView dataGridView1;
|
||||
private Button button1;
|
||||
private OpenFileDialog openFileDialog1;
|
||||
private TextBox LayoutPath;
|
||||
private TextBox AlarmPath;
|
||||
private Label label1;
|
||||
private Panel panel3;
|
||||
private Label label2;
|
||||
private Panel panel1;
|
||||
private TableLayoutPanel tableLayoutPanel1;
|
||||
private Label DiffCountLab;
|
||||
private ProgressBar progressBar1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user