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/MissionGuide.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/MissionGuide.Designer.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/FinalMission/MissionGuide.Designer.cs | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/source/WindowsFormsApplication1/FinalMission/MissionGuide.Designer.cs b/source/WindowsFormsApplication1/FinalMission/MissionGuide.Designer.cs index 45a51f1..8c0739e 100644 --- a/source/WindowsFormsApplication1/FinalMission/MissionGuide.Designer.cs +++ b/source/WindowsFormsApplication1/FinalMission/MissionGuide.Designer.cs @@ -29,21 +29,21 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - this.panel1 = new System.Windows.Forms.Panel(); - this.flbuttons = new System.Windows.Forms.FlowLayoutPanel(); - this.btnstart = new System.Windows.Forms.Button(); - this.tmr_setupui = new System.Windows.Forms.Timer(this.components); - this.lbprompt = new System.Windows.Forms.Label(); + this.panel1 = new ShiftUI.Panel(); + this.flbuttons = new ShiftUI.FlowLayoutPanel(); + this.btnstart = new ShiftUI.Button(); + this.tmr_setupui = new ShiftUI.Timer(this.components); + this.lbprompt = new ShiftUI.Label(); this.panel1.SuspendLayout(); this.flbuttons.SuspendLayout(); this.SuspendLayout(); // // panel1 // - this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel1.Controls.Add(this.lbprompt); - this.panel1.Controls.Add(this.flbuttons); - this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel1.BorderStyle = ShiftUI.BorderStyle.FixedSingle; + this.panel1.Widgets.Add(this.lbprompt); + this.panel1.Widgets.Add(this.flbuttons); + 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(520, 189); @@ -51,9 +51,9 @@ // // flbuttons // - this.flbuttons.Controls.Add(this.btnstart); - this.flbuttons.Dock = System.Windows.Forms.DockStyle.Bottom; - this.flbuttons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; + this.flbuttons.Widgets.Add(this.btnstart); + this.flbuttons.Dock = ShiftUI.DockStyle.Bottom; + this.flbuttons.FlowDirection = ShiftUI.FlowDirection.RightToLeft; this.flbuttons.Location = new System.Drawing.Point(0, 155); this.flbuttons.Name = "flbuttons"; this.flbuttons.Size = new System.Drawing.Size(518, 32); @@ -62,8 +62,8 @@ // btnstart // this.btnstart.AutoSize = true; - this.btnstart.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.btnstart.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnstart.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink; + this.btnstart.FlatStyle = ShiftUI.FlatStyle.Flat; this.btnstart.Location = new System.Drawing.Point(435, 3); this.btnstart.Name = "btnstart"; this.btnstart.Size = new System.Drawing.Size(80, 23); @@ -79,11 +79,11 @@ // // lbprompt // - this.lbprompt.Dock = System.Windows.Forms.DockStyle.Fill; + this.lbprompt.Dock = ShiftUI.DockStyle.Fill; this.lbprompt.Location = new System.Drawing.Point(0, 0); - this.lbprompt.Margin = new System.Windows.Forms.Padding(50); + this.lbprompt.Margin = new ShiftUI.Padding(50); this.lbprompt.Name = "lbprompt"; - this.lbprompt.Padding = new System.Windows.Forms.Padding(15); + this.lbprompt.Padding = new ShiftUI.Padding(15); this.lbprompt.Size = new System.Drawing.Size(518, 155); this.lbprompt.TabIndex = 1; this.lbprompt.Text = "label1"; @@ -91,13 +91,13 @@ // MissionGuide // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 11F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = ShiftUI.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.Black; this.ClientSize = new System.Drawing.Size(520, 189); - this.Controls.Add(this.panel1); + this.Widgets.Add(this.panel1); this.Font = new System.Drawing.Font("Lucida Console", 8.25F); this.ForeColor = System.Drawing.Color.LightGreen; - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.FormBorderStyle = ShiftUI.FormBorderStyle.None; this.Name = "MissionGuide"; this.Text = "MissionGuide"; this.panel1.ResumeLayout(false); @@ -109,10 +109,10 @@ #endregion - private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.FlowLayoutPanel flbuttons; - private System.Windows.Forms.Button btnstart; - private System.Windows.Forms.Timer tmr_setupui; - private System.Windows.Forms.Label lbprompt; + private ShiftUI.Panel panel1; + private ShiftUI.FlowLayoutPanel flbuttons; + private ShiftUI.Button btnstart; + private ShiftUI.Timer tmr_setupui; + private ShiftUI.Label lbprompt; } }
\ No newline at end of file |
