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/NetModuleStatus.Designer.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'source/WindowsFormsApplication1/Controls/NetModuleStatus.Designer.cs') diff --git a/source/WindowsFormsApplication1/Controls/NetModuleStatus.Designer.cs b/source/WindowsFormsApplication1/Controls/NetModuleStatus.Designer.cs index 31608d4..3770b37 100644 --- a/source/WindowsFormsApplication1/Controls/NetModuleStatus.Designer.cs +++ b/source/WindowsFormsApplication1/Controls/NetModuleStatus.Designer.cs @@ -28,14 +28,14 @@ /// private void InitializeComponent() { - this.lbinfo = new System.Windows.Forms.Label(); + this.lbinfo = new ShiftUI.Label(); this.pghealth = new ShiftOS.ProgressBarEX(); this.SuspendLayout(); // // lbinfo // - this.lbinfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left))); + this.lbinfo.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom) + | ShiftUI.AnchorStyles.Left))); this.lbinfo.Location = new System.Drawing.Point(4, 4); this.lbinfo.Name = "lbinfo"; this.lbinfo.Size = new System.Drawing.Size(102, 22); @@ -44,9 +44,9 @@ // // pghealth // - this.pghealth.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + this.pghealth.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom) + | ShiftUI.AnchorStyles.Left) + | ShiftUI.AnchorStyles.Right))); this.pghealth.BackColor = System.Drawing.Color.Black; this.pghealth.BlockSeparation = 3; this.pghealth.BlockWidth = 5; @@ -67,9 +67,9 @@ // NetModuleStatus // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.lbinfo); - this.Controls.Add(this.pghealth); + this.AutoScaleMode = ShiftUI.AutoScaleMode.Font; + this.Widgets.Add(this.lbinfo); + this.Widgets.Add(this.pghealth); this.Name = "NetModuleStatus"; this.Size = new System.Drawing.Size(352, 26); this.ResumeLayout(false); @@ -79,6 +79,6 @@ #endregion private ProgressBarEX pghealth; - private System.Windows.Forms.Label lbinfo; + private ShiftUI.Label lbinfo; } } -- cgit v1.2.3