aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Apps/NameChanger.Designer.cs
diff options
context:
space:
mode:
authorMichaelTheShifter <[email protected]>2016-07-19 21:53:26 -0400
committerMichaelTheShifter <[email protected]>2016-07-19 21:53:26 -0400
commit6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9 (patch)
treed7bc4b46c45a552add946666151d44490f3b3caf /source/WindowsFormsApplication1/Apps/NameChanger.Designer.cs
parent9322701aa1eae9596a8586ef19a0fe1d1b3ab66b (diff)
downloadshiftos-c--6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9.tar.gz
shiftos-c--6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9.tar.bz2
shiftos-c--6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9.zip
Full ShiftUI conversion
The only bugs are that windows don't show in the center of the screen, and Gecko webbrowsers are not serializing properly to be converted to ShiftUI widgets (you can use the ToWidget() extension method to convert a WinForms control to a ShiftUI widget) Also multiple desktop panels are removed due to some odd bug I can't diagnose. Will add them back in the future. Promise. I loved creating GNOME2 skins.
Diffstat (limited to 'source/WindowsFormsApplication1/Apps/NameChanger.Designer.cs')
-rw-r--r--source/WindowsFormsApplication1/Apps/NameChanger.Designer.cs66
1 files changed, 30 insertions, 36 deletions
diff --git a/source/WindowsFormsApplication1/Apps/NameChanger.Designer.cs b/source/WindowsFormsApplication1/Apps/NameChanger.Designer.cs
index c9380a8..cc092e0 100644
--- a/source/WindowsFormsApplication1/Apps/NameChanger.Designer.cs
+++ b/source/WindowsFormsApplication1/Apps/NameChanger.Designer.cs
@@ -28,13 +28,13 @@
/// </summary>
private void InitializeComponent()
{
- this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
- this.pnlactions = new System.Windows.Forms.FlowLayoutPanel();
- this.btnapply = new System.Windows.Forms.Button();
- this.btnload = new System.Windows.Forms.Button();
- this.btnsave = new System.Windows.Forms.Button();
- this.label1 = new System.Windows.Forms.Label();
- this.panel1 = new System.Windows.Forms.Panel();
+ this.propertyGrid1 = new ShiftUI.PropertyGrid();
+ this.pnlactions = new ShiftUI.FlowLayoutPanel();
+ this.btnapply = new ShiftUI.Button();
+ this.btnload = new ShiftUI.Button();
+ this.btnsave = new ShiftUI.Button();
+ this.label1 = new ShiftUI.Label();
+ this.panel1 = new ShiftUI.Panel();
this.pnlactions.SuspendLayout();
this.panel1.SuspendLayout();
this.SuspendLayout();
@@ -43,37 +43,31 @@
//
this.propertyGrid1.BackColor = System.Drawing.Color.White;
this.propertyGrid1.CategoryForeColor = System.Drawing.Color.Black;
- this.propertyGrid1.CategorySplitterColor = System.Drawing.Color.Gray;
this.propertyGrid1.CommandsActiveLinkColor = System.Drawing.Color.Black;
this.propertyGrid1.CommandsBackColor = System.Drawing.Color.White;
- this.propertyGrid1.CommandsBorderColor = System.Drawing.Color.White;
this.propertyGrid1.CommandsDisabledLinkColor = System.Drawing.Color.Gray;
this.propertyGrid1.CommandsForeColor = System.Drawing.Color.Black;
this.propertyGrid1.CommandsLinkColor = System.Drawing.Color.Gray;
- this.propertyGrid1.DisabledItemForeColor = System.Drawing.Color.Gray;
- this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.propertyGrid1.Dock = ShiftUI.DockStyle.Fill;
this.propertyGrid1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.propertyGrid1.HelpVisible = false;
this.propertyGrid1.LineColor = System.Drawing.Color.White;
this.propertyGrid1.Location = new System.Drawing.Point(0, 28);
this.propertyGrid1.Name = "propertyGrid1";
- this.propertyGrid1.PropertySort = System.Windows.Forms.PropertySort.Alphabetical;
- this.propertyGrid1.SelectedItemWithFocusBackColor = System.Drawing.Color.Gray;
- this.propertyGrid1.SelectedItemWithFocusForeColor = System.Drawing.Color.White;
+ this.propertyGrid1.PropertySort = ShiftUI.PropertySort.Alphabetical;
this.propertyGrid1.Size = new System.Drawing.Size(403, 400);
this.propertyGrid1.TabIndex = 0;
this.propertyGrid1.ToolbarVisible = false;
this.propertyGrid1.ViewBackColor = System.Drawing.Color.White;
- this.propertyGrid1.ViewBorderColor = System.Drawing.Color.White;
this.propertyGrid1.ViewForeColor = System.Drawing.Color.Black;
//
// pnlactions
//
this.pnlactions.BackColor = System.Drawing.Color.Gray;
- this.pnlactions.Controls.Add(this.btnapply);
- this.pnlactions.Controls.Add(this.btnload);
- this.pnlactions.Controls.Add(this.btnsave);
- this.pnlactions.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.pnlactions.Widgets.Add(this.btnapply);
+ this.pnlactions.Widgets.Add(this.btnload);
+ this.pnlactions.Widgets.Add(this.btnsave);
+ this.pnlactions.Dock = ShiftUI.DockStyle.Bottom;
this.pnlactions.Location = new System.Drawing.Point(0, 428);
this.pnlactions.Name = "pnlactions";
this.pnlactions.Size = new System.Drawing.Size(403, 39);
@@ -81,7 +75,7 @@
//
// btnapply
//
- this.btnapply.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnapply.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnapply.ForeColor = System.Drawing.Color.White;
this.btnapply.Location = new System.Drawing.Point(3, 3);
this.btnapply.Name = "btnapply";
@@ -93,7 +87,7 @@
//
// btnload
//
- this.btnload.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnload.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnload.ForeColor = System.Drawing.Color.White;
this.btnload.Location = new System.Drawing.Point(84, 3);
this.btnload.Name = "btnload";
@@ -105,7 +99,7 @@
//
// btnsave
//
- this.btnsave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnsave.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnsave.ForeColor = System.Drawing.Color.White;
this.btnsave.Location = new System.Drawing.Point(165, 3);
this.btnsave.Name = "btnsave";
@@ -117,7 +111,7 @@
//
// label1
//
- this.label1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.label1.Dock = ShiftUI.DockStyle.Top;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
this.label1.Location = new System.Drawing.Point(0, 0);
this.label1.Name = "label1";
@@ -129,10 +123,10 @@
// panel1
//
this.panel1.BackColor = System.Drawing.Color.White;
- this.panel1.Controls.Add(this.propertyGrid1);
- this.panel1.Controls.Add(this.label1);
- this.panel1.Controls.Add(this.pnlactions);
- this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel1.Widgets.Add(this.propertyGrid1);
+ this.panel1.Widgets.Add(this.label1);
+ this.panel1.Widgets.Add(this.pnlactions);
+ this.panel1.Dock = ShiftUI.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(403, 467);
@@ -141,9 +135,9 @@
// NameChanger
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(403, 467);
- this.Controls.Add(this.panel1);
+ this.Widgets.Add(this.panel1);
this.Name = "NameChanger";
this.Text = "NameChanger";
this.Load += new System.EventHandler(this.NameChanger_Load);
@@ -154,12 +148,12 @@
}
#endregion
- private System.Windows.Forms.FlowLayoutPanel pnlactions;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.Button btnapply;
- private System.Windows.Forms.Button btnload;
- private System.Windows.Forms.Button btnsave;
- private System.Windows.Forms.Panel panel1;
- public System.Windows.Forms.PropertyGrid propertyGrid1;
+ private ShiftUI.FlowLayoutPanel pnlactions;
+ private ShiftUI.Label label1;
+ private ShiftUI.Button btnapply;
+ private ShiftUI.Button btnload;
+ private ShiftUI.Button btnsave;
+ private ShiftUI.Panel panel1;
+ public ShiftUI.PropertyGrid propertyGrid1;
}
} \ No newline at end of file