namespace Adam4021 { partial class Form1 { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.panelAO = new System.Windows.Forms.Panel(); this.btnApplyOutput = new System.Windows.Forms.Button(); this.txtOutputValue = new System.Windows.Forms.TextBox(); this.label7 = new System.Windows.Forms.Label(); this.lblHigh = new System.Windows.Forms.Label(); this.lblLow = new System.Windows.Forms.Label(); this.trackBar1 = new System.Windows.Forms.TrackBar(); this.txtAOValue = new System.Windows.Forms.TextBox(); this.txtReadCount = new System.Windows.Forms.TextBox(); this.txtModule = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.buttonStart = new System.Windows.Forms.Button(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.panelAO.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); this.SuspendLayout(); // // panelAO // this.panelAO.BackColor = System.Drawing.Color.SkyBlue; this.panelAO.Controls.Add(this.btnApplyOutput); this.panelAO.Controls.Add(this.txtOutputValue); this.panelAO.Controls.Add(this.label7); this.panelAO.Controls.Add(this.lblHigh); this.panelAO.Controls.Add(this.lblLow); this.panelAO.Controls.Add(this.trackBar1); this.panelAO.Location = new System.Drawing.Point(12, 116); this.panelAO.Name = "panelAO"; this.panelAO.Size = new System.Drawing.Size(348, 115); this.panelAO.TabIndex = 10; // // btnApplyOutput // this.btnApplyOutput.Location = new System.Drawing.Point(233, 82); this.btnApplyOutput.Name = "btnApplyOutput"; this.btnApplyOutput.Size = new System.Drawing.Size(93, 23); this.btnApplyOutput.TabIndex = 5; this.btnApplyOutput.Text = "Apply output"; this.btnApplyOutput.UseVisualStyleBackColor = true; this.btnApplyOutput.Click += new System.EventHandler(this.btnApplyOutput_Click); // // txtOutputValue // this.txtOutputValue.Location = new System.Drawing.Point(98, 84); this.txtOutputValue.Name = "txtOutputValue"; this.txtOutputValue.ReadOnly = true; this.txtOutputValue.Size = new System.Drawing.Size(100, 22); this.txtOutputValue.TabIndex = 4; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(12, 87); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(80, 12); this.label7.TabIndex = 3; this.label7.Text = "Value to output:"; // // lblHigh // this.lblHigh.AutoSize = true; this.lblHigh.Location = new System.Drawing.Point(174, 36); this.lblHigh.Name = "lblHigh"; this.lblHigh.Size = new System.Drawing.Size(25, 12); this.lblHigh.TabIndex = 2; this.lblHigh.Text = "10V"; // // lblLow // this.lblLow.AutoSize = true; this.lblLow.Location = new System.Drawing.Point(12, 36); this.lblLow.Name = "lblLow"; this.lblLow.Size = new System.Drawing.Size(19, 12); this.lblLow.TabIndex = 1; this.lblLow.Text = "0V"; // // trackBar1 // this.trackBar1.LargeChange = 16; this.trackBar1.Location = new System.Drawing.Point(3, 3); this.trackBar1.Maximum = 4095; this.trackBar1.Name = "trackBar1"; this.trackBar1.Size = new System.Drawing.Size(204, 45); this.trackBar1.TabIndex = 0; this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged); // // txtAOValue // this.txtAOValue.Location = new System.Drawing.Point(113, 75); this.txtAOValue.Name = "txtAOValue"; this.txtAOValue.Size = new System.Drawing.Size(150, 22); this.txtAOValue.TabIndex = 16; // // txtReadCount // this.txtReadCount.Location = new System.Drawing.Point(113, 40); this.txtReadCount.Name = "txtReadCount"; this.txtReadCount.ReadOnly = true; this.txtReadCount.Size = new System.Drawing.Size(150, 22); this.txtReadCount.TabIndex = 15; this.txtReadCount.Text = "0"; // // txtModule // this.txtModule.Location = new System.Drawing.Point(113, 6); this.txtModule.Name = "txtModule"; this.txtModule.Size = new System.Drawing.Size(150, 22); this.txtModule.TabIndex = 14; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(10, 78); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(103, 12); this.label4.TabIndex = 13; this.label4.Text = "Analog output value:"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(10, 43); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(61, 12); this.label2.TabIndex = 12; this.label2.Text = "Read count:"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(10, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(72, 12); this.label1.TabIndex = 11; this.label1.Text = "Module name:"; // // buttonStart // this.buttonStart.Location = new System.Drawing.Point(286, 12); this.buttonStart.Name = "buttonStart"; this.buttonStart.Size = new System.Drawing.Size(75, 23); this.buttonStart.TabIndex = 17; this.buttonStart.Text = "Start"; this.buttonStart.UseVisualStyleBackColor = true; this.buttonStart.Click += new System.EventHandler(this.buttonStart_Click); // // timer1 // this.timer1.Interval = 500; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(373, 241); this.Controls.Add(this.buttonStart); this.Controls.Add(this.txtAOValue); this.Controls.Add(this.txtReadCount); this.Controls.Add(this.txtModule); this.Controls.Add(this.label4); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.panelAO); this.Name = "Form1"; this.Text = "Adam4021 sample program (C#)"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); this.panelAO.ResumeLayout(false); this.panelAO.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Panel panelAO; private System.Windows.Forms.Button btnApplyOutput; private System.Windows.Forms.TextBox txtOutputValue; private System.Windows.Forms.Label label7; private System.Windows.Forms.Label lblHigh; private System.Windows.Forms.Label lblLow; private System.Windows.Forms.TrackBar trackBar1; private System.Windows.Forms.TextBox txtAOValue; private System.Windows.Forms.TextBox txtReadCount; private System.Windows.Forms.TextBox txtModule; private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label1; private System.Windows.Forms.Button buttonStart; private System.Windows.Forms.Timer timer1; } }