208 lines
9.2 KiB
C#
208 lines
9.2 KiB
C#
namespace CMS_CORE_Application
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Variabile di progettazione necessaria.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Pulire le risorse in uso.
|
|
/// </summary>
|
|
/// <param name="disposing">ha valore true se le risorse gestite devono essere eliminate, false in caso contrario.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Codice generato da Progettazione Windows Form
|
|
|
|
/// <summary>
|
|
/// Metodo necessario per il supporto della finestra di progettazione. Non modificare
|
|
/// il contenuto del metodo con l'editor di codice.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.Connect = new System.Windows.Forms.Button();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.TXTport = new System.Windows.Forms.TextBox();
|
|
this.TXTip = new System.Windows.Forms.TextBox();
|
|
this.NcCombo = new System.Windows.Forms.ComboBox();
|
|
this.TXTPath1 = new System.Windows.Forms.TextBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.TXTStat1 = new System.Windows.Forms.TextBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.panel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// Connect
|
|
//
|
|
this.Connect.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.Connect.Location = new System.Drawing.Point(3, 86);
|
|
this.Connect.Name = "Connect";
|
|
this.Connect.Size = new System.Drawing.Size(229, 23);
|
|
this.Connect.TabIndex = 0;
|
|
this.Connect.Text = "Connect";
|
|
this.Connect.UseVisualStyleBackColor = true;
|
|
this.Connect.Click += new System.EventHandler(this.connectDemo_Click);
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.panel1.Controls.Add(this.label3);
|
|
this.panel1.Controls.Add(this.label2);
|
|
this.panel1.Controls.Add(this.label1);
|
|
this.panel1.Controls.Add(this.TXTport);
|
|
this.panel1.Controls.Add(this.TXTip);
|
|
this.panel1.Controls.Add(this.NcCombo);
|
|
this.panel1.Controls.Add(this.Connect);
|
|
this.panel1.Location = new System.Drawing.Point(12, 12);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(237, 114);
|
|
this.panel1.TabIndex = 1;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(49, 59);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(29, 13);
|
|
this.label3.TabIndex = 5;
|
|
this.label3.Text = "Port:";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(34, 33);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(44, 13);
|
|
this.label2.TabIndex = 4;
|
|
this.label2.Text = "Ip Addr:";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(27, 6);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(51, 13);
|
|
this.label1.TabIndex = 2;
|
|
this.label1.Text = "Nc Type:";
|
|
//
|
|
// TXTport
|
|
//
|
|
this.TXTport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.TXTport.Location = new System.Drawing.Point(82, 56);
|
|
this.TXTport.Name = "TXTport";
|
|
this.TXTport.Size = new System.Drawing.Size(150, 20);
|
|
this.TXTport.TabIndex = 3;
|
|
this.TXTport.Text = "8080";
|
|
//
|
|
// TXTip
|
|
//
|
|
this.TXTip.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.TXTip.Location = new System.Drawing.Point(82, 30);
|
|
this.TXTip.Name = "TXTip";
|
|
this.TXTip.Size = new System.Drawing.Size(150, 20);
|
|
this.TXTip.TabIndex = 2;
|
|
this.TXTip.Text = "192.168.157.2";
|
|
//
|
|
// NcCombo
|
|
//
|
|
this.NcCombo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.NcCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.NcCombo.FormattingEnabled = true;
|
|
this.NcCombo.Items.AddRange(new object[] {
|
|
"Demo",
|
|
"Fanuc",
|
|
"Siemens",
|
|
"Osai"});
|
|
this.NcCombo.Location = new System.Drawing.Point(82, 3);
|
|
this.NcCombo.Name = "NcCombo";
|
|
this.NcCombo.Size = new System.Drawing.Size(150, 21);
|
|
this.NcCombo.TabIndex = 2;
|
|
this.NcCombo.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
|
|
//
|
|
// TXTPath1
|
|
//
|
|
this.TXTPath1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.TXTPath1.Location = new System.Drawing.Point(100, 132);
|
|
this.TXTPath1.Name = "TXTPath1";
|
|
this.TXTPath1.ReadOnly = true;
|
|
this.TXTPath1.Size = new System.Drawing.Size(150, 20);
|
|
this.TXTPath1.TabIndex = 4;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(57, 135);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(37, 13);
|
|
this.label4.TabIndex = 6;
|
|
this.label4.Text = "Mode:";
|
|
//
|
|
// TXTStat1
|
|
//
|
|
this.TXTStat1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.TXTStat1.Location = new System.Drawing.Point(100, 158);
|
|
this.TXTStat1.Name = "TXTStat1";
|
|
this.TXTStat1.ReadOnly = true;
|
|
this.TXTStat1.Size = new System.Drawing.Size(150, 20);
|
|
this.TXTStat1.TabIndex = 7;
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(54, 161);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(40, 13);
|
|
this.label5.TabIndex = 8;
|
|
this.label5.Text = "Status:";
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(262, 326);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.TXTStat1);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.TXTPath1);
|
|
this.Controls.Add(this.panel1);
|
|
this.Name = "Form1";
|
|
this.Text = "Form1";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button Connect;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TextBox TXTport;
|
|
private System.Windows.Forms.TextBox TXTip;
|
|
private System.Windows.Forms.ComboBox NcCombo;
|
|
private System.Windows.Forms.TextBox TXTPath1;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.TextBox TXTStat1;
|
|
private System.Windows.Forms.Label label5;
|
|
}
|
|
}
|
|
|