aboutsummaryrefslogtreecommitdiff
path: root/Project Ports
diff options
context:
space:
mode:
authorAlee14 <alee14498@gmail.com>2018-09-01 12:20:33 -0400
committerAlee14 <alee14498@gmail.com>2018-09-01 12:20:33 -0400
commitfd55f877eb291be721a0947b2d31c3dda105a864 (patch)
tree5d2703b1de2b9609bc2043134564e105a9d08046 /Project Ports
parentfe54be0f6667883d8aab0672fe66fd263b1cedf0 (diff)
downloadProject-Silicon-fd55f877eb291be721a0947b2d31c3dda105a864.tar.gz
Project-Silicon-fd55f877eb291be721a0947b2d31c3dda105a864.tar.bz2
Project-Silicon-fd55f877eb291be721a0947b2d31c3dda105a864.zip
Settings changed
Diffstat (limited to 'Project Ports')
-rw-r--r--Project Ports/Programs/Settings.Designer.cs51
-rw-r--r--Project Ports/Programs/Settings.cs6
2 files changed, 33 insertions, 24 deletions
diff --git a/Project Ports/Programs/Settings.Designer.cs b/Project Ports/Programs/Settings.Designer.cs
index 714ef48..cb5f936 100644
--- a/Project Ports/Programs/Settings.Designer.cs
+++ b/Project Ports/Programs/Settings.Designer.cs
@@ -28,46 +28,50 @@
/// </summary>
private void InitializeComponent()
{
- this.button1 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
+ this.txtSetUsername = new System.Windows.Forms.TextBox();
+ this.btnSetUsername = new System.Windows.Forms.Button();
this.SuspendLayout();
//
- // button1
- //
- this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.button1.Location = new System.Drawing.Point(16, 70);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(75, 64);
- this.button1.TabIndex = 0;
- this.button1.UseVisualStyleBackColor = true;
- //
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(10, 9);
+ this.label1.ForeColor = System.Drawing.Color.White;
+ this.label1.Location = new System.Drawing.Point(19, 13);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(107, 32);
this.label1.TabIndex = 1;
this.label1.Text = "Settings";
//
- // label2
+ // txtSetUsername
+ //
+ this.txtSetUsername.Location = new System.Drawing.Point(25, 65);
+ this.txtSetUsername.Multiline = true;
+ this.txtSetUsername.Name = "txtSetUsername";
+ this.txtSetUsername.Size = new System.Drawing.Size(163, 23);
+ this.txtSetUsername.TabIndex = 2;
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(31, 140);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(46, 13);
- this.label2.TabIndex = 2;
- this.label2.Text = "Setting1";
+ // btnSetUsername
+ //
+ this.btnSetUsername.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnSetUsername.Location = new System.Drawing.Point(204, 65);
+ this.btnSetUsername.Name = "btnSetUsername";
+ this.btnSetUsername.Size = new System.Drawing.Size(107, 23);
+ this.btnSetUsername.TabIndex = 3;
+ this.btnSetUsername.Text = "Set Username";
+ this.btnSetUsername.UseVisualStyleBackColor = true;
+ this.btnSetUsername.Click += new System.EventHandler(this.btnSetUsername_Click);
//
// Settings
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label2);
+ this.BackColor = System.Drawing.Color.Black;
+ this.Controls.Add(this.btnSetUsername);
+ this.Controls.Add(this.txtSetUsername);
this.Controls.Add(this.label1);
- this.Controls.Add(this.button1);
+ this.ForeColor = System.Drawing.Color.White;
this.Name = "Settings";
this.Size = new System.Drawing.Size(664, 523);
this.ResumeLayout(false);
@@ -76,9 +80,8 @@
}
#endregion
-
- private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label label1;
- private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.TextBox txtSetUsername;
+ private System.Windows.Forms.Button btnSetUsername;
}
}
diff --git a/Project Ports/Programs/Settings.cs b/Project Ports/Programs/Settings.cs
index 60ba626..a122db4 100644
--- a/Project Ports/Programs/Settings.cs
+++ b/Project Ports/Programs/Settings.cs
@@ -26,6 +26,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
+using PortEngine;
namespace Project_Ports
{
@@ -35,5 +36,10 @@ namespace Project_Ports
{
InitializeComponent();
}
+
+ private void btnSetUsername_Click(object sender, EventArgs e)
+ {
+
+ }
}
}