MagTek 99875125 User Manual

Page 59

Advertising
background image

Section 5. Example Applications



public Form1()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();

//
// TODO: Add any constructor code after InitializeComponent call
//
}

/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (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.Resources.ResourceManager resources = new
System.Resources.ResourceManager(typeof(Form1));
this.btnOpen = new System.Windows.Forms.Button();
this.txtCommand = new System.Windows.Forms.TextBox();
this.lblCommand = new System.Windows.Forms.Label();
this.btnSend = new System.Windows.Forms.Button();
this.lblResponse = new System.Windows.Forms.Label();
this.txtResponse = new System.Windows.Forms.TextBox();
this.btnClose = new System.Windows.Forms.Button();
this.nudComPort = new System.Windows.Forms.NumericUpDown();
this.lblSelComPort = new System.Windows.Forms.Label();
this.axMSComm1 = new AxMSCommLib.AxMSComm();
this.txtOpenResults = new System.Windows.Forms.TextBox();
this.lblOpenResults = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.nudComPort)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.axMSComm1)).BeginInit();
this.SuspendLayout();
//
// btnOpen
//
this.btnOpen.Location = new System.Drawing.Point(56, 24);
this.btnOpen.Name = "btnOpen";
this.btnOpen.Size = new System.Drawing.Size(72, 20);

51

Advertising