246 lines
10 KiB
C#
246 lines
10 KiB
C#
|
|
namespace Tutorial_5
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <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.TemperatureSlider = new System.Windows.Forms.TrackBar();
|
|
this.Temperature = new System.Windows.Forms.Label();
|
|
this.TemperatureLabel = 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.label5 = new System.Windows.Forms.Label();
|
|
this.HumidityLabel = new System.Windows.Forms.Label();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.HumiditySlider = new System.Windows.Forms.TrackBar();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.PressureLabel = new System.Windows.Forms.Label();
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
this.PressureSlider = new System.Windows.Forms.TrackBar();
|
|
((System.ComponentModel.ISupportInitialize)(this.TemperatureSlider)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.HumiditySlider)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.PressureSlider)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// TemperatureSlider
|
|
//
|
|
this.TemperatureSlider.LargeChange = 10;
|
|
this.TemperatureSlider.Location = new System.Drawing.Point(153, 35);
|
|
this.TemperatureSlider.Maximum = 100;
|
|
this.TemperatureSlider.Minimum = -45;
|
|
this.TemperatureSlider.Name = "TemperatureSlider";
|
|
this.TemperatureSlider.Size = new System.Drawing.Size(562, 90);
|
|
this.TemperatureSlider.TabIndex = 0;
|
|
this.TemperatureSlider.Value = 20;
|
|
this.TemperatureSlider.ValueChanged += new System.EventHandler(this.SliderChanged);
|
|
//
|
|
// Temperature
|
|
//
|
|
this.Temperature.AutoSize = true;
|
|
this.Temperature.Location = new System.Drawing.Point(13, 35);
|
|
this.Temperature.Name = "Temperature";
|
|
this.Temperature.Size = new System.Drawing.Size(134, 25);
|
|
this.Temperature.TabIndex = 1;
|
|
this.Temperature.Text = "Temperature";
|
|
//
|
|
// TemperatureLabel
|
|
//
|
|
this.TemperatureLabel.AutoSize = true;
|
|
this.TemperatureLabel.Location = new System.Drawing.Point(721, 35);
|
|
this.TemperatureLabel.Name = "TemperatureLabel";
|
|
this.TemperatureLabel.Size = new System.Drawing.Size(59, 25);
|
|
this.TemperatureLabel.TabIndex = 2;
|
|
this.TemperatureLabel.Text = "25 ℃";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(656, 85);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(71, 25);
|
|
this.label2.TabIndex = 3;
|
|
this.label2.Text = "100 ℃";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(148, 85);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(66, 25);
|
|
this.label3.TabIndex = 4;
|
|
this.label3.Text = "-45 ℃";
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(148, 178);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(49, 25);
|
|
this.label4.TabIndex = 9;
|
|
this.label4.Text = "0 %";
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(656, 178);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(73, 25);
|
|
this.label5.TabIndex = 8;
|
|
this.label5.Text = "100 %";
|
|
//
|
|
// HumidityLabel
|
|
//
|
|
this.HumidityLabel.AutoSize = true;
|
|
this.HumidityLabel.Location = new System.Drawing.Point(721, 128);
|
|
this.HumidityLabel.Name = "HumidityLabel";
|
|
this.HumidityLabel.Size = new System.Drawing.Size(55, 25);
|
|
this.HumidityLabel.TabIndex = 7;
|
|
this.HumidityLabel.Text = "50%";
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Location = new System.Drawing.Point(13, 128);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(95, 25);
|
|
this.label7.TabIndex = 6;
|
|
this.label7.Text = "Humidity";
|
|
//
|
|
// HumiditySlider
|
|
//
|
|
this.HumiditySlider.LargeChange = 10;
|
|
this.HumiditySlider.Location = new System.Drawing.Point(153, 128);
|
|
this.HumiditySlider.Maximum = 100;
|
|
this.HumiditySlider.Name = "HumiditySlider";
|
|
this.HumiditySlider.Size = new System.Drawing.Size(562, 90);
|
|
this.HumiditySlider.TabIndex = 5;
|
|
this.HumiditySlider.Value = 20;
|
|
this.HumiditySlider.ValueChanged += new System.EventHandler(this.SliderChanged);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(148, 274);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(91, 25);
|
|
this.label1.TabIndex = 14;
|
|
this.label1.Text = "900 kPa";
|
|
//
|
|
// label8
|
|
//
|
|
this.label8.AutoSize = true;
|
|
this.label8.Location = new System.Drawing.Point(656, 274);
|
|
this.label8.Name = "label8";
|
|
this.label8.Size = new System.Drawing.Size(103, 25);
|
|
this.label8.TabIndex = 13;
|
|
this.label8.Text = "1100 kPa";
|
|
//
|
|
// PressureLabel
|
|
//
|
|
this.PressureLabel.AutoSize = true;
|
|
this.PressureLabel.Location = new System.Drawing.Point(721, 224);
|
|
this.PressureLabel.Name = "PressureLabel";
|
|
this.PressureLabel.Size = new System.Drawing.Size(103, 25);
|
|
this.PressureLabel.TabIndex = 12;
|
|
this.PressureLabel.Text = "1014 kPa";
|
|
//
|
|
// label10
|
|
//
|
|
this.label10.AutoSize = true;
|
|
this.label10.Location = new System.Drawing.Point(13, 224);
|
|
this.label10.Name = "label10";
|
|
this.label10.Size = new System.Drawing.Size(98, 25);
|
|
this.label10.TabIndex = 11;
|
|
this.label10.Text = "Pressure";
|
|
//
|
|
// PressureSlider
|
|
//
|
|
this.PressureSlider.LargeChange = 10;
|
|
this.PressureSlider.Location = new System.Drawing.Point(153, 224);
|
|
this.PressureSlider.Maximum = 1100;
|
|
this.PressureSlider.Minimum = 900;
|
|
this.PressureSlider.Name = "PressureSlider";
|
|
this.PressureSlider.Size = new System.Drawing.Size(562, 90);
|
|
this.PressureSlider.TabIndex = 10;
|
|
this.PressureSlider.Value = 1014;
|
|
this.PressureSlider.ValueChanged += new System.EventHandler(this.SliderChanged);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 25F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1061, 548);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.label8);
|
|
this.Controls.Add(this.PressureLabel);
|
|
this.Controls.Add(this.label10);
|
|
this.Controls.Add(this.PressureSlider);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.HumidityLabel);
|
|
this.Controls.Add(this.label7);
|
|
this.Controls.Add(this.HumiditySlider);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.TemperatureLabel);
|
|
this.Controls.Add(this.Temperature);
|
|
this.Controls.Add(this.TemperatureSlider);
|
|
this.Name = "Form1";
|
|
this.Text = "Form1";
|
|
this.Load += new System.EventHandler(this.Form1_Load_1);
|
|
((System.ComponentModel.ISupportInitialize)(this.TemperatureSlider)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.HumiditySlider)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.PressureSlider)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TrackBar TemperatureSlider;
|
|
private System.Windows.Forms.Label Temperature;
|
|
private System.Windows.Forms.Label TemperatureLabel;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.Label HumidityLabel;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.TrackBar HumiditySlider;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label8;
|
|
private System.Windows.Forms.Label PressureLabel;
|
|
private System.Windows.Forms.Label label10;
|
|
private System.Windows.Forms.TrackBar PressureSlider;
|
|
}
|
|
}
|
|
|