|
|
@ -29,12 +29,20 @@ namespace Waker |
|
|
|
/// </summary> |
|
|
|
/// </summary> |
|
|
|
private void InitializeComponent() |
|
|
|
private void InitializeComponent() |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
this.components = new System.ComponentModel.Container(); |
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); |
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); |
|
|
|
this.AddressTextBox = new System.Windows.Forms.TextBox(); |
|
|
|
this.AddressTextBox = new System.Windows.Forms.TextBox(); |
|
|
|
this.label1 = new System.Windows.Forms.Label(); |
|
|
|
this.label1 = new System.Windows.Forms.Label(); |
|
|
|
this.MacTextBox = new System.Windows.Forms.TextBox(); |
|
|
|
this.MacTextBox = new System.Windows.Forms.TextBox(); |
|
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
|
this.WakeButton = new System.Windows.Forms.Button(); |
|
|
|
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.RECButton = new System.Windows.Forms.Button(); |
|
|
|
this.SuspendLayout(); |
|
|
|
this.SuspendLayout(); |
|
|
|
// |
|
|
|
// |
|
|
|
// AddressTextBox |
|
|
|
// AddressTextBox |
|
|
@ -73,18 +81,82 @@ namespace Waker |
|
|
|
// |
|
|
|
// |
|
|
|
this.WakeButton.Location = new System.Drawing.Point(271, 12); |
|
|
|
this.WakeButton.Location = new System.Drawing.Point(271, 12); |
|
|
|
this.WakeButton.Name = "WakeButton"; |
|
|
|
this.WakeButton.Name = "WakeButton"; |
|
|
|
this.WakeButton.Size = new System.Drawing.Size(102, 54); |
|
|
|
this.WakeButton.Size = new System.Drawing.Size(102, 83); |
|
|
|
this.WakeButton.TabIndex = 2; |
|
|
|
this.WakeButton.TabIndex = 4; |
|
|
|
this.WakeButton.Text = "WoL"; |
|
|
|
this.WakeButton.Text = "WoL"; |
|
|
|
this.WakeButton.UseVisualStyleBackColor = true; |
|
|
|
this.WakeButton.UseVisualStyleBackColor = true; |
|
|
|
this.WakeButton.Click += new System.EventHandler(this.WakeButton_Click); |
|
|
|
this.WakeButton.Click += new System.EventHandler(this.WakeButton_Click); |
|
|
|
// |
|
|
|
// |
|
|
|
|
|
|
|
// label3 |
|
|
|
|
|
|
|
// |
|
|
|
|
|
|
|
this.label3.AutoSize = true; |
|
|
|
|
|
|
|
this.label3.Location = new System.Drawing.Point(19, 76); |
|
|
|
|
|
|
|
this.label3.Name = "label3"; |
|
|
|
|
|
|
|
this.label3.Size = new System.Drawing.Size(34, 15); |
|
|
|
|
|
|
|
this.label3.TabIndex = 3; |
|
|
|
|
|
|
|
this.label3.Text = "ports"; |
|
|
|
|
|
|
|
// |
|
|
|
|
|
|
|
// PortTextBox |
|
|
|
|
|
|
|
// |
|
|
|
|
|
|
|
this.PortTextBox.Location = new System.Drawing.Point(67, 72); |
|
|
|
|
|
|
|
this.PortTextBox.Name = "PortTextBox"; |
|
|
|
|
|
|
|
this.PortTextBox.Size = new System.Drawing.Size(198, 23); |
|
|
|
|
|
|
|
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); |
|
|
|
|
|
|
|
// |
|
|
|
|
|
|
|
// RECButton |
|
|
|
|
|
|
|
// |
|
|
|
|
|
|
|
this.RECButton.Location = new System.Drawing.Point(271, 101); |
|
|
|
|
|
|
|
this.RECButton.Name = "RECButton"; |
|
|
|
|
|
|
|
this.RECButton.Size = new System.Drawing.Size(102, 23); |
|
|
|
|
|
|
|
this.RECButton.TabIndex = 5; |
|
|
|
|
|
|
|
this.RECButton.Text = "RD Client"; |
|
|
|
|
|
|
|
this.RECButton.UseVisualStyleBackColor = true; |
|
|
|
|
|
|
|
this.RECButton.Click += new System.EventHandler(this.RECButton_Click); |
|
|
|
|
|
|
|
// |
|
|
|
// MainForm |
|
|
|
// MainForm |
|
|
|
// |
|
|
|
// |
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); |
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); |
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
this.BackColor = System.Drawing.Color.White; |
|
|
|
this.BackColor = System.Drawing.Color.White; |
|
|
|
this.ClientSize = new System.Drawing.Size(383, 79); |
|
|
|
this.ClientSize = new System.Drawing.Size(383, 134); |
|
|
|
|
|
|
|
this.Controls.Add(this.RECButton); |
|
|
|
|
|
|
|
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.WakeButton); |
|
|
|
this.Controls.Add(this.label2); |
|
|
|
this.Controls.Add(this.label2); |
|
|
|
this.Controls.Add(this.label1); |
|
|
|
this.Controls.Add(this.label1); |
|
|
@ -92,8 +164,8 @@ namespace Waker |
|
|
|
this.Controls.Add(this.AddressTextBox); |
|
|
|
this.Controls.Add(this.AddressTextBox); |
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; |
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; |
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); |
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); |
|
|
|
this.MaximumSize = new System.Drawing.Size(399, 118); |
|
|
|
this.MaximumSize = new System.Drawing.Size(399, 173); |
|
|
|
this.MinimumSize = new System.Drawing.Size(399, 118); |
|
|
|
this.MinimumSize = new System.Drawing.Size(399, 144); |
|
|
|
this.Name = "MainForm"; |
|
|
|
this.Name = "MainForm"; |
|
|
|
this.Text = "Waker"; |
|
|
|
this.Text = "Waker"; |
|
|
|
this.ResumeLayout(false); |
|
|
|
this.ResumeLayout(false); |
|
|
@ -108,6 +180,13 @@ namespace Waker |
|
|
|
private System.Windows.Forms.TextBox MacTextBox; |
|
|
|
private System.Windows.Forms.TextBox MacTextBox; |
|
|
|
private System.Windows.Forms.Label label2; |
|
|
|
private System.Windows.Forms.Label label2; |
|
|
|
private System.Windows.Forms.Button WakeButton; |
|
|
|
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; |
|
|
|
|
|
|
|
private System.Windows.Forms.Button RECButton; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|