aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/FinalMission/ChooseYourApproach.Designer.cs
diff options
context:
space:
mode:
authorMichaelTheShifter <[email protected]>2016-07-19 21:53:26 -0400
committerMichaelTheShifter <[email protected]>2016-07-19 21:53:26 -0400
commit6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9 (patch)
treed7bc4b46c45a552add946666151d44490f3b3caf /source/WindowsFormsApplication1/FinalMission/ChooseYourApproach.Designer.cs
parent9322701aa1eae9596a8586ef19a0fe1d1b3ab66b (diff)
downloadshiftos-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/ChooseYourApproach.Designer.cs')
-rw-r--r--source/WindowsFormsApplication1/FinalMission/ChooseYourApproach.Designer.cs220
1 files changed, 110 insertions, 110 deletions
diff --git a/source/WindowsFormsApplication1/FinalMission/ChooseYourApproach.Designer.cs b/source/WindowsFormsApplication1/FinalMission/ChooseYourApproach.Designer.cs
index 587093c..ebff523 100644
--- a/source/WindowsFormsApplication1/FinalMission/ChooseYourApproach.Designer.cs
+++ b/source/WindowsFormsApplication1/FinalMission/ChooseYourApproach.Designer.cs
@@ -29,26 +29,26 @@
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ChooseYourApproach));
- this.pnlmain = new System.Windows.Forms.Panel();
- this.lbdesc = new System.Windows.Forms.Label();
- this.lbtitle = new System.Windows.Forms.Label();
- this.pnldescription = new System.Windows.Forms.Panel();
- this.choicedesc = new System.Windows.Forms.Label();
- this.fldescbuttons = new System.Windows.Forms.FlowLayoutPanel();
- this.btnbegin = new System.Windows.Forms.Button();
- this.choicetitle = new System.Windows.Forms.Label();
- this.panel1 = new System.Windows.Forms.Panel();
- this.pnlchoices = new System.Windows.Forms.Panel();
- this.choiceControl3 = new ShiftOS.FinalMission.ChoiceControl();
- this.choiceControl2 = new ShiftOS.FinalMission.ChoiceControl();
- this.cc_sidewithdevx = new ShiftOS.FinalMission.ChoiceControl();
- this.pnlconfirm = new System.Windows.Forms.Panel();
- this.lbconfirm = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
- this.button1 = new System.Windows.Forms.Button();
- this.button2 = new System.Windows.Forms.Button();
- this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
- this.button3 = new System.Windows.Forms.Button();
+ this.pnlmain = new ShiftUI.Panel();
+ this.lbdesc = new ShiftUI.Label();
+ this.lbtitle = new ShiftUI.Label();
+ this.pnldescription = new ShiftUI.Panel();
+ this.choicedesc = new ShiftUI.Label();
+ this.fldescbuttons = new ShiftUI.FlowLayoutPanel();
+ this.btnbegin = new ShiftUI.Button();
+ this.choicetitle = new ShiftUI.Label();
+ this.panel1 = new ShiftUI.Panel();
+ this.pnlchoices = new ShiftUI.Panel();
+ this.choiceWidget3 = new ShiftOS.FinalMission.ChoiceWidget();
+ this.choiceWidget2 = new ShiftOS.FinalMission.ChoiceWidget();
+ this.cc_sidewithdevx = new ShiftOS.FinalMission.ChoiceWidget();
+ this.pnlconfirm = new ShiftUI.Panel();
+ this.lbconfirm = new ShiftUI.Label();
+ this.label2 = new ShiftUI.Label();
+ this.button1 = new ShiftUI.Button();
+ this.button2 = new ShiftUI.Button();
+ this.flowLayoutPanel1 = new ShiftUI.FlowLayoutPanel();
+ this.button3 = new ShiftUI.Button();
this.pnlmain.SuspendLayout();
this.pnldescription.SuspendLayout();
this.fldescbuttons.SuspendLayout();
@@ -59,10 +59,10 @@
//
// pnlmain
//
- this.pnlmain.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.pnlmain.Controls.Add(this.lbdesc);
- this.pnlmain.Controls.Add(this.lbtitle);
+ this.pnlmain.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
+ | ShiftUI.AnchorStyles.Right)));
+ this.pnlmain.Widgets.Add(this.lbdesc);
+ this.pnlmain.Widgets.Add(this.lbtitle);
this.pnlmain.Location = new System.Drawing.Point(318, 27);
this.pnlmain.Name = "pnlmain";
this.pnlmain.Size = new System.Drawing.Size(692, 178);
@@ -70,7 +70,7 @@
//
// lbdesc
//
- this.lbdesc.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.lbdesc.Dock = ShiftUI.DockStyle.Fill;
this.lbdesc.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.lbdesc.Location = new System.Drawing.Point(0, 38);
this.lbdesc.Name = "lbdesc";
@@ -82,7 +82,7 @@
//
// lbtitle
//
- this.lbtitle.Dock = System.Windows.Forms.DockStyle.Top;
+ this.lbtitle.Dock = ShiftUI.DockStyle.Top;
this.lbtitle.Font = new System.Drawing.Font("Lucida Console", 19F);
this.lbtitle.Location = new System.Drawing.Point(0, 0);
this.lbtitle.Name = "lbtitle";
@@ -93,11 +93,11 @@
//
// pnldescription
//
- this.pnldescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.pnldescription.Controls.Add(this.choicedesc);
- this.pnldescription.Controls.Add(this.fldescbuttons);
- this.pnldescription.Controls.Add(this.choicetitle);
+ this.pnldescription.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)
+ | ShiftUI.AnchorStyles.Right)));
+ this.pnldescription.Widgets.Add(this.choicedesc);
+ this.pnldescription.Widgets.Add(this.fldescbuttons);
+ this.pnldescription.Widgets.Add(this.choicetitle);
this.pnldescription.Location = new System.Drawing.Point(318, 357);
this.pnldescription.Name = "pnldescription";
this.pnldescription.Size = new System.Drawing.Size(692, 178);
@@ -105,7 +105,7 @@
//
// choicedesc
//
- this.choicedesc.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.choicedesc.Dock = ShiftUI.DockStyle.Fill;
this.choicedesc.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.choicedesc.Location = new System.Drawing.Point(0, 38);
this.choicedesc.Name = "choicedesc";
@@ -118,8 +118,8 @@
//
// fldescbuttons
//
- this.fldescbuttons.Controls.Add(this.btnbegin);
- this.fldescbuttons.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.fldescbuttons.Widgets.Add(this.btnbegin);
+ this.fldescbuttons.Dock = ShiftUI.DockStyle.Bottom;
this.fldescbuttons.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.fldescbuttons.Location = new System.Drawing.Point(0, 141);
this.fldescbuttons.Name = "fldescbuttons";
@@ -129,8 +129,8 @@
// btnbegin
//
this.btnbegin.AutoSize = true;
- this.btnbegin.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
- this.btnbegin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnbegin.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
+ this.btnbegin.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnbegin.Location = new System.Drawing.Point(3, 3);
this.btnbegin.Name = "btnbegin";
this.btnbegin.Size = new System.Drawing.Size(62, 32);
@@ -141,7 +141,7 @@
//
// choicetitle
//
- this.choicetitle.Dock = System.Windows.Forms.DockStyle.Top;
+ this.choicetitle.Dock = ShiftUI.DockStyle.Top;
this.choicetitle.Font = new System.Drawing.Font("Lucida Console", 19F);
this.choicetitle.Location = new System.Drawing.Point(0, 0);
this.choicetitle.Name = "choicetitle";
@@ -159,12 +159,12 @@
//
// pnlchoices
//
- this.pnlchoices.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.pnlchoices.Controls.Add(this.choiceControl3);
- this.pnlchoices.Controls.Add(this.choiceControl2);
- this.pnlchoices.Controls.Add(this.cc_sidewithdevx);
+ this.pnlchoices.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
+ | ShiftUI.AnchorStyles.Left)
+ | ShiftUI.AnchorStyles.Right)));
+ this.pnlchoices.Widgets.Add(this.choiceWidget3);
+ this.pnlchoices.Widgets.Add(this.choiceWidget2);
+ this.pnlchoices.Widgets.Add(this.cc_sidewithdevx);
this.pnlchoices.Location = new System.Drawing.Point(510, 228);
this.pnlchoices.MaximumSize = new System.Drawing.Size(338, 91);
this.pnlchoices.MinimumSize = new System.Drawing.Size(338, 91);
@@ -172,32 +172,32 @@
this.pnlchoices.Size = new System.Drawing.Size(338, 91);
this.pnlchoices.TabIndex = 3;
//
- // choiceControl3
+ // choiceWidget3
//
- this.choiceControl3.ChoiceName = "Destroy DevX";
- this.choiceControl3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.choiceControl3.Location = new System.Drawing.Point(112, 0);
- this.choiceControl3.Name = "choiceControl3";
- this.choiceControl3.Number = 2;
- this.choiceControl3.Size = new System.Drawing.Size(114, 91);
- this.choiceControl3.TabIndex = 2;
- this.choiceControl3.Selected += new System.EventHandler(this.cc_sidewithdevx_Selected);
+ this.choiceWidget3.ChoiceName = "Destroy DevX";
+ this.choiceWidget3.Dock = ShiftUI.DockStyle.Fill;
+ this.choiceWidget3.Location = new System.Drawing.Point(112, 0);
+ this.choiceWidget3.Name = "choiceWidget3";
+ this.choiceWidget3.Number = 2;
+ this.choiceWidget3.Size = new System.Drawing.Size(114, 91);
+ this.choiceWidget3.TabIndex = 2;
+ this.choiceWidget3.Selected += new System.EventHandler(this.cc_sidewithdevx_Selected);
//
- // choiceControl2
+ // choiceWidget2
//
- this.choiceControl2.ChoiceName = "End it all";
- this.choiceControl2.Dock = System.Windows.Forms.DockStyle.Right;
- this.choiceControl2.Location = new System.Drawing.Point(226, 0);
- this.choiceControl2.Name = "choiceControl2";
- this.choiceControl2.Number = 3;
- this.choiceControl2.Size = new System.Drawing.Size(112, 91);
- this.choiceControl2.TabIndex = 1;
- this.choiceControl2.Selected += new System.EventHandler(this.cc_sidewithdevx_Selected);
+ this.choiceWidget2.ChoiceName = "End it all";
+ this.choiceWidget2.Dock = ShiftUI.DockStyle.Right;
+ this.choiceWidget2.Location = new System.Drawing.Point(226, 0);
+ this.choiceWidget2.Name = "choiceWidget2";
+ this.choiceWidget2.Number = 3;
+ this.choiceWidget2.Size = new System.Drawing.Size(112, 91);
+ this.choiceWidget2.TabIndex = 1;
+ this.choiceWidget2.Selected += new System.EventHandler(this.cc_sidewithdevx_Selected);
//
// cc_sidewithdevx
//
this.cc_sidewithdevx.ChoiceName = "Side with DevX";
- this.cc_sidewithdevx.Dock = System.Windows.Forms.DockStyle.Left;
+ this.cc_sidewithdevx.Dock = ShiftUI.DockStyle.Left;
this.cc_sidewithdevx.Location = new System.Drawing.Point(0, 0);
this.cc_sidewithdevx.Name = "cc_sidewithdevx";
this.cc_sidewithdevx.Number = 1;
@@ -207,12 +207,12 @@
//
// pnlconfirm
//
- this.pnlconfirm.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.pnlconfirm.Controls.Add(this.lbconfirm);
- this.pnlconfirm.Controls.Add(this.flowLayoutPanel1);
- this.pnlconfirm.Controls.Add(this.label2);
+ this.pnlconfirm.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
+ | ShiftUI.AnchorStyles.Left)
+ | ShiftUI.AnchorStyles.Right)));
+ this.pnlconfirm.Widgets.Add(this.lbconfirm);
+ this.pnlconfirm.Widgets.Add(this.flowLayoutPanel1);
+ this.pnlconfirm.Widgets.Add(this.label2);
this.pnlconfirm.Location = new System.Drawing.Point(56, 27);
this.pnlconfirm.Name = "pnlconfirm";
this.pnlconfirm.Size = new System.Drawing.Size(1220, 449);
@@ -221,7 +221,7 @@
//
// lbconfirm
//
- this.lbconfirm.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.lbconfirm.Dock = ShiftUI.DockStyle.Fill;
this.lbconfirm.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.lbconfirm.Location = new System.Drawing.Point(0, 38);
this.lbconfirm.Name = "lbconfirm";
@@ -232,7 +232,7 @@
//
// label2
//
- this.label2.Dock = System.Windows.Forms.DockStyle.Top;
+ this.label2.Dock = ShiftUI.DockStyle.Top;
this.label2.Font = new System.Drawing.Font("Lucida Console", 19F);
this.label2.Location = new System.Drawing.Point(0, 0);
this.label2.Name = "label2";
@@ -243,10 +243,10 @@
//
// button1
//
- this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.button1.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.button1.AutoSize = true;
- this.button1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
- this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button1.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
+ this.button1.FlatStyle = ShiftUI.FlatStyle.Flat;
this.button1.Location = new System.Drawing.Point(1233, 510);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(83, 25);
@@ -257,10 +257,10 @@
//
// button2
//
- this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.button2.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
this.button2.AutoSize = true;
- this.button2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
- this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button2.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
+ this.button2.FlatStyle = ShiftUI.FlatStyle.Flat;
this.button2.Location = new System.Drawing.Point(1210, 12);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(106, 25);
@@ -271,8 +271,8 @@
//
// flowLayoutPanel1
//
- this.flowLayoutPanel1.Controls.Add(this.button3);
- this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.flowLayoutPanel1.Widgets.Add(this.button3);
+ this.flowLayoutPanel1.Dock = ShiftUI.DockStyle.Bottom;
this.flowLayoutPanel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 412);
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
@@ -282,8 +282,8 @@
// button3
//
this.button3.AutoSize = true;
- this.button3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
- this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button3.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
+ this.button3.FlatStyle = ShiftUI.FlatStyle.Flat;
this.button3.Location = new System.Drawing.Point(3, 3);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(71, 32);
@@ -295,21 +295,21 @@
// ChooseYourApproach
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.ClientSize = new System.Drawing.Size(1328, 547);
- this.Controls.Add(this.button2);
- this.Controls.Add(this.button1);
- this.Controls.Add(this.pnlconfirm);
- this.Controls.Add(this.pnlchoices);
- this.Controls.Add(this.panel1);
- this.Controls.Add(this.pnldescription);
- this.Controls.Add(this.pnlmain);
+ this.Widgets.Add(this.button2);
+ this.Widgets.Add(this.button1);
+ this.Widgets.Add(this.pnlconfirm);
+ this.Widgets.Add(this.pnlchoices);
+ this.Widgets.Add(this.panel1);
+ this.Widgets.Add(this.pnldescription);
+ this.Widgets.Add(this.pnlmain);
this.ForeColor = System.Drawing.Color.LightGreen;
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
+ this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
this.Name = "ChooseYourApproach";
this.Text = "ChooseYourApproach";
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.onClose);
+ this.FormClosing += new ShiftUI.FormClosingEventHandler(this.onClose);
this.Load += new System.EventHandler(this.ChooseYourApproach_Load);
this.pnlmain.ResumeLayout(false);
this.pnldescription.ResumeLayout(false);
@@ -326,25 +326,25 @@
#endregion
- private System.Windows.Forms.Panel pnlmain;
- private System.Windows.Forms.Label lbdesc;
- private System.Windows.Forms.Label lbtitle;
- private System.Windows.Forms.Panel pnldescription;
- private System.Windows.Forms.Label choicedesc;
- private System.Windows.Forms.FlowLayoutPanel fldescbuttons;
- private System.Windows.Forms.Button btnbegin;
- private System.Windows.Forms.Label choicetitle;
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.Panel pnlchoices;
- private ChoiceControl choiceControl3;
- private ChoiceControl choiceControl2;
- private ChoiceControl cc_sidewithdevx;
- private System.Windows.Forms.Panel pnlconfirm;
- private System.Windows.Forms.Label lbconfirm;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Button button1;
- private System.Windows.Forms.Button button2;
- private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
- private System.Windows.Forms.Button button3;
+ private ShiftUI.Panel pnlmain;
+ private ShiftUI.Label lbdesc;
+ private ShiftUI.Label lbtitle;
+ private ShiftUI.Panel pnldescription;
+ private ShiftUI.Label choicedesc;
+ private ShiftUI.FlowLayoutPanel fldescbuttons;
+ private ShiftUI.Button btnbegin;
+ private ShiftUI.Label choicetitle;
+ private ShiftUI.Panel panel1;
+ private ShiftUI.Panel pnlchoices;
+ private ChoiceWidget choiceWidget3;
+ private ChoiceWidget choiceWidget2;
+ private ChoiceWidget cc_sidewithdevx;
+ private ShiftUI.Panel pnlconfirm;
+ private ShiftUI.Label lbconfirm;
+ private ShiftUI.Label label2;
+ private ShiftUI.Button button1;
+ private ShiftUI.Button button2;
+ private ShiftUI.FlowLayoutPanel flowLayoutPanel1;
+ private ShiftUI.Button button3;
}
} \ No newline at end of file