diff options
| author | MichaelTheShifter <[email protected]> | 2016-06-25 21:22:46 -0400 |
|---|---|---|
| committer | MichaelTheShifter <[email protected]> | 2016-06-25 21:22:46 -0400 |
| commit | 309f9fe361af7b0a508770951af7c548dfca78ad (patch) | |
| tree | e4303c0d47e0daff6d61a6f934b1aa957e67f93d /source/WindowsFormsApplication1/Apps/NetworkBrowser.Designer.cs | |
| parent | 84f689b91a73e512b035df40bbcf556b008a3b81 (diff) | |
| download | shiftos-c--309f9fe361af7b0a508770951af7c548dfca78ad.tar.gz shiftos-c--309f9fe361af7b0a508770951af7c548dfca78ad.tar.bz2 shiftos-c--309f9fe361af7b0a508770951af7c548dfca78ad.zip | |
Added online Hacker Battles with matchmaking system
It's untested, but in theory it'll all work perfectly.
Diffstat (limited to 'source/WindowsFormsApplication1/Apps/NetworkBrowser.Designer.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/Apps/NetworkBrowser.Designer.cs | 133 |
1 files changed, 111 insertions, 22 deletions
diff --git a/source/WindowsFormsApplication1/Apps/NetworkBrowser.Designer.cs b/source/WindowsFormsApplication1/Apps/NetworkBrowser.Designer.cs index cf9468d..2b79b6d 100644 --- a/source/WindowsFormsApplication1/Apps/NetworkBrowser.Designer.cs +++ b/source/WindowsFormsApplication1/Apps/NetworkBrowser.Designer.cs @@ -29,10 +29,12 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NetworkBrowser)); this.panel1 = new System.Windows.Forms.Panel(); this.label3 = new System.Windows.Forms.Label(); this.btnscreen = new System.Windows.Forms.Button(); this.pnlmynet = new System.Windows.Forms.Panel(); + this.pgtotalhealth = new ShiftOS.ProgressBarEX(); this.flmodules = new System.Windows.Forms.FlowLayoutPanel(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); @@ -44,15 +46,23 @@ this.panel2 = new System.Windows.Forms.Panel(); this.lbnetdesc = new System.Windows.Forms.Label(); this.lbtitle = new System.Windows.Forms.Label(); - this.pgtotalhealth = new ShiftOS.ProgressBarEX(); this.tmrcalctotal = new System.Windows.Forms.Timer(this.components); + this.button1 = new System.Windows.Forms.Button(); + this.pnlonline = new System.Windows.Forms.Panel(); + this.lbonlinedesc = new System.Windows.Forms.Label(); + this.lbonlineheader = new System.Windows.Forms.Label(); + this.lbonlineservers = new System.Windows.Forms.ListBox(); + this.btnjoinlobby = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.pnlmynet.SuspendLayout(); this.panel2.SuspendLayout(); + this.pnlonline.SuspendLayout(); this.SuspendLayout(); // // panel1 // + 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.pnlmynet); @@ -104,6 +114,28 @@ this.pnlmynet.Size = new System.Drawing.Size(404, 447); this.pnlmynet.TabIndex = 6; // + // 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.BackColor = System.Drawing.Color.Black; + this.pgtotalhealth.BlockSeparation = 3; + this.pgtotalhealth.BlockWidth = 5; + this.pgtotalhealth.Color = System.Drawing.Color.Gray; + this.pgtotalhealth.Label = "Progress:"; + this.pgtotalhealth.Location = new System.Drawing.Point(7, 98); + this.pgtotalhealth.MaxValue = 100; + this.pgtotalhealth.MinValue = 0; + this.pgtotalhealth.Name = "pgtotalhealth"; + this.pgtotalhealth.Orientation = ShiftOS.ProgressBarEX.ProgressBarOrientation.Horizontal; + this.pgtotalhealth.ShowLabel = false; + this.pgtotalhealth.ShowValue = true; + this.pgtotalhealth.Size = new System.Drawing.Size(394, 32); + this.pgtotalhealth.Step = 10; + this.pgtotalhealth.Style = ShiftOS.ProgressBarEX.ProgressBarExStyle.Continuous; + this.pgtotalhealth.TabIndex = 4; + this.pgtotalhealth.Value = 0; + // // flmodules // this.flmodules.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) @@ -209,7 +241,7 @@ this.lbnetdesc.Name = "lbnetdesc"; this.lbnetdesc.Size = new System.Drawing.Size(283, 290); this.lbnetdesc.TabIndex = 1; - this.lbnetdesc.Text = "No network selected."; + this.lbnetdesc.Text = resources.GetString("lbnetdesc.Text"); // // lbtitle // @@ -221,31 +253,80 @@ this.lbtitle.TabIndex = 0; this.lbtitle.Text = "Network Browser"; // - // 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.BackColor = System.Drawing.Color.Black; - this.pgtotalhealth.BlockSeparation = 3; - this.pgtotalhealth.BlockWidth = 5; - this.pgtotalhealth.Color = System.Drawing.Color.Gray; - this.pgtotalhealth.Location = new System.Drawing.Point(7, 98); - this.pgtotalhealth.MaxValue = 100; - this.pgtotalhealth.MinValue = 0; - this.pgtotalhealth.Name = "pgtotalhealth"; - this.pgtotalhealth.Orientation = ShiftOS.ProgressBarEX.ProgressBarOrientation.Horizontal; - this.pgtotalhealth.ShowValue = true; - this.pgtotalhealth.Size = new System.Drawing.Size(394, 32); - this.pgtotalhealth.Step = 10; - this.pgtotalhealth.Style = ShiftOS.ProgressBarEX.ProgressBarExStyle.Continuous; - this.pgtotalhealth.TabIndex = 4; - this.pgtotalhealth.Value = 0; - // // tmrcalctotal // this.tmrcalctotal.Enabled = true; this.tmrcalctotal.Tick += new System.EventHandler(this.tmrcalctotal_Tick); // + // 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.Location = new System.Drawing.Point(549, 465); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(83, 23); + this.button1.TabIndex = 9; + this.button1.Text = "Battle online!"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // 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.Location = new System.Drawing.Point(12, 12); + this.pnlonline.Name = "pnlonline"; + this.pnlonline.Size = new System.Drawing.Size(404, 447); + this.pnlonline.TabIndex = 10; + // + // lbonlinedesc + // + this.lbonlinedesc.Location = new System.Drawing.Point(4, 37); + this.lbonlinedesc.Name = "lbonlinedesc"; + this.lbonlinedesc.Size = new System.Drawing.Size(386, 364); + this.lbonlinedesc.TabIndex = 3; + this.lbonlinedesc.Text = "You can battle other Shifters over the Internet by joining a lobby and waiting fo" + + "r a match to be made. Please select a server from the list below."; + // + // lbonlineheader + // + this.lbonlineheader.AutoSize = true; + this.lbonlineheader.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F); + this.lbonlineheader.Location = new System.Drawing.Point(3, 5); + this.lbonlineheader.Name = "lbonlineheader"; + this.lbonlineheader.Size = new System.Drawing.Size(106, 20); + this.lbonlineheader.TabIndex = 2; + this.lbonlineheader.Text = "Online battles"; + // + // 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.BackColor = System.Drawing.Color.Black; + this.lbonlineservers.ForeColor = System.Drawing.Color.White; + this.lbonlineservers.FormattingEnabled = true; + this.lbonlineservers.Location = new System.Drawing.Point(1, 72); + this.lbonlineservers.Name = "lbonlineservers"; + this.lbonlineservers.Size = new System.Drawing.Size(389, 329); + this.lbonlineservers.TabIndex = 4; + this.lbonlineservers.SelectedIndexChanged += new System.EventHandler(this.lbonlineservers_SelectedIndexChanged); + // + // btnjoinlobby + // + this.btnjoinlobby.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.btnjoinlobby.Enabled = false; + this.btnjoinlobby.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnjoinlobby.Location = new System.Drawing.Point(306, 415); + this.btnjoinlobby.Name = "btnjoinlobby"; + this.btnjoinlobby.Size = new System.Drawing.Size(84, 23); + this.btnjoinlobby.TabIndex = 8; + this.btnjoinlobby.Text = "Join Lobby"; + this.btnjoinlobby.UseVisualStyleBackColor = true; + this.btnjoinlobby.Click += new System.EventHandler(this.btnjoinlobby_Click); + // // NetworkBrowser // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -263,6 +344,8 @@ this.pnlmynet.PerformLayout(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); + this.pnlonline.ResumeLayout(false); + this.pnlonline.PerformLayout(); this.ResumeLayout(false); } @@ -286,5 +369,11 @@ private System.Windows.Forms.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; } }
\ No newline at end of file |
