aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Apps/NetworkBrowser.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/Apps/NetworkBrowser.Designer.cs
parent9322701aa1eae9596a8586ef19a0fe1d1b3ab66b (diff)
downloadshiftos-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/Apps/NetworkBrowser.Designer.cs')
-rw-r--r--source/WindowsFormsApplication1/Apps/NetworkBrowser.Designer.cs224
1 files changed, 112 insertions, 112 deletions
diff --git a/source/WindowsFormsApplication1/Apps/NetworkBrowser.Designer.cs b/source/WindowsFormsApplication1/Apps/NetworkBrowser.Designer.cs
index 04683ac..498d57a 100644
--- a/source/WindowsFormsApplication1/Apps/NetworkBrowser.Designer.cs
+++ b/source/WindowsFormsApplication1/Apps/NetworkBrowser.Designer.cs
@@ -30,33 +30,33 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NetworkBrowser));
- this.panel1 = new System.Windows.Forms.Panel();
- this.pnlonline = new System.Windows.Forms.Panel();
- this.btnjoinlobby = new System.Windows.Forms.Button();
- this.lbonlineservers = new System.Windows.Forms.ListBox();
- this.lbonlinedesc = new System.Windows.Forms.Label();
- this.lbonlineheader = new System.Windows.Forms.Label();
- this.button1 = new System.Windows.Forms.Button();
- this.label3 = new System.Windows.Forms.Label();
- this.btnscreen = new System.Windows.Forms.Button();
- this.pnlmynet = new System.Windows.Forms.Panel();
- this.flmodules = new System.Windows.Forms.FlowLayoutPanel();
- this.label5 = new System.Windows.Forms.Label();
- this.label4 = new System.Windows.Forms.Label();
- this.btntier = new System.Windows.Forms.Button();
- this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
- this.btnstartbattle = new System.Windows.Forms.Button();
- this.lbnets = new System.Windows.Forms.ListBox();
- this.panel2 = new System.Windows.Forms.Panel();
- this.lbnetdesc = new System.Windows.Forms.Label();
- this.lbtitle = new System.Windows.Forms.Label();
- this.tmrcalctotal = new System.Windows.Forms.Timer(this.components);
+ this.panel1 = new ShiftUI.Panel();
+ this.pnlonline = new ShiftUI.Panel();
+ this.btnjoinlobby = new ShiftUI.Button();
+ this.lbonlineservers = new ShiftUI.ListBox();
+ this.lbonlinedesc = new ShiftUI.Label();
+ this.lbonlineheader = new ShiftUI.Label();
+ this.button1 = new ShiftUI.Button();
+ this.label3 = new ShiftUI.Label();
+ this.btnscreen = new ShiftUI.Button();
+ this.pnlmynet = new ShiftUI.Panel();
+ this.flmodules = new ShiftUI.FlowLayoutPanel();
+ this.label5 = new ShiftUI.Label();
+ this.label4 = new ShiftUI.Label();
+ this.btntier = new ShiftUI.Button();
+ this.label2 = new ShiftUI.Label();
+ this.label1 = new ShiftUI.Label();
+ this.btnstartbattle = new ShiftUI.Button();
+ this.lbnets = new ShiftUI.ListBox();
+ this.panel2 = new ShiftUI.Panel();
+ this.lbnetdesc = new ShiftUI.Label();
+ this.lbtitle = new ShiftUI.Label();
+ this.tmrcalctotal = new ShiftUI.Timer(this.components);
this.pgtotalhealth = new ShiftOS.ProgressBarEX();
- this.label6 = new System.Windows.Forms.Label();
- this.label7 = new System.Windows.Forms.Label();
- this.txtmyname = new System.Windows.Forms.TextBox();
- this.txtmydescription = new System.Windows.Forms.TextBox();
+ this.label6 = new ShiftUI.Label();
+ this.label7 = new ShiftUI.Label();
+ this.txtmyname = new ShiftUI.TextBox();
+ this.txtmydescription = new ShiftUI.TextBox();
this.panel1.SuspendLayout();
this.pnlonline.SuspendLayout();
this.pnlmynet.SuspendLayout();
@@ -65,18 +65,18 @@
//
// panel1
//
- this.panel1.Controls.Add(this.pnlmynet);
- this.panel1.Controls.Add(this.pnlonline);
- this.panel1.Controls.Add(this.button1);
- this.panel1.Controls.Add(this.label3);
- this.panel1.Controls.Add(this.btnscreen);
- this.panel1.Controls.Add(this.btntier);
- this.panel1.Controls.Add(this.label2);
- this.panel1.Controls.Add(this.label1);
- this.panel1.Controls.Add(this.btnstartbattle);
- this.panel1.Controls.Add(this.lbnets);
- this.panel1.Controls.Add(this.panel2);
- this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel1.Widgets.Add(this.pnlmynet);
+ this.panel1.Widgets.Add(this.pnlonline);
+ this.panel1.Widgets.Add(this.button1);
+ this.panel1.Widgets.Add(this.label3);
+ this.panel1.Widgets.Add(this.btnscreen);
+ this.panel1.Widgets.Add(this.btntier);
+ this.panel1.Widgets.Add(this.label2);
+ this.panel1.Widgets.Add(this.label1);
+ this.panel1.Widgets.Add(this.btnstartbattle);
+ this.panel1.Widgets.Add(this.lbnets);
+ this.panel1.Widgets.Add(this.panel2);
+ 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(725, 495);
@@ -84,10 +84,10 @@
//
// pnlonline
//
- this.pnlonline.Controls.Add(this.btnjoinlobby);
- this.pnlonline.Controls.Add(this.lbonlineservers);
- this.pnlonline.Controls.Add(this.lbonlinedesc);
- this.pnlonline.Controls.Add(this.lbonlineheader);
+ this.pnlonline.Widgets.Add(this.btnjoinlobby);
+ this.pnlonline.Widgets.Add(this.lbonlineservers);
+ this.pnlonline.Widgets.Add(this.lbonlinedesc);
+ this.pnlonline.Widgets.Add(this.lbonlineheader);
this.pnlonline.Location = new System.Drawing.Point(12, 12);
this.pnlonline.Name = "pnlonline";
this.pnlonline.Size = new System.Drawing.Size(404, 447);
@@ -95,9 +95,9 @@
//
// btnjoinlobby
//
- this.btnjoinlobby.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.btnjoinlobby.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.btnjoinlobby.Enabled = false;
- this.btnjoinlobby.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnjoinlobby.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnjoinlobby.Location = new System.Drawing.Point(306, 415);
this.btnjoinlobby.Name = "btnjoinlobby";
this.btnjoinlobby.Size = new System.Drawing.Size(84, 23);
@@ -108,9 +108,9 @@
//
// lbonlineservers
//
- this.lbonlineservers.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.lbonlineservers.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
+ | ShiftUI.AnchorStyles.Left)
+ | ShiftUI.AnchorStyles.Right)));
this.lbonlineservers.BackColor = System.Drawing.Color.Black;
this.lbonlineservers.ForeColor = System.Drawing.Color.White;
this.lbonlineservers.FormattingEnabled = true;
@@ -141,8 +141,8 @@
//
// button1
//
- this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button1.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
+ this.button1.FlatStyle = ShiftUI.FlatStyle.Flat;
this.button1.Location = new System.Drawing.Point(549, 465);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(83, 23);
@@ -153,7 +153,7 @@
//
// label3
//
- this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.label3.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(282, 470);
this.label3.Name = "label3";
@@ -163,8 +163,8 @@
//
// btnscreen
//
- this.btnscreen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.btnscreen.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnscreen.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
+ this.btnscreen.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnscreen.Location = new System.Drawing.Point(332, 465);
this.btnscreen.Name = "btnscreen";
this.btnscreen.Size = new System.Drawing.Size(84, 23);
@@ -175,17 +175,17 @@
//
// pnlmynet
//
- this.pnlmynet.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.pnlmynet.Controls.Add(this.txtmydescription);
- this.pnlmynet.Controls.Add(this.txtmyname);
- this.pnlmynet.Controls.Add(this.label7);
- this.pnlmynet.Controls.Add(this.label6);
- this.pnlmynet.Controls.Add(this.pgtotalhealth);
- this.pnlmynet.Controls.Add(this.flmodules);
- this.pnlmynet.Controls.Add(this.label5);
- this.pnlmynet.Controls.Add(this.label4);
+ this.pnlmynet.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
+ | ShiftUI.AnchorStyles.Left)
+ | ShiftUI.AnchorStyles.Right)));
+ this.pnlmynet.Widgets.Add(this.txtmydescription);
+ this.pnlmynet.Widgets.Add(this.txtmyname);
+ this.pnlmynet.Widgets.Add(this.label7);
+ this.pnlmynet.Widgets.Add(this.label6);
+ this.pnlmynet.Widgets.Add(this.pgtotalhealth);
+ this.pnlmynet.Widgets.Add(this.flmodules);
+ this.pnlmynet.Widgets.Add(this.label5);
+ this.pnlmynet.Widgets.Add(this.label4);
this.pnlmynet.Location = new System.Drawing.Point(12, 12);
this.pnlmynet.Name = "pnlmynet";
this.pnlmynet.Size = new System.Drawing.Size(404, 447);
@@ -193,10 +193,10 @@
//
// flmodules
//
- this.flmodules.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.flmodules.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
+ this.flmodules.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
+ | ShiftUI.AnchorStyles.Left)
+ | ShiftUI.AnchorStyles.Right)));
+ this.flmodules.FlowDirection = ShiftUI.FlowDirection.TopDown;
this.flmodules.Location = new System.Drawing.Point(7, 140);
this.flmodules.Name = "flmodules";
this.flmodules.Size = new System.Drawing.Size(394, 219);
@@ -225,8 +225,8 @@
//
// btntier
//
- this.btntier.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.btntier.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btntier.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
+ this.btntier.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btntier.Location = new System.Drawing.Point(47, 465);
this.btntier.Name = "btntier";
this.btntier.Size = new System.Drawing.Size(75, 23);
@@ -237,7 +237,7 @@
//
// label2
//
- this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.label2.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(13, 470);
this.label2.Name = "label2";
@@ -247,7 +247,7 @@
//
// label1
//
- this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.label1.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.label1.Location = new System.Drawing.Point(419, 354);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(294, 71);
@@ -256,8 +256,8 @@
//
// btnstartbattle
//
- this.btnstartbattle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnstartbattle.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnstartbattle.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
+ this.btnstartbattle.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnstartbattle.Location = new System.Drawing.Point(638, 465);
this.btnstartbattle.Name = "btnstartbattle";
this.btnstartbattle.Size = new System.Drawing.Size(75, 23);
@@ -268,9 +268,9 @@
//
// lbnets
//
- this.lbnets.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.lbnets.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
+ | ShiftUI.AnchorStyles.Left)
+ | ShiftUI.AnchorStyles.Right)));
this.lbnets.BackColor = System.Drawing.Color.Black;
this.lbnets.ForeColor = System.Drawing.Color.White;
this.lbnets.FormattingEnabled = true;
@@ -282,9 +282,9 @@
//
// panel2
//
- this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.panel2.Controls.Add(this.lbnetdesc);
- this.panel2.Controls.Add(this.lbtitle);
+ this.panel2.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
+ this.panel2.Widgets.Add(this.lbnetdesc);
+ this.panel2.Widgets.Add(this.lbtitle);
this.panel2.Location = new System.Drawing.Point(422, 13);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(291, 326);
@@ -315,8 +315,8 @@
//
// pgtotalhealth
//
- this.pgtotalhealth.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
+ this.pgtotalhealth.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
+ | ShiftUI.AnchorStyles.Right)));
this.pgtotalhealth.BackColor = System.Drawing.Color.Black;
this.pgtotalhealth.BlockSeparation = 3;
this.pgtotalhealth.BlockWidth = 5;
@@ -364,8 +364,8 @@
//
// txtmydescription
//
- this.txtmydescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtmydescription.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
+ | ShiftUI.AnchorStyles.Right)));
this.txtmydescription.Location = new System.Drawing.Point(74, 397);
this.txtmydescription.Name = "txtmydescription";
this.txtmydescription.Size = new System.Drawing.Size(316, 20);
@@ -375,14 +375,14 @@
// NetworkBrowser
//
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.White;
this.ClientSize = new System.Drawing.Size(725, 495);
- this.Controls.Add(this.panel1);
+ this.Widgets.Add(this.panel1);
this.ForeColor = System.Drawing.Color.Black;
this.Name = "NetworkBrowser";
this.Text = "NetworkBrowser";
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.stop_matchmake);
+ this.FormClosing += new ShiftUI.FormClosingEventHandler(this.stop_matchmake);
this.Load += new System.EventHandler(this.NetworkBrowser_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
@@ -398,32 +398,32 @@
#endregion
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.Button btnstartbattle;
- private System.Windows.Forms.ListBox lbnets;
- private System.Windows.Forms.Panel panel2;
- private System.Windows.Forms.Label lbnetdesc;
- private System.Windows.Forms.Label lbtitle;
- private System.Windows.Forms.Button btntier;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.Button btnscreen;
- private System.Windows.Forms.Panel pnlmynet;
- private System.Windows.Forms.FlowLayoutPanel flmodules;
- private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Label label4;
+ private ShiftUI.Panel panel1;
+ private ShiftUI.Label label1;
+ private ShiftUI.Button btnstartbattle;
+ private ShiftUI.ListBox lbnets;
+ private ShiftUI.Panel panel2;
+ private ShiftUI.Label lbnetdesc;
+ private ShiftUI.Label lbtitle;
+ private ShiftUI.Button btntier;
+ private ShiftUI.Label label2;
+ private ShiftUI.Label label3;
+ private ShiftUI.Button btnscreen;
+ private ShiftUI.Panel pnlmynet;
+ private ShiftUI.FlowLayoutPanel flmodules;
+ private ShiftUI.Label label5;
+ private ShiftUI.Label label4;
private ProgressBarEX pgtotalhealth;
- private System.Windows.Forms.Timer tmrcalctotal;
- private System.Windows.Forms.Panel pnlonline;
- private System.Windows.Forms.Label lbonlinedesc;
- private System.Windows.Forms.Label lbonlineheader;
- private System.Windows.Forms.Button button1;
- private System.Windows.Forms.ListBox lbonlineservers;
- private System.Windows.Forms.Button btnjoinlobby;
- private System.Windows.Forms.TextBox txtmydescription;
- private System.Windows.Forms.TextBox txtmyname;
- private System.Windows.Forms.Label label7;
- private System.Windows.Forms.Label label6;
+ private ShiftUI.Timer tmrcalctotal;
+ private ShiftUI.Panel pnlonline;
+ private ShiftUI.Label lbonlinedesc;
+ private ShiftUI.Label lbonlineheader;
+ private ShiftUI.Button button1;
+ private ShiftUI.ListBox lbonlineservers;
+ private ShiftUI.Button btnjoinlobby;
+ private ShiftUI.TextBox txtmydescription;
+ private ShiftUI.TextBox txtmyname;
+ private ShiftUI.Label label7;
+ private ShiftUI.Label label6;
}
} \ No newline at end of file