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/FinalMission/ChoiceControl.Designer.cs | |
| parent | 9322701aa1eae9596a8586ef19a0fe1d1b3ab66b (diff) | |
| download | shiftos-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/FinalMission/ChoiceControl.Designer.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/FinalMission/ChoiceControl.Designer.cs | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/source/WindowsFormsApplication1/FinalMission/ChoiceControl.Designer.cs b/source/WindowsFormsApplication1/FinalMission/ChoiceControl.Designer.cs index f055644..b890d55 100644 --- a/source/WindowsFormsApplication1/FinalMission/ChoiceControl.Designer.cs +++ b/source/WindowsFormsApplication1/FinalMission/ChoiceControl.Designer.cs @@ -1,6 +1,6 @@ namespace ShiftOS.FinalMission { - partial class ChoiceControl + partial class ChoiceWidget { /// <summary> /// Required designer variable. @@ -28,13 +28,13 @@ /// </summary> private void InitializeComponent() { - this.lbnumber = new System.Windows.Forms.Label(); - this.lbdescription = new System.Windows.Forms.Label(); + this.lbnumber = new ShiftUI.Label(); + this.lbdescription = new ShiftUI.Label(); this.SuspendLayout(); // // lbnumber // - this.lbnumber.Dock = System.Windows.Forms.DockStyle.Fill; + this.lbnumber.Dock = ShiftUI.DockStyle.Fill; this.lbnumber.Font = new System.Drawing.Font("Microsoft Sans Serif", 36F); this.lbnumber.Location = new System.Drawing.Point(0, 0); this.lbnumber.Name = "lbnumber"; @@ -46,7 +46,7 @@ // // lbdescription // - this.lbdescription.Dock = System.Windows.Forms.DockStyle.Bottom; + this.lbdescription.Dock = ShiftUI.DockStyle.Bottom; this.lbdescription.Location = new System.Drawing.Point(0, 75); this.lbdescription.Name = "lbdescription"; this.lbdescription.Size = new System.Drawing.Size(112, 27); @@ -55,13 +55,13 @@ this.lbdescription.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lbdescription.Click += new System.EventHandler(this.lbdescription_Click); // - // ChoiceControl + // ChoiceWidget // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.lbnumber); - this.Controls.Add(this.lbdescription); - this.Name = "ChoiceControl"; + this.AutoScaleMode = ShiftUI.AutoScaleMode.Font; + this.Widgets.Add(this.lbnumber); + this.Widgets.Add(this.lbdescription); + this.Name = "ChoiceWidget"; this.Size = new System.Drawing.Size(112, 102); this.ResumeLayout(false); @@ -69,7 +69,7 @@ #endregion - private System.Windows.Forms.Label lbnumber; - private System.Windows.Forms.Label lbdescription; + private ShiftUI.Label lbnumber; + private ShiftUI.Label lbdescription; } } |
