added in welcome screen to wc99

This commit is contained in:
lempamo 2017-10-02 13:14:46 -04:00
parent fcc9810a8e
commit b23771cd18
3 changed files with 133 additions and 17 deletions

View file

@ -46,7 +46,7 @@ private void InitializeComponent()
this.label3 = new Histacom2.Engine.UI.ClassicLabel();
this.label4 = new Histacom2.Engine.UI.ClassicLabel();
this.textBox1 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.textBox2 = new Histacom2.Engine.UI.ClassicLabel();
this.label7 = new Histacom2.Engine.UI.ClassicLabel();
this.button2 = new Histacom2.Engine.UI.ClassicButton();
this.button3 = new Histacom2.Engine.UI.ClassicButton();
@ -220,12 +220,9 @@ private void InitializeComponent()
// textBox2
//
this.textBox2.BackColor = System.Drawing.Color.Silver;
this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.textBox2.Location = new System.Drawing.Point(331, 72);
this.textBox2.Multiline = true;
this.textBox2.Location = new System.Drawing.Point(328, 58);
this.textBox2.Name = "textBox2";
this.textBox2.ReadOnly = true;
this.textBox2.Size = new System.Drawing.Size(151, 86);
this.textBox2.Size = new System.Drawing.Size(154, 76);
this.textBox2.TabIndex = 0;
this.textBox2.Text = "A screen name is a temporary name which will be displayed in place of your real n" +
"ame. To keep your identity safe, please do not enter your real name in this chat" +
@ -328,7 +325,7 @@ private void InitializeComponent()
private Histacom2.Engine.UI.ClassicLabel label5;
private System.Windows.Forms.TextBox typechat;
private System.Windows.Forms.Panel login;
private System.Windows.Forms.TextBox textBox2;
private Histacom2.Engine.UI.ClassicLabel textBox2;
private System.Windows.Forms.TextBox textBox1;
private Histacom2.Engine.UI.ClassicLabel label4;
private Histacom2.Engine.UI.ClassicLabel label3;

View file

@ -28,6 +28,7 @@ protected override void Dispose(bool disposing)
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WebChat1999));
this.button2 = new Histacom2.Engine.UI.ClassicButton();
this.label7 = new Histacom2.Engine.UI.ClassicLabel();
this.typechat = new System.Windows.Forms.TextBox();
@ -38,7 +39,16 @@ private void InitializeComponent()
this.history = new System.Windows.Forms.TextBox();
this.label1 = new Histacom2.Engine.UI.ClassicLabel();
this.listBox1 = new System.Windows.Forms.ListBox();
this.login = new System.Windows.Forms.Panel();
this.label2 = new Histacom2.Engine.UI.ClassicLabel();
this.txtscreenname = new System.Windows.Forms.TextBox();
this.button1 = new Histacom2.Engine.UI.ClassicButton();
this.label3 = new Histacom2.Engine.UI.ClassicLabel();
this.label4 = new Histacom2.Engine.UI.ClassicLabel();
this.textBox1 = new System.Windows.Forms.TextBox();
this.textBox2 = new Histacom2.Engine.UI.ClassicLabel();
this.panel1.SuspendLayout();
this.login.SuspendLayout();
this.SuspendLayout();
//
// button2
@ -51,16 +61,16 @@ private void InitializeComponent()
this.button2.DialogResult = System.Windows.Forms.DialogResult.None;
this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
this.button2.ForeColor = System.Drawing.Color.Black;
this.button2.Location = new System.Drawing.Point(425, 419);
this.button2.Location = new System.Drawing.Point(425, 428);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(71, 23);
this.button2.Size = new System.Drawing.Size(71, 20);
this.button2.TabIndex = 16;
this.button2.Text = "Speak";
//
// label7
//
this.label7.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label7.Location = new System.Drawing.Point(13, 17);
this.label7.Location = new System.Drawing.Point(13, 12);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(483, 14);
this.label7.TabIndex = 15;
@ -71,7 +81,7 @@ private void InitializeComponent()
//
this.typechat.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.typechat.BackColor = System.Drawing.Color.PapayaWhip;
this.typechat.Location = new System.Drawing.Point(13, 419);
this.typechat.Location = new System.Drawing.Point(14, 428);
this.typechat.Name = "typechat";
this.typechat.Size = new System.Drawing.Size(405, 20);
this.typechat.TabIndex = 14;
@ -95,7 +105,7 @@ private void InitializeComponent()
this.panel1.Controls.Add(this.button5);
this.panel1.Location = new System.Drawing.Point(507, 397);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(195, 51);
this.panel1.Size = new System.Drawing.Size(198, 51);
this.panel1.TabIndex = 12;
//
// label5
@ -127,19 +137,19 @@ private void InitializeComponent()
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.history.BackColor = System.Drawing.Color.LemonChiffon;
this.history.Location = new System.Drawing.Point(13, 36);
this.history.Location = new System.Drawing.Point(13, 32);
this.history.Multiline = true;
this.history.Name = "history";
this.history.ReadOnly = true;
this.history.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.history.Size = new System.Drawing.Size(483, 377);
this.history.Size = new System.Drawing.Size(483, 390);
this.history.TabIndex = 11;
//
// label1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label1.Font = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(557, 17);
this.label1.Location = new System.Drawing.Point(561, 14);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(94, 17);
this.label1.TabIndex = 10;
@ -151,16 +161,105 @@ private void InitializeComponent()
| System.Windows.Forms.AnchorStyles.Right)));
this.listBox1.BackColor = System.Drawing.Color.PapayaWhip;
this.listBox1.FormattingEnabled = true;
this.listBox1.Location = new System.Drawing.Point(507, 36);
this.listBox1.Location = new System.Drawing.Point(510, 32);
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(195, 329);
this.listBox1.Size = new System.Drawing.Size(195, 342);
this.listBox1.TabIndex = 9;
//
// login
//
this.login.BackColor = System.Drawing.Color.Moccasin;
this.login.Controls.Add(this.label2);
this.login.Controls.Add(this.txtscreenname);
this.login.Controls.Add(this.button1);
this.login.Controls.Add(this.label3);
this.login.Controls.Add(this.label4);
this.login.Controls.Add(this.textBox1);
this.login.Controls.Add(this.textBox2);
this.login.Location = new System.Drawing.Point(126, 106);
this.login.Name = "login";
this.login.Size = new System.Drawing.Size(468, 242);
this.login.TabIndex = 17;
//
// label2
//
this.label2.Location = new System.Drawing.Point(303, 161);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(161, 13);
this.label2.TabIndex = 6;
this.label2.Text = "Please type in a screen name.";
//
// txtscreenname
//
this.txtscreenname.Location = new System.Drawing.Point(306, 181);
this.txtscreenname.Name = "txtscreenname";
this.txtscreenname.Size = new System.Drawing.Size(151, 20);
this.txtscreenname.TabIndex = 5;
//
// button1
//
this.button1.AdaptBackColorWithTheme = true;
this.button1.AdaptFontWithTheme = true;
this.button1.AdaptForeColorWithTheme = true;
this.button1.BackColor = System.Drawing.Color.NavajoWhite;
this.button1.DialogResult = System.Windows.Forms.DialogResult.None;
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
this.button1.ForeColor = System.Drawing.Color.Black;
this.button1.Location = new System.Drawing.Point(306, 208);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(151, 23);
this.button1.TabIndex = 4;
this.button1.Text = "Login";
//
// label3
//
this.label3.Font = new System.Drawing.Font("Helvetica CE Narrow", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label3.Location = new System.Drawing.Point(168, 10);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(144, 21);
this.label3.TabIndex = 3;
this.label3.Text = "Welcome to WebChat";
//
// label4
//
this.label4.Font = new System.Drawing.Font("Calibri", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label4.Location = new System.Drawing.Point(10, 40);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(100, 16);
this.label4.TabIndex = 2;
this.label4.Text = "Chat Room Rules:";
//
// textBox1
//
this.textBox1.BackColor = System.Drawing.Color.White;
this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textBox1.Font = new System.Drawing.Font("Adobe Gothic Std B", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
this.textBox1.Location = new System.Drawing.Point(10, 59);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.ReadOnly = true;
this.textBox1.Size = new System.Drawing.Size(279, 172);
this.textBox1.TabIndex = 1;
this.textBox1.Text = resources.GetString("textBox1.Text");
this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// textBox2
//
this.textBox2.BackColor = System.Drawing.Color.Moccasin;
this.textBox2.Location = new System.Drawing.Point(303, 58);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(154, 76);
this.textBox2.TabIndex = 0;
this.textBox2.Text = "A screen name is a temporary name which will be displayed in place of your real n" +
"ame. To keep your identity safe, please do not enter your real name in this chat" +
"room.";
//
// WebChat1999
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Silver;
this.Controls.Add(this.login);
this.Controls.Add(this.button2);
this.Controls.Add(this.label7);
this.Controls.Add(this.typechat);
@ -172,6 +271,8 @@ private void InitializeComponent()
this.Name = "WebChat1999";
this.Size = new System.Drawing.Size(724, 462);
this.panel1.ResumeLayout(false);
this.login.ResumeLayout(false);
this.login.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
@ -189,5 +290,13 @@ private void InitializeComponent()
private System.Windows.Forms.TextBox history;
private Engine.UI.ClassicLabel label1;
private System.Windows.Forms.ListBox listBox1;
private System.Windows.Forms.Panel login;
private Engine.UI.ClassicLabel label2;
private System.Windows.Forms.TextBox txtscreenname;
private Engine.UI.ClassicButton button1;
private Engine.UI.ClassicLabel label3;
private Engine.UI.ClassicLabel label4;
private System.Windows.Forms.TextBox textBox1;
private Engine.UI.ClassicLabel textBox2;
}
}

View file

@ -117,4 +117,14 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="textBox1.Text" xml:space="preserve">
<value>If you do not agree to the following rules below DO NOT log into the chat:
No Bullying
No Swearing
No Hacking
No Illegal Files/ Piracy
Failure to follow these rules will result in serious irreversible consequences.</value>
</data>
</root>