?? frmmain.designer.cs
字號:
namespace USB_PIC18_GUI
{
partial class frmMain
{
/// <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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
this.btnReadADC = new System.Windows.Forms.Button();
this.nudSamples = new System.Windows.Forms.NumericUpDown();
this.nudChannel = new System.Windows.Forms.NumericUpDown();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.lblVolts = new System.Windows.Forms.Label();
this.txtVolts = new System.Windows.Forms.TextBox();
this.gbADC = new System.Windows.Forms.GroupBox();
this.gbSwLed = new System.Windows.Forms.GroupBox();
this.btnSwitch = new System.Windows.Forms.Button();
this.btnLED1 = new System.Windows.Forms.Button();
this.btnLED2 = new System.Windows.Forms.Button();
this.lblS2 = new System.Windows.Forms.Label();
this.lblS1 = new System.Windows.Forms.Label();
this.btnLogo = new System.Windows.Forms.Button();
this.lblLogo = new System.Windows.Forms.Label();
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
((System.ComponentModel.ISupportInitialize)(this.nudSamples)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudChannel)).BeginInit();
this.gbADC.SuspendLayout();
this.gbSwLed.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// btnReadADC
//
this.btnReadADC.Location = new System.Drawing.Point(26, 28);
this.btnReadADC.Name = "btnReadADC";
this.btnReadADC.Size = new System.Drawing.Size(73, 22);
this.btnReadADC.TabIndex = 0;
this.btnReadADC.Text = "Read";
this.btnReadADC.UseVisualStyleBackColor = true;
this.btnReadADC.Click += new System.EventHandler(this.btnReadADC_Click);
//
// nudSamples
//
this.nudSamples.Location = new System.Drawing.Point(222, 28);
this.nudSamples.Maximum = new decimal(new int[] {
50,
0,
0,
0});
this.nudSamples.Minimum = new decimal(new int[] {
1,
0,
0,
0});
this.nudSamples.Name = "nudSamples";
this.nudSamples.Size = new System.Drawing.Size(51, 20);
this.nudSamples.TabIndex = 1;
this.nudSamples.Value = new decimal(new int[] {
1,
0,
0,
0});
//
// nudChannel
//
this.nudChannel.Location = new System.Drawing.Point(136, 28);
this.nudChannel.Maximum = new decimal(new int[] {
1,
0,
0,
0});
this.nudChannel.Name = "nudChannel";
this.nudChannel.Size = new System.Drawing.Size(45, 20);
this.nudChannel.TabIndex = 2;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(219, 2);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(47, 13);
this.label1.TabIndex = 3;
this.label1.Text = "Samples";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(135, 2);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(46, 13);
this.label2.TabIndex = 4;
this.label2.Text = "Channel";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lblVolts
//
this.lblVolts.AutoSize = true;
this.lblVolts.Location = new System.Drawing.Point(311, 2);
this.lblVolts.Name = "lblVolts";
this.lblVolts.Size = new System.Drawing.Size(30, 13);
this.lblVolts.TabIndex = 6;
this.lblVolts.Text = "Volts";
//
// txtVolts
//
this.txtVolts.Location = new System.Drawing.Point(314, 28);
this.txtVolts.MaxLength = 6;
this.txtVolts.Name = "txtVolts";
this.txtVolts.Size = new System.Drawing.Size(57, 20);
this.txtVolts.TabIndex = 7;
this.txtVolts.Text = "0";
//
// gbADC
//
this.gbADC.Controls.Add(this.txtVolts);
this.gbADC.Controls.Add(this.lblVolts);
this.gbADC.Controls.Add(this.label2);
this.gbADC.Controls.Add(this.label1);
this.gbADC.Controls.Add(this.nudChannel);
this.gbADC.Controls.Add(this.nudSamples);
this.gbADC.Controls.Add(this.btnReadADC);
this.gbADC.Location = new System.Drawing.Point(21, 93);
this.gbADC.Name = "gbADC";
this.gbADC.Size = new System.Drawing.Size(402, 70);
this.gbADC.TabIndex = 8;
this.gbADC.TabStop = false;
this.gbADC.Text = "ADC";
//
// gbSwLed
//
this.gbSwLed.Controls.Add(this.btnSwitch);
this.gbSwLed.Controls.Add(this.btnLED1);
this.gbSwLed.Controls.Add(this.btnLED2);
this.gbSwLed.Controls.Add(this.lblS2);
this.gbSwLed.Controls.Add(this.lblS1);
this.gbSwLed.Location = new System.Drawing.Point(21, 182);
this.gbSwLed.Name = "gbSwLed";
this.gbSwLed.Size = new System.Drawing.Size(402, 78);
this.gbSwLed.TabIndex = 9;
this.gbSwLed.TabStop = false;
this.gbSwLed.Text = "Switches and LEDs";
//
// btnSwitch
//
this.btnSwitch.Location = new System.Drawing.Point(26, 35);
this.btnSwitch.Name = "btnSwitch";
this.btnSwitch.Size = new System.Drawing.Size(73, 22);
this.btnSwitch.TabIndex = 5;
this.btnSwitch.Text = "Check";
this.btnSwitch.UseVisualStyleBackColor = true;
this.btnSwitch.Click += new System.EventHandler(this.btnSwitch_Click);
//
// btnLED1
//
this.btnLED1.Location = new System.Drawing.Point(240, 35);
this.btnLED1.Name = "btnLED1";
this.btnLED1.Size = new System.Drawing.Size(73, 22);
this.btnLED1.TabIndex = 4;
this.btnLED1.Text = "LED1";
this.btnLED1.UseVisualStyleBackColor = true;
this.btnLED1.Click += new System.EventHandler(this.btnLED1_Click);
//
// btnLED2
//
this.btnLED2.Location = new System.Drawing.Point(319, 35);
this.btnLED2.Name = "btnLED2";
this.btnLED2.Size = new System.Drawing.Size(73, 22);
this.btnLED2.TabIndex = 3;
this.btnLED2.Text = "LED2";
this.btnLED2.UseVisualStyleBackColor = true;
this.btnLED2.Click += new System.EventHandler(this.btnLED2_Click);
//
// lblS2
//
this.lblS2.AutoSize = true;
this.lblS2.Location = new System.Drawing.Point(187, 40);
this.lblS2.Name = "lblS2";
this.lblS2.Size = new System.Drawing.Size(46, 13);
this.lblS2.TabIndex = 1;
this.lblS2.Text = "S2=OFF";
//
// lblS1
//
this.lblS1.AutoSize = true;
this.lblS1.Location = new System.Drawing.Point(132, 40);
this.lblS1.Name = "lblS1";
this.lblS1.Size = new System.Drawing.Size(46, 13);
this.lblS1.TabIndex = 0;
this.lblS1.Text = "S1=OFF";
//
// btnLogo
//
this.btnLogo.Location = new System.Drawing.Point(12, 7);
this.btnLogo.Name = "btnLogo";
this.btnLogo.Size = new System.Drawing.Size(73, 22);
this.btnLogo.TabIndex = 11;
this.btnLogo.Text = "Logo";
this.btnLogo.UseVisualStyleBackColor = true;
this.btnLogo.Click += new System.EventHandler(this.btnLogo_Click);
//
// lblLogo
//
this.lblLogo.AutoSize = true;
this.lblLogo.Location = new System.Drawing.Point(111, 7);
this.lblLogo.Name = "lblLogo";
this.lblLogo.Size = new System.Drawing.Size(0, 13);
this.lblLogo.TabIndex = 12;
//
// linkLabel1
//
this.linkLabel1.AutoSize = true;
this.linkLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.linkLabel1.Location = new System.Drawing.Point(9, 41);
this.linkLabel1.Name = "linkLabel1";
this.linkLabel1.Size = new System.Drawing.Size(337, 16);
this.linkLabel1.TabIndex = 13;
this.linkLabel1.TabStop = true;
this.linkLabel1.Text = "PIC18 USB Example. By Rafique4m@gmail.com";
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
//
// pictureBox1
//
this.pictureBox1.Image = global::USB_PIC18_GUI.Properties.Resources.usb_Symbol1;
this.pictureBox1.Location = new System.Drawing.Point(360, 7);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(83, 60);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 14;
this.pictureBox1.TabStop = false;
//
// frmMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(446, 277);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.linkLabel1);
this.Controls.Add(this.lblLogo);
this.Controls.Add(this.btnLogo);
this.Controls.Add(this.gbSwLed);
this.Controls.Add(this.gbADC);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "frmMain";
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
this.Text = "PIC18 USB Interface";
this.Load += new System.EventHandler(this.frmMain_Load);
((System.ComponentModel.ISupportInitialize)(this.nudSamples)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudChannel)).EndInit();
this.gbADC.ResumeLayout(false);
this.gbADC.PerformLayout();
this.gbSwLed.ResumeLayout(false);
this.gbSwLed.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button btnReadADC;
private System.Windows.Forms.NumericUpDown nudSamples;
private System.Windows.Forms.NumericUpDown nudChannel;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label lblVolts;
private System.Windows.Forms.TextBox txtVolts;
private System.Windows.Forms.GroupBox gbADC;
private System.Windows.Forms.GroupBox gbSwLed;
private System.Windows.Forms.Button btnSwitch;
private System.Windows.Forms.Button btnLED1;
private System.Windows.Forms.Button btnLED2;
private System.Windows.Forms.Label lblS2;
private System.Windows.Forms.Label lblS1;
private System.Windows.Forms.Button btnLogo;
private System.Windows.Forms.Label lblLogo;
private System.Windows.Forms.LinkLabel linkLabel1;
private System.Windows.Forms.PictureBox pictureBox1;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -