diff options
| author | MichaelTheShifter <[email protected]> | 2016-07-19 21:53:26 -0400 |
|---|---|---|
| committer | MichaelTheShifter <[email protected]> | 2016-07-19 21:53:26 -0400 |
| commit | 6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9 (patch) | |
| tree | d7bc4b46c45a552add946666151d44490f3b3caf /source/WindowsFormsApplication1/Controls/Computer.Designer.cs | |
| parent | 9322701aa1eae9596a8586ef19a0fe1d1b3ab66b (diff) | |
| download | shiftos-c-_theultimatehacker-6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9.tar.gz shiftos-c-_theultimatehacker-6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9.tar.bz2 shiftos-c-_theultimatehacker-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/Controls/Computer.Designer.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/Controls/Computer.Designer.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/WindowsFormsApplication1/Controls/Computer.Designer.cs b/source/WindowsFormsApplication1/Controls/Computer.Designer.cs index 4157592..0a37bc1 100644 --- a/source/WindowsFormsApplication1/Controls/Computer.Designer.cs +++ b/source/WindowsFormsApplication1/Controls/Computer.Designer.cs @@ -32,12 +32,12 @@ /// </summary> private void InitializeComponent() { - this.lbstats = new System.Windows.Forms.Label(); + this.lbstats = new ShiftUI.Label(); this.SuspendLayout(); // // lbstats // - this.lbstats.Dock = System.Windows.Forms.DockStyle.Fill; + this.lbstats.Dock = ShiftUI.DockStyle.Fill; this.lbstats.ForeColor = System.Drawing.Color.Black; this.lbstats.Location = new System.Drawing.Point(0, 0); this.lbstats.Name = "lbstats"; @@ -49,9 +49,9 @@ // // Computer // - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; + this.AutoScaleMode = ShiftUI.AutoScaleMode.None; this.BackColor = System.Drawing.Color.White; - this.Controls.Add(this.lbstats); + this.Widgets.Add(this.lbstats); this.Name = "Computer"; this.Size = new System.Drawing.Size(64, 64); this.Load += new System.EventHandler(this.Computer_Load); @@ -61,6 +61,6 @@ #endregion - private System.Windows.Forms.Label lbstats; + private ShiftUI.Label lbstats; } } |
