You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
197 lines
8.7 KiB
C#
197 lines
8.7 KiB
C#
namespace demo.UI
|
|
{
|
|
partial class Form_Temperature
|
|
{
|
|
/// <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 Windows Form 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.panel1 = new System.Windows.Forms.Panel();
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
this.panel3 = new System.Windows.Forms.Panel();
|
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.dtStarttime = new System.Windows.Forms.DateTimePicker();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.dtEndtime = new System.Windows.Forms.DateTimePicker();
|
|
this.btnQuery = new System.Windows.Forms.Button();
|
|
this.createtime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.temperature = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.humidity = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.panel1.SuspendLayout();
|
|
this.panel3.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.BackColor = System.Drawing.Color.Linen;
|
|
this.panel1.Controls.Add(this.btnQuery);
|
|
this.panel1.Controls.Add(this.dtEndtime);
|
|
this.panel1.Controls.Add(this.label2);
|
|
this.panel1.Controls.Add(this.dtStarttime);
|
|
this.panel1.Controls.Add(this.label1);
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(770, 61);
|
|
this.panel1.TabIndex = 0;
|
|
//
|
|
// panel2
|
|
//
|
|
this.panel2.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.panel2.Location = new System.Drawing.Point(0, 61);
|
|
this.panel2.Name = "panel2";
|
|
this.panel2.Size = new System.Drawing.Size(770, 1);
|
|
this.panel2.TabIndex = 1;
|
|
//
|
|
// panel3
|
|
//
|
|
this.panel3.Controls.Add(this.dataGridView1);
|
|
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.panel3.Location = new System.Drawing.Point(0, 62);
|
|
this.panel3.Name = "panel3";
|
|
this.panel3.Size = new System.Drawing.Size(770, 424);
|
|
this.panel3.TabIndex = 2;
|
|
//
|
|
// dataGridView1
|
|
//
|
|
this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.createtime,
|
|
this.temperature,
|
|
this.humidity});
|
|
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
this.dataGridView1.RowTemplate.Height = 23;
|
|
this.dataGridView1.Size = new System.Drawing.Size(770, 424);
|
|
this.dataGridView1.TabIndex = 0;
|
|
this.dataGridView1.RowStateChanged += new System.Windows.Forms.DataGridViewRowStateChangedEventHandler(this.dataGridView1_RowStateChanged);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.Location = new System.Drawing.Point(12, 19);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(87, 23);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "开始时间:";
|
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// dtStarttime
|
|
//
|
|
this.dtStarttime.Location = new System.Drawing.Point(86, 21);
|
|
this.dtStarttime.Name = "dtStarttime";
|
|
this.dtStarttime.Size = new System.Drawing.Size(127, 21);
|
|
this.dtStarttime.TabIndex = 1;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.Location = new System.Drawing.Point(259, 19);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(87, 23);
|
|
this.label2.TabIndex = 0;
|
|
this.label2.Text = "结束时间:";
|
|
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// dtEndtime
|
|
//
|
|
this.dtEndtime.Location = new System.Drawing.Point(333, 21);
|
|
this.dtEndtime.Name = "dtEndtime";
|
|
this.dtEndtime.Size = new System.Drawing.Size(127, 21);
|
|
this.dtEndtime.TabIndex = 1;
|
|
//
|
|
// btnQuery
|
|
//
|
|
this.btnQuery.Location = new System.Drawing.Point(501, 19);
|
|
this.btnQuery.Name = "btnQuery";
|
|
this.btnQuery.Size = new System.Drawing.Size(75, 23);
|
|
this.btnQuery.TabIndex = 2;
|
|
this.btnQuery.Text = "查询";
|
|
this.btnQuery.UseVisualStyleBackColor = true;
|
|
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
|
|
//
|
|
// createtime
|
|
//
|
|
this.createtime.DataPropertyName = "CREATETIME";
|
|
this.createtime.FillWeight = 40F;
|
|
this.createtime.HeaderText = "时间";
|
|
this.createtime.Name = "createtime";
|
|
this.createtime.ReadOnly = true;
|
|
//
|
|
// temperature
|
|
//
|
|
this.temperature.DataPropertyName = "TEMPRATURE";
|
|
this.temperature.FillWeight = 30F;
|
|
this.temperature.HeaderText = "温度";
|
|
this.temperature.Name = "temperature";
|
|
this.temperature.ReadOnly = true;
|
|
//
|
|
// humidity
|
|
//
|
|
this.humidity.DataPropertyName = "HUMIDITY";
|
|
this.humidity.FillWeight = 30F;
|
|
this.humidity.HeaderText = "湿度";
|
|
this.humidity.Name = "humidity";
|
|
this.humidity.ReadOnly = true;
|
|
//
|
|
// Form_Temperature
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(770, 486);
|
|
this.Controls.Add(this.panel3);
|
|
this.Controls.Add(this.panel2);
|
|
this.Controls.Add(this.panel1);
|
|
this.MaximizeBox = false;
|
|
this.Name = "Form_Temperature";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "温度&湿度";
|
|
this.Load += new System.EventHandler(this.Form_Temperature_Load);
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel3.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Panel panel2;
|
|
private System.Windows.Forms.Panel panel3;
|
|
private System.Windows.Forms.DataGridView dataGridView1;
|
|
private System.Windows.Forms.DateTimePicker dtStarttime;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Button btnQuery;
|
|
private System.Windows.Forms.DateTimePicker dtEndtime;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn createtime;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn temperature;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn humidity;
|
|
}
|
|
} |