mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
* Test loc fix #2 * Propagate the name change to the rest of the project --------- Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
This commit is contained in:
@@ -47,7 +47,7 @@ namespace MouseWithoutBorders
|
||||
{
|
||||
checkBoxEnabled.Checked = value;
|
||||
Editable = value;
|
||||
pictureBoxLogo.Image = value ? Resources.MachineEnabled : (System.Drawing.Image)Resources.MachineDisabled;
|
||||
pictureBoxLogo.Image = value ? Images.MachineEnabled : (System.Drawing.Image)Images.MachineDisabled;
|
||||
OnEnabledChanged(EventArgs.Empty); // Borrow this event since we do not use it for any other purpose:) (we can create one but l...:))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
//
|
||||
// ComputerPictureBox
|
||||
//
|
||||
this.ComputerPictureBox.Image = global::MouseWithoutBorders.Properties.Resources.computer_connected;
|
||||
this.ComputerPictureBox.Image = global::MouseWithoutBorders.Properties.Images.computer_connected;
|
||||
this.ComputerPictureBox.Location = new System.Drawing.Point(5, 5);
|
||||
this.ComputerPictureBox.Name = "ComputerPictureBox";
|
||||
this.ComputerPictureBox.Padding = new System.Windows.Forms.Padding(0, 10, 0, 0);
|
||||
@@ -86,12 +86,12 @@
|
||||
// RemoveButton
|
||||
//
|
||||
this.RemoveButton.DisabledImage = null;
|
||||
this.RemoveButton.DownImage = global::MouseWithoutBorders.Properties.Resources.red_close_button_click;
|
||||
this.RemoveButton.HoverImage = global::MouseWithoutBorders.Properties.Resources.red_close_button_hover;
|
||||
this.RemoveButton.Image = global::MouseWithoutBorders.Properties.Resources.red_close_button_normal;
|
||||
this.RemoveButton.DownImage = global::MouseWithoutBorders.Properties.Images.red_close_button_click;
|
||||
this.RemoveButton.HoverImage = global::MouseWithoutBorders.Properties.Images.red_close_button_hover;
|
||||
this.RemoveButton.Image = global::MouseWithoutBorders.Properties.Images.red_close_button_normal;
|
||||
this.RemoveButton.Location = new System.Drawing.Point(224, 15);
|
||||
this.RemoveButton.Name = "RemoveButton";
|
||||
this.RemoveButton.NormalImage = global::MouseWithoutBorders.Properties.Resources.red_close_button_normal;
|
||||
this.RemoveButton.NormalImage = global::MouseWithoutBorders.Properties.Images.red_close_button_normal;
|
||||
this.RemoveButton.Size = new System.Drawing.Size(12, 12);
|
||||
this.RemoveButton.TabIndex = 5;
|
||||
this.RemoveButton.TabStop = false;
|
||||
@@ -101,12 +101,12 @@
|
||||
//
|
||||
this.OnButton.BackColor = System.Drawing.Color.Transparent;
|
||||
this.OnButton.DisabledImage = null;
|
||||
this.OnButton.DownImage = global::MouseWithoutBorders.Properties.Resources.switch_on_click;
|
||||
this.OnButton.HoverImage = global::MouseWithoutBorders.Properties.Resources.switch_on_hover;
|
||||
this.OnButton.Image = global::MouseWithoutBorders.Properties.Resources.switch_on_normal;
|
||||
this.OnButton.DownImage = global::MouseWithoutBorders.Properties.Images.switch_on_click;
|
||||
this.OnButton.HoverImage = global::MouseWithoutBorders.Properties.Images.switch_on_hover;
|
||||
this.OnButton.Image = global::MouseWithoutBorders.Properties.Images.switch_on_normal;
|
||||
this.OnButton.Location = new System.Drawing.Point(277, 20);
|
||||
this.OnButton.Name = "OnButton";
|
||||
this.OnButton.NormalImage = global::MouseWithoutBorders.Properties.Resources.switch_on_normal;
|
||||
this.OnButton.NormalImage = global::MouseWithoutBorders.Properties.Images.switch_on_normal;
|
||||
this.OnButton.Size = new System.Drawing.Size(30, 15);
|
||||
this.OnButton.TabIndex = 3;
|
||||
this.OnButton.TabStop = false;
|
||||
@@ -116,12 +116,12 @@
|
||||
//
|
||||
this.OffButton.BackColor = System.Drawing.Color.Transparent;
|
||||
this.OffButton.DisabledImage = null;
|
||||
this.OffButton.DownImage = global::MouseWithoutBorders.Properties.Resources.switch_off_click;
|
||||
this.OffButton.HoverImage = global::MouseWithoutBorders.Properties.Resources.switch_off_hover;
|
||||
this.OffButton.Image = global::MouseWithoutBorders.Properties.Resources.switch_off_normal;
|
||||
this.OffButton.DownImage = global::MouseWithoutBorders.Properties.Images.switch_off_click;
|
||||
this.OffButton.HoverImage = global::MouseWithoutBorders.Properties.Images.switch_off_hover;
|
||||
this.OffButton.Image = global::MouseWithoutBorders.Properties.Images.switch_off_normal;
|
||||
this.OffButton.Location = new System.Drawing.Point(241, 42);
|
||||
this.OffButton.Name = "OffButton";
|
||||
this.OffButton.NormalImage = global::MouseWithoutBorders.Properties.Resources.switch_off_normal;
|
||||
this.OffButton.NormalImage = global::MouseWithoutBorders.Properties.Images.switch_off_normal;
|
||||
this.OffButton.Size = new System.Drawing.Size(30, 15);
|
||||
this.OffButton.TabIndex = 4;
|
||||
this.OffButton.TabStop = false;
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
// SingleRowRadioButton
|
||||
//
|
||||
this.SingleRowRadioButton.Checked = true;
|
||||
this.SingleRowRadioButton.CheckedImage = global::MouseWithoutBorders.Properties.Resources.one_row_button_checked;
|
||||
this.SingleRowRadioButton.CheckedImage = global::MouseWithoutBorders.Properties.Images.one_row_button_checked;
|
||||
this.SingleRowRadioButton.ImageLocation = new System.Drawing.Point(0, 0);
|
||||
this.SingleRowRadioButton.Location = new System.Drawing.Point(0, 0);
|
||||
this.SingleRowRadioButton.Margin = new System.Windows.Forms.Padding(0);
|
||||
@@ -57,13 +57,13 @@
|
||||
this.SingleRowRadioButton.TabIndex = 4;
|
||||
this.SingleRowRadioButton.TabStop = true;
|
||||
this.SingleRowRadioButton.TextLocation = new System.Drawing.Point(0, 0);
|
||||
this.SingleRowRadioButton.UncheckedImage = global::MouseWithoutBorders.Properties.Resources.one_row_button_unchecked;
|
||||
this.SingleRowRadioButton.UncheckedImage = global::MouseWithoutBorders.Properties.Images.one_row_button_unchecked;
|
||||
this.SingleRowRadioButton.UseVisualStyleBackColor = true;
|
||||
this.SingleRowRadioButton.CheckedChanged += new System.EventHandler(this.SingleRowRadioButtonCheckedChanged);
|
||||
//
|
||||
// TwoRowsRadioButton
|
||||
//
|
||||
this.TwoRowsRadioButton.CheckedImage = global::MouseWithoutBorders.Properties.Resources.two_row_button_checked;
|
||||
this.TwoRowsRadioButton.CheckedImage = global::MouseWithoutBorders.Properties.Images.two_row_button_checked;
|
||||
this.TwoRowsRadioButton.ImageLocation = new System.Drawing.Point(0, 0);
|
||||
this.TwoRowsRadioButton.Location = new System.Drawing.Point(0, 27);
|
||||
this.TwoRowsRadioButton.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
@@ -71,7 +71,7 @@
|
||||
this.TwoRowsRadioButton.Size = new System.Drawing.Size(27, 24);
|
||||
this.TwoRowsRadioButton.TabIndex = 5;
|
||||
this.TwoRowsRadioButton.TextLocation = new System.Drawing.Point(0, 0);
|
||||
this.TwoRowsRadioButton.UncheckedImage = global::MouseWithoutBorders.Properties.Resources.two_row_button_unchecked;
|
||||
this.TwoRowsRadioButton.UncheckedImage = global::MouseWithoutBorders.Properties.Images.two_row_button_unchecked;
|
||||
this.TwoRowsRadioButton.UseVisualStyleBackColor = true;
|
||||
this.TwoRowsRadioButton.CheckedChanged += new System.EventHandler(this.TwoRowsRadioButtonCheckedChanged);
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user