|
|
|
@ -29,6 +29,7 @@ namespace Waker |
|
|
|
|
/// </summary> |
|
|
|
|
private void InitializeComponent() |
|
|
|
|
{ |
|
|
|
|
this.components = new System.ComponentModel.Container(); |
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); |
|
|
|
|
this.AddressTextBox = new System.Windows.Forms.TextBox(); |
|
|
|
|
this.label1 = new System.Windows.Forms.Label(); |
|
|
|
@ -37,6 +38,10 @@ namespace Waker |
|
|
|
|
this.WakeButton = new System.Windows.Forms.Button(); |
|
|
|
|
this.label3 = new System.Windows.Forms.Label(); |
|
|
|
|
this.PortTextBox = new System.Windows.Forms.TextBox(); |
|
|
|
|
this.PingPortTextBox = new System.Windows.Forms.TextBox(); |
|
|
|
|
this.label4 = new System.Windows.Forms.Label(); |
|
|
|
|
this.PingStatusPanel = new System.Windows.Forms.Panel(); |
|
|
|
|
this.pingTimer = new System.Windows.Forms.Timer(this.components); |
|
|
|
|
this.SuspendLayout(); |
|
|
|
|
// |
|
|
|
|
// AddressTextBox |
|
|
|
@ -75,8 +80,8 @@ namespace Waker |
|
|
|
|
// |
|
|
|
|
this.WakeButton.Location = new System.Drawing.Point(271, 12); |
|
|
|
|
this.WakeButton.Name = "WakeButton"; |
|
|
|
|
this.WakeButton.Size = new System.Drawing.Size(102, 83); |
|
|
|
|
this.WakeButton.TabIndex = 3; |
|
|
|
|
this.WakeButton.Size = new System.Drawing.Size(102, 112); |
|
|
|
|
this.WakeButton.TabIndex = 4; |
|
|
|
|
this.WakeButton.Text = "WoL"; |
|
|
|
|
this.WakeButton.UseVisualStyleBackColor = true; |
|
|
|
|
this.WakeButton.Click += new System.EventHandler(this.WakeButton_Click); |
|
|
|
@ -98,13 +103,47 @@ namespace Waker |
|
|
|
|
this.PortTextBox.TabIndex = 2; |
|
|
|
|
this.PortTextBox.Text = "7, 9"; |
|
|
|
|
// |
|
|
|
|
// PingPortTextBox |
|
|
|
|
// |
|
|
|
|
this.PingPortTextBox.Location = new System.Drawing.Point(138, 101); |
|
|
|
|
this.PingPortTextBox.Name = "PingPortTextBox"; |
|
|
|
|
this.PingPortTextBox.Size = new System.Drawing.Size(98, 23); |
|
|
|
|
this.PingPortTextBox.TabIndex = 3; |
|
|
|
|
this.PingPortTextBox.TextChanged += new System.EventHandler(this.PingPortTextBox_TextChanged); |
|
|
|
|
// |
|
|
|
|
// label4 |
|
|
|
|
// |
|
|
|
|
this.label4.AutoSize = true; |
|
|
|
|
this.label4.Location = new System.Drawing.Point(19, 105); |
|
|
|
|
this.label4.Name = "label4"; |
|
|
|
|
this.label4.Size = new System.Drawing.Size(113, 15); |
|
|
|
|
this.label4.TabIndex = 3; |
|
|
|
|
this.label4.Text = "ping port (optional)"; |
|
|
|
|
// |
|
|
|
|
// PingStatusPanel |
|
|
|
|
// |
|
|
|
|
this.PingStatusPanel.BackColor = System.Drawing.Color.Gray; |
|
|
|
|
this.PingStatusPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
|
this.PingStatusPanel.Location = new System.Drawing.Point(242, 101); |
|
|
|
|
this.PingStatusPanel.Name = "PingStatusPanel"; |
|
|
|
|
this.PingStatusPanel.Size = new System.Drawing.Size(23, 23); |
|
|
|
|
this.PingStatusPanel.TabIndex = 4; |
|
|
|
|
// |
|
|
|
|
// pingTimer |
|
|
|
|
// |
|
|
|
|
this.pingTimer.Interval = 5000; |
|
|
|
|
this.pingTimer.Tick += new System.EventHandler(this.pingTimer_Tick); |
|
|
|
|
// |
|
|
|
|
// MainForm |
|
|
|
|
// |
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); |
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
|
this.BackColor = System.Drawing.Color.White; |
|
|
|
|
this.ClientSize = new System.Drawing.Size(383, 105); |
|
|
|
|
this.ClientSize = new System.Drawing.Size(383, 134); |
|
|
|
|
this.Controls.Add(this.PingStatusPanel); |
|
|
|
|
this.Controls.Add(this.label4); |
|
|
|
|
this.Controls.Add(this.label3); |
|
|
|
|
this.Controls.Add(this.PingPortTextBox); |
|
|
|
|
this.Controls.Add(this.PortTextBox); |
|
|
|
|
this.Controls.Add(this.WakeButton); |
|
|
|
|
this.Controls.Add(this.label2); |
|
|
|
@ -113,7 +152,7 @@ namespace Waker |
|
|
|
|
this.Controls.Add(this.AddressTextBox); |
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; |
|
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); |
|
|
|
|
this.MaximumSize = new System.Drawing.Size(399, 144); |
|
|
|
|
this.MaximumSize = new System.Drawing.Size(399, 173); |
|
|
|
|
this.MinimumSize = new System.Drawing.Size(399, 144); |
|
|
|
|
this.Name = "MainForm"; |
|
|
|
|
this.Text = "Waker"; |
|
|
|
@ -131,6 +170,10 @@ namespace Waker |
|
|
|
|
private System.Windows.Forms.Button WakeButton; |
|
|
|
|
private System.Windows.Forms.Label label3; |
|
|
|
|
private System.Windows.Forms.TextBox PortTextBox; |
|
|
|
|
private System.Windows.Forms.TextBox PingPortTextBox; |
|
|
|
|
private System.Windows.Forms.Label label4; |
|
|
|
|
private System.Windows.Forms.Panel PingStatusPanel; |
|
|
|
|
private System.Windows.Forms.Timer pingTimer; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|