From 6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9 Mon Sep 17 00:00:00 2001 From: MichaelTheShifter Date: Tue, 19 Jul 2016 21:53:26 -0400 Subject: 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. --- .../Controls/ShifterTextInput.Designer.cs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'source/WindowsFormsApplication1/Controls/ShifterTextInput.Designer.cs') diff --git a/source/WindowsFormsApplication1/Controls/ShifterTextInput.Designer.cs b/source/WindowsFormsApplication1/Controls/ShifterTextInput.Designer.cs index 9da62c6..db028b1 100644 --- a/source/WindowsFormsApplication1/Controls/ShifterTextInput.Designer.cs +++ b/source/WindowsFormsApplication1/Controls/ShifterTextInput.Designer.cs @@ -28,15 +28,15 @@ /// private void InitializeComponent() { - this.txttext = new System.Windows.Forms.TextBox(); - this.Label51 = new System.Windows.Forms.Label(); + this.txttext = new ShiftUI.TextBox(); + this.Label51 = new ShiftUI.Label(); this.SuspendLayout(); // // txttext // - this.txttext.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.txttext.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right))); this.txttext.BackColor = System.Drawing.Color.White; - this.txttext.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txttext.BorderStyle = ShiftUI.BorderStyle.FixedSingle; this.txttext.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txttext.ForeColor = System.Drawing.Color.Black; this.txttext.Location = new System.Drawing.Point(106, 7); @@ -47,7 +47,7 @@ // // Label51 // - this.Label51.Dock = System.Windows.Forms.DockStyle.Left; + this.Label51.Dock = ShiftUI.DockStyle.Left; this.Label51.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label51.Location = new System.Drawing.Point(0, 0); this.Label51.Name = "Label51"; @@ -59,10 +59,10 @@ // ShifterTextInput // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.Controls.Add(this.txttext); - this.Controls.Add(this.Label51); + this.AutoScaleMode = ShiftUI.AutoScaleMode.Font; + this.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink; + this.Widgets.Add(this.txttext); + this.Widgets.Add(this.Label51); this.Name = "ShifterTextInput"; this.Size = new System.Drawing.Size(222, 29); this.ResumeLayout(false); @@ -72,7 +72,7 @@ #endregion - private System.Windows.Forms.TextBox txttext; - private System.Windows.Forms.Label Label51; + private ShiftUI.TextBox txttext; + private ShiftUI.Label Label51; } } -- cgit v1.2.3