|
|
|
@ -29,18 +29,25 @@ namespace ClientForm |
|
|
|
|
/// </summary> |
|
|
|
|
private void InitializeComponent() |
|
|
|
|
{ |
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); |
|
|
|
|
this.logConsole = new System.Windows.Forms.TextBox(); |
|
|
|
|
this.mainTablePanel = new System.Windows.Forms.TableLayoutPanel(); |
|
|
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); |
|
|
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
|
|
this.stringButton = new System.Windows.Forms.Button(); |
|
|
|
|
this.fileButton = new System.Windows.Forms.Button(); |
|
|
|
|
this.objectButton = new System.Windows.Forms.Button(); |
|
|
|
|
this.imageButton = new System.Windows.Forms.Button(); |
|
|
|
|
this.fileButton = new System.Windows.Forms.Button(); |
|
|
|
|
this.mainTablePanel = new System.Windows.Forms.TableLayoutPanel(); |
|
|
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
|
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); |
|
|
|
|
this.startButton = new System.Windows.Forms.Button(); |
|
|
|
|
this.statusStrip = new System.Windows.Forms.StatusStrip(); |
|
|
|
|
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); |
|
|
|
|
this.heartBeatStatus = new System.Windows.Forms.ToolStripStatusLabel(); |
|
|
|
|
this.addressTextBox = new System.Windows.Forms.TextBox(); |
|
|
|
|
this.mainTablePanel.SuspendLayout(); |
|
|
|
|
this.tableLayoutPanel1.SuspendLayout(); |
|
|
|
|
this.panel1.SuspendLayout(); |
|
|
|
|
this.tableLayoutPanel2.SuspendLayout(); |
|
|
|
|
this.statusStrip.SuspendLayout(); |
|
|
|
|
this.SuspendLayout(); |
|
|
|
|
// |
|
|
|
@ -49,17 +56,61 @@ namespace ClientForm |
|
|
|
|
this.logConsole.BackColor = System.Drawing.Color.Black; |
|
|
|
|
this.logConsole.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
|
this.logConsole.ForeColor = System.Drawing.Color.SpringGreen; |
|
|
|
|
this.logConsole.Location = new System.Drawing.Point(153, 4); |
|
|
|
|
this.logConsole.Location = new System.Drawing.Point(3, 64); |
|
|
|
|
this.logConsole.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
|
|
|
|
this.logConsole.Multiline = true; |
|
|
|
|
this.logConsole.Name = "logConsole"; |
|
|
|
|
this.logConsole.ScrollBars = System.Windows.Forms.ScrollBars.Both; |
|
|
|
|
this.logConsole.Size = new System.Drawing.Size(572, 354); |
|
|
|
|
this.logConsole.Size = new System.Drawing.Size(578, 393); |
|
|
|
|
this.logConsole.TabIndex = 1; |
|
|
|
|
// |
|
|
|
|
// mainTablePanel |
|
|
|
|
// |
|
|
|
|
this.mainTablePanel.ColumnCount = 1; |
|
|
|
|
this.mainTablePanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
|
|
|
this.mainTablePanel.Controls.Add(this.logConsole, 0, 1); |
|
|
|
|
this.mainTablePanel.Controls.Add(this.tableLayoutPanel1, 0, 0); |
|
|
|
|
this.mainTablePanel.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
|
this.mainTablePanel.Location = new System.Drawing.Point(0, 0); |
|
|
|
|
this.mainTablePanel.Name = "mainTablePanel"; |
|
|
|
|
this.mainTablePanel.RowCount = 2; |
|
|
|
|
this.mainTablePanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 60F)); |
|
|
|
|
this.mainTablePanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
|
|
|
this.mainTablePanel.Size = new System.Drawing.Size(584, 461); |
|
|
|
|
this.mainTablePanel.TabIndex = 3; |
|
|
|
|
// |
|
|
|
|
// tableLayoutPanel1 |
|
|
|
|
// |
|
|
|
|
this.tableLayoutPanel1.ColumnCount = 2; |
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 200F)); |
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); |
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.panel1, 1, 0); |
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 0); |
|
|
|
|
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); |
|
|
|
|
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0); |
|
|
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1"; |
|
|
|
|
this.tableLayoutPanel1.RowCount = 1; |
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
|
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(584, 60); |
|
|
|
|
this.tableLayoutPanel1.TabIndex = 2; |
|
|
|
|
// |
|
|
|
|
// panel1 |
|
|
|
|
// |
|
|
|
|
this.panel1.Controls.Add(this.stringButton); |
|
|
|
|
this.panel1.Controls.Add(this.fileButton); |
|
|
|
|
this.panel1.Controls.Add(this.objectButton); |
|
|
|
|
this.panel1.Controls.Add(this.imageButton); |
|
|
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
|
this.panel1.Location = new System.Drawing.Point(203, 3); |
|
|
|
|
this.panel1.Name = "panel1"; |
|
|
|
|
this.panel1.Size = new System.Drawing.Size(378, 54); |
|
|
|
|
this.panel1.TabIndex = 4; |
|
|
|
|
// |
|
|
|
|
// stringButton |
|
|
|
|
// |
|
|
|
|
this.stringButton.Location = new System.Drawing.Point(32, 22); |
|
|
|
|
this.stringButton.Location = new System.Drawing.Point(29, 15); |
|
|
|
|
this.stringButton.Name = "stringButton"; |
|
|
|
|
this.stringButton.Size = new System.Drawing.Size(75, 23); |
|
|
|
|
this.stringButton.TabIndex = 2; |
|
|
|
@ -67,9 +118,19 @@ namespace ClientForm |
|
|
|
|
this.stringButton.UseVisualStyleBackColor = true; |
|
|
|
|
this.stringButton.Click += new System.EventHandler(this.stringButton_Click); |
|
|
|
|
// |
|
|
|
|
// fileButton |
|
|
|
|
// |
|
|
|
|
this.fileButton.Location = new System.Drawing.Point(272, 15); |
|
|
|
|
this.fileButton.Name = "fileButton"; |
|
|
|
|
this.fileButton.Size = new System.Drawing.Size(75, 23); |
|
|
|
|
this.fileButton.TabIndex = 2; |
|
|
|
|
this.fileButton.Text = "file"; |
|
|
|
|
this.fileButton.UseVisualStyleBackColor = true; |
|
|
|
|
this.fileButton.Click += new System.EventHandler(this.fileButton_Click); |
|
|
|
|
// |
|
|
|
|
// objectButton |
|
|
|
|
// |
|
|
|
|
this.objectButton.Location = new System.Drawing.Point(32, 69); |
|
|
|
|
this.objectButton.Location = new System.Drawing.Point(110, 15); |
|
|
|
|
this.objectButton.Name = "objectButton"; |
|
|
|
|
this.objectButton.Size = new System.Drawing.Size(75, 23); |
|
|
|
|
this.objectButton.TabIndex = 2; |
|
|
|
@ -79,7 +140,7 @@ namespace ClientForm |
|
|
|
|
// |
|
|
|
|
// imageButton |
|
|
|
|
// |
|
|
|
|
this.imageButton.Location = new System.Drawing.Point(32, 111); |
|
|
|
|
this.imageButton.Location = new System.Drawing.Point(191, 15); |
|
|
|
|
this.imageButton.Name = "imageButton"; |
|
|
|
|
this.imageButton.Size = new System.Drawing.Size(75, 23); |
|
|
|
|
this.imageButton.TabIndex = 2; |
|
|
|
@ -87,42 +148,31 @@ namespace ClientForm |
|
|
|
|
this.imageButton.UseVisualStyleBackColor = true; |
|
|
|
|
this.imageButton.Click += new System.EventHandler(this.imageButton_Click); |
|
|
|
|
// |
|
|
|
|
// fileButton |
|
|
|
|
// |
|
|
|
|
this.fileButton.Location = new System.Drawing.Point(32, 152); |
|
|
|
|
this.fileButton.Name = "fileButton"; |
|
|
|
|
this.fileButton.Size = new System.Drawing.Size(75, 23); |
|
|
|
|
this.fileButton.TabIndex = 2; |
|
|
|
|
this.fileButton.Text = "file"; |
|
|
|
|
this.fileButton.UseVisualStyleBackColor = true; |
|
|
|
|
this.fileButton.Click += new System.EventHandler(this.fileButton_Click); |
|
|
|
|
// |
|
|
|
|
// mainTablePanel |
|
|
|
|
// |
|
|
|
|
this.mainTablePanel.ColumnCount = 2; |
|
|
|
|
this.mainTablePanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 150F)); |
|
|
|
|
this.mainTablePanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
|
|
|
this.mainTablePanel.Controls.Add(this.logConsole, 1, 0); |
|
|
|
|
this.mainTablePanel.Controls.Add(this.panel1, 0, 0); |
|
|
|
|
this.mainTablePanel.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
|
this.mainTablePanel.Location = new System.Drawing.Point(0, 0); |
|
|
|
|
this.mainTablePanel.Name = "mainTablePanel"; |
|
|
|
|
this.mainTablePanel.RowCount = 1; |
|
|
|
|
this.mainTablePanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
|
|
|
this.mainTablePanel.Size = new System.Drawing.Size(728, 362); |
|
|
|
|
this.mainTablePanel.TabIndex = 3; |
|
|
|
|
// |
|
|
|
|
// panel1 |
|
|
|
|
// |
|
|
|
|
this.panel1.Controls.Add(this.stringButton); |
|
|
|
|
this.panel1.Controls.Add(this.fileButton); |
|
|
|
|
this.panel1.Controls.Add(this.objectButton); |
|
|
|
|
this.panel1.Controls.Add(this.imageButton); |
|
|
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
|
this.panel1.Location = new System.Drawing.Point(3, 3); |
|
|
|
|
this.panel1.Name = "panel1"; |
|
|
|
|
this.panel1.Size = new System.Drawing.Size(144, 356); |
|
|
|
|
this.panel1.TabIndex = 2; |
|
|
|
|
// tableLayoutPanel2 |
|
|
|
|
// |
|
|
|
|
this.tableLayoutPanel2.ColumnCount = 1; |
|
|
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); |
|
|
|
|
this.tableLayoutPanel2.Controls.Add(this.startButton, 0, 1); |
|
|
|
|
this.tableLayoutPanel2.Controls.Add(this.addressTextBox, 0, 0); |
|
|
|
|
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
|
this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 3); |
|
|
|
|
this.tableLayoutPanel2.Name = "tableLayoutPanel2"; |
|
|
|
|
this.tableLayoutPanel2.RowCount = 2; |
|
|
|
|
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); |
|
|
|
|
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); |
|
|
|
|
this.tableLayoutPanel2.Size = new System.Drawing.Size(194, 54); |
|
|
|
|
this.tableLayoutPanel2.TabIndex = 5; |
|
|
|
|
// |
|
|
|
|
// startButton |
|
|
|
|
// |
|
|
|
|
this.startButton.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
|
this.startButton.Location = new System.Drawing.Point(3, 30); |
|
|
|
|
this.startButton.Name = "startButton"; |
|
|
|
|
this.startButton.Size = new System.Drawing.Size(188, 21); |
|
|
|
|
this.startButton.TabIndex = 0; |
|
|
|
|
this.startButton.Text = "Connect"; |
|
|
|
|
this.startButton.UseVisualStyleBackColor = true; |
|
|
|
|
this.startButton.Click += new System.EventHandler(this.startButton_Click); |
|
|
|
|
// |
|
|
|
|
// statusStrip |
|
|
|
|
// |
|
|
|
@ -130,35 +180,47 @@ namespace ClientForm |
|
|
|
|
this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|
|
|
|
this.toolStripStatusLabel1, |
|
|
|
|
this.heartBeatStatus}); |
|
|
|
|
this.statusStrip.Location = new System.Drawing.Point(0, 344); |
|
|
|
|
this.statusStrip.Location = new System.Drawing.Point(0, 439); |
|
|
|
|
this.statusStrip.Name = "statusStrip"; |
|
|
|
|
this.statusStrip.Size = new System.Drawing.Size(728, 18); |
|
|
|
|
this.statusStrip.Size = new System.Drawing.Size(584, 22); |
|
|
|
|
this.statusStrip.TabIndex = 4; |
|
|
|
|
this.statusStrip.Text = "statusStrip1"; |
|
|
|
|
// |
|
|
|
|
// toolStripStatusLabel1 |
|
|
|
|
// |
|
|
|
|
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; |
|
|
|
|
this.toolStripStatusLabel1.Size = new System.Drawing.Size(0, 13); |
|
|
|
|
this.toolStripStatusLabel1.Size = new System.Drawing.Size(0, 17); |
|
|
|
|
// |
|
|
|
|
// heartBeatStatus |
|
|
|
|
// |
|
|
|
|
this.heartBeatStatus.Name = "heartBeatStatus"; |
|
|
|
|
this.heartBeatStatus.Size = new System.Drawing.Size(0, 13); |
|
|
|
|
this.heartBeatStatus.Size = new System.Drawing.Size(0, 17); |
|
|
|
|
// |
|
|
|
|
// addressTextBox |
|
|
|
|
// |
|
|
|
|
this.addressTextBox.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
|
this.addressTextBox.Location = new System.Drawing.Point(3, 3); |
|
|
|
|
this.addressTextBox.Name = "addressTextBox"; |
|
|
|
|
this.addressTextBox.Size = new System.Drawing.Size(188, 21); |
|
|
|
|
this.addressTextBox.TabIndex = 1; |
|
|
|
|
this.addressTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; |
|
|
|
|
// |
|
|
|
|
// MainForm |
|
|
|
|
// |
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
|
this.ClientSize = new System.Drawing.Size(910, 452); |
|
|
|
|
this.ClientSize = new System.Drawing.Size(584, 461); |
|
|
|
|
this.Controls.Add(this.statusStrip); |
|
|
|
|
this.Controls.Add(this.mainTablePanel); |
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; |
|
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); |
|
|
|
|
this.Name = "MainForm"; |
|
|
|
|
this.Text = "Client"; |
|
|
|
|
this.mainTablePanel.ResumeLayout(false); |
|
|
|
|
this.mainTablePanel.PerformLayout(); |
|
|
|
|
this.tableLayoutPanel1.ResumeLayout(false); |
|
|
|
|
this.panel1.ResumeLayout(false); |
|
|
|
|
this.tableLayoutPanel2.ResumeLayout(false); |
|
|
|
|
this.tableLayoutPanel2.PerformLayout(); |
|
|
|
|
this.statusStrip.ResumeLayout(false); |
|
|
|
|
this.statusStrip.PerformLayout(); |
|
|
|
|
this.ResumeLayout(false); |
|
|
|
@ -169,15 +231,19 @@ namespace ClientForm |
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.TextBox logConsole; |
|
|
|
|
private System.Windows.Forms.Button stringButton; |
|
|
|
|
private System.Windows.Forms.Button objectButton; |
|
|
|
|
private System.Windows.Forms.Button imageButton; |
|
|
|
|
private System.Windows.Forms.Button fileButton; |
|
|
|
|
private System.Windows.Forms.TableLayoutPanel mainTablePanel; |
|
|
|
|
private System.Windows.Forms.Panel panel1; |
|
|
|
|
private System.Windows.Forms.StatusStrip statusStrip; |
|
|
|
|
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1; |
|
|
|
|
private System.Windows.Forms.ToolStripStatusLabel heartBeatStatus; |
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; |
|
|
|
|
private System.Windows.Forms.Panel panel1; |
|
|
|
|
private System.Windows.Forms.Button stringButton; |
|
|
|
|
private System.Windows.Forms.Button fileButton; |
|
|
|
|
private System.Windows.Forms.Button objectButton; |
|
|
|
|
private System.Windows.Forms.Button imageButton; |
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; |
|
|
|
|
private System.Windows.Forms.Button startButton; |
|
|
|
|
private System.Windows.Forms.TextBox addressTextBox; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|