|
|
|
@ -32,23 +32,20 @@ namespace ClientForm |
|
|
|
|
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.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.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); |
|
|
|
|
this.imageButton = new System.Windows.Forms.Button(); |
|
|
|
|
this.objectButton = new System.Windows.Forms.Button(); |
|
|
|
|
this.fileButton = new System.Windows.Forms.Button(); |
|
|
|
|
this.stringButton = new System.Windows.Forms.Button(); |
|
|
|
|
this.startButton = new System.Windows.Forms.Button(); |
|
|
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
|
|
this.mainTablePanel.SuspendLayout(); |
|
|
|
|
this.statusStrip.SuspendLayout(); |
|
|
|
|
this.tableLayoutPanel1.SuspendLayout(); |
|
|
|
|
this.panel1.SuspendLayout(); |
|
|
|
|
this.tableLayoutPanel2.SuspendLayout(); |
|
|
|
|
this.statusStrip.SuspendLayout(); |
|
|
|
|
this.SuspendLayout(); |
|
|
|
|
// |
|
|
|
|
// logConsole |
|
|
|
@ -61,7 +58,7 @@ namespace ClientForm |
|
|
|
|
this.logConsole.Multiline = true; |
|
|
|
|
this.logConsole.Name = "logConsole"; |
|
|
|
|
this.logConsole.ScrollBars = System.Windows.Forms.ScrollBars.Both; |
|
|
|
|
this.logConsole.Size = new System.Drawing.Size(578, 393); |
|
|
|
|
this.logConsole.Size = new System.Drawing.Size(606, 350); |
|
|
|
|
this.logConsole.TabIndex = 1; |
|
|
|
|
// |
|
|
|
|
// mainTablePanel |
|
|
|
@ -76,47 +73,68 @@ namespace ClientForm |
|
|
|
|
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.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); |
|
|
|
|
this.mainTablePanel.Size = new System.Drawing.Size(612, 418); |
|
|
|
|
this.mainTablePanel.TabIndex = 3; |
|
|
|
|
// |
|
|
|
|
// statusStrip |
|
|
|
|
// |
|
|
|
|
this.statusStrip.ImageScalingSize = new System.Drawing.Size(20, 20); |
|
|
|
|
this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|
|
|
|
this.toolStripStatusLabel1, |
|
|
|
|
this.heartBeatStatus}); |
|
|
|
|
this.statusStrip.Location = new System.Drawing.Point(0, 396); |
|
|
|
|
this.statusStrip.Name = "statusStrip"; |
|
|
|
|
this.statusStrip.Size = new System.Drawing.Size(612, 22); |
|
|
|
|
this.statusStrip.TabIndex = 4; |
|
|
|
|
this.statusStrip.Text = "statusStrip1"; |
|
|
|
|
// |
|
|
|
|
// toolStripStatusLabel1 |
|
|
|
|
// |
|
|
|
|
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; |
|
|
|
|
this.toolStripStatusLabel1.Size = new System.Drawing.Size(0, 17); |
|
|
|
|
// |
|
|
|
|
// heartBeatStatus |
|
|
|
|
// |
|
|
|
|
this.heartBeatStatus.Name = "heartBeatStatus"; |
|
|
|
|
this.heartBeatStatus.Size = new System.Drawing.Size(0, 17); |
|
|
|
|
// |
|
|
|
|
// 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.startButton, 0, 0); |
|
|
|
|
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.Size = new System.Drawing.Size(612, 60); |
|
|
|
|
this.tableLayoutPanel1.TabIndex = 2; |
|
|
|
|
// |
|
|
|
|
// panel1 |
|
|
|
|
// imageButton |
|
|
|
|
// |
|
|
|
|
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; |
|
|
|
|
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; |
|
|
|
|
this.imageButton.Text = "image"; |
|
|
|
|
this.imageButton.UseVisualStyleBackColor = true; |
|
|
|
|
this.imageButton.Click += new System.EventHandler(this.imageButton_Click); |
|
|
|
|
// |
|
|
|
|
// stringButton |
|
|
|
|
// objectButton |
|
|
|
|
// |
|
|
|
|
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; |
|
|
|
|
this.stringButton.Text = "string"; |
|
|
|
|
this.stringButton.UseVisualStyleBackColor = true; |
|
|
|
|
this.stringButton.Click += new System.EventHandler(this.stringButton_Click); |
|
|
|
|
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; |
|
|
|
|
this.objectButton.Text = "object"; |
|
|
|
|
this.objectButton.UseVisualStyleBackColor = true; |
|
|
|
|
this.objectButton.Click += new System.EventHandler(this.objectButton_Click); |
|
|
|
|
// |
|
|
|
|
// fileButton |
|
|
|
|
// |
|
|
|
@ -128,88 +146,44 @@ namespace ClientForm |
|
|
|
|
this.fileButton.UseVisualStyleBackColor = true; |
|
|
|
|
this.fileButton.Click += new System.EventHandler(this.fileButton_Click); |
|
|
|
|
// |
|
|
|
|
// objectButton |
|
|
|
|
// |
|
|
|
|
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; |
|
|
|
|
this.objectButton.Text = "object"; |
|
|
|
|
this.objectButton.UseVisualStyleBackColor = true; |
|
|
|
|
this.objectButton.Click += new System.EventHandler(this.objectButton_Click); |
|
|
|
|
// |
|
|
|
|
// imageButton |
|
|
|
|
// |
|
|
|
|
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; |
|
|
|
|
this.imageButton.Text = "image"; |
|
|
|
|
this.imageButton.UseVisualStyleBackColor = true; |
|
|
|
|
this.imageButton.Click += new System.EventHandler(this.imageButton_Click); |
|
|
|
|
// stringButton |
|
|
|
|
// |
|
|
|
|
// 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; |
|
|
|
|
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; |
|
|
|
|
this.stringButton.Text = "string"; |
|
|
|
|
this.stringButton.UseVisualStyleBackColor = true; |
|
|
|
|
this.stringButton.Click += new System.EventHandler(this.stringButton_Click); |
|
|
|
|
// |
|
|
|
|
// startButton |
|
|
|
|
// |
|
|
|
|
this.startButton.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
|
this.startButton.Location = new System.Drawing.Point(3, 30); |
|
|
|
|
this.startButton.Location = new System.Drawing.Point(3, 3); |
|
|
|
|
this.startButton.Name = "startButton"; |
|
|
|
|
this.startButton.Size = new System.Drawing.Size(188, 21); |
|
|
|
|
this.startButton.Size = new System.Drawing.Size(194, 54); |
|
|
|
|
this.startButton.TabIndex = 0; |
|
|
|
|
this.startButton.Text = "Connect"; |
|
|
|
|
this.startButton.UseVisualStyleBackColor = true; |
|
|
|
|
this.startButton.Click += new System.EventHandler(this.startButton_Click); |
|
|
|
|
// |
|
|
|
|
// statusStrip |
|
|
|
|
// |
|
|
|
|
this.statusStrip.ImageScalingSize = new System.Drawing.Size(20, 20); |
|
|
|
|
this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|
|
|
|
this.toolStripStatusLabel1, |
|
|
|
|
this.heartBeatStatus}); |
|
|
|
|
this.statusStrip.Location = new System.Drawing.Point(0, 439); |
|
|
|
|
this.statusStrip.Name = "statusStrip"; |
|
|
|
|
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, 17); |
|
|
|
|
// |
|
|
|
|
// heartBeatStatus |
|
|
|
|
// |
|
|
|
|
this.heartBeatStatus.Name = "heartBeatStatus"; |
|
|
|
|
this.heartBeatStatus.Size = new System.Drawing.Size(0, 17); |
|
|
|
|
// |
|
|
|
|
// addressTextBox |
|
|
|
|
// panel1 |
|
|
|
|
// |
|
|
|
|
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; |
|
|
|
|
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(406, 54); |
|
|
|
|
this.panel1.TabIndex = 4; |
|
|
|
|
// |
|
|
|
|
// MainForm |
|
|
|
|
// |
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
|
this.ClientSize = new System.Drawing.Size(584, 461); |
|
|
|
|
this.ClientSize = new System.Drawing.Size(612, 418); |
|
|
|
|
this.Controls.Add(this.statusStrip); |
|
|
|
|
this.Controls.Add(this.mainTablePanel); |
|
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); |
|
|
|
@ -217,12 +191,10 @@ namespace ClientForm |
|
|
|
|
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.tableLayoutPanel1.ResumeLayout(false); |
|
|
|
|
this.panel1.ResumeLayout(false); |
|
|
|
|
this.ResumeLayout(false); |
|
|
|
|
this.PerformLayout(); |
|
|
|
|
|
|
|
|
@ -236,14 +208,12 @@ namespace ClientForm |
|
|
|
|
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1; |
|
|
|
|
private System.Windows.Forms.ToolStripStatusLabel heartBeatStatus; |
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; |
|
|
|
|
private System.Windows.Forms.Button startButton; |
|
|
|
|
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; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|