MagTek 99875125 User Manual

Page 61

Advertising
background image

Section 5. Example Applications



this.btnClose.Size = new System.Drawing.Size(80, 20);
this.btnClose.TabIndex = 6;
this.btnClose.Text = "&Close Port";
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// nudComPort
//
this.nudComPort.Location = new System.Drawing.Point(16, 24);
this.nudComPort.Maximum = new System.Decimal(new int[] {
16,
0,
0,
0});
this.nudComPort.Minimum = new System.Decimal(new int[] {
1,
0,
0,
0});
this.nudComPort.Name = "nudComPort";
this.nudComPort.Size = new System.Drawing.Size(35, 20);
this.nudComPort.TabIndex = 8;
this.nudComPort.Value = new System.Decimal(new int[] {
1,
0,
0,
0});
//
// lblSelComPort
//
this.lblSelComPort.AutoSize = true;
this.lblSelComPort.Location = new System.Drawing.Point(8, 8);
this.lblSelComPort.Name = "lblSelComPort";
this.lblSelComPort.Size = new System.Drawing.Size(236, 13);
this.lblSelComPort.TabIndex = 9;
this.lblSelComPort.Text = "Select Virtual Comm Port then click Open Port";
this.lblSelComPort.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// axMSComm1
//
this.axMSComm1.Enabled = true;
this.axMSComm1.Location = new System.Drawing.Point(448, 8);
this.axMSComm1.Name = "axMSComm1";
this.axMSComm1.OcxState =
((System.Windows.Forms.AxHost.State)(resources.GetObject("axMSComm1.OcxState")));
this.axMSComm1.Size = new System.Drawing.Size(38, 38);
this.axMSComm1.TabIndex = 10;
this.axMSComm1.OnComm += new System.EventHandler(this.axMSComm1_OnComm);
//
// txtOpenResults
//
this.txtOpenResults.Location = new System.Drawing.Point(8, 77);
this.txtOpenResults.Name = "txtOpenResults";
this.txtOpenResults.Size = new System.Drawing.Size(272, 20);
this.txtOpenResults.TabIndex = 11;
this.txtOpenResults.Text = "";
//
// lblOpenResults

53

Advertising