aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-04-02 20:17:19 -0400
committerlempamo <[email protected]>2017-04-02 20:17:19 -0400
commit3afc5f0362cba789e1d4049401566f711dd08065 (patch)
tree2d00eef6ea1d2266afd71946a8391dc0a1f108c2 /TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
parentdb3a41715a3d49c275fd924f1d590de2956d972f (diff)
downloadhistacom2-3afc5f0362cba789e1d4049401566f711dd08065.tar.gz
histacom2-3afc5f0362cba789e1d4049401566f711dd08065.tar.bz2
histacom2-3afc5f0362cba789e1d4049401566f711dd08065.zip
fixed textbox not auto scrolling to bottom
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
index de03b93..85ac07c 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
@@ -48,7 +48,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
TitleScreen.username = txtscreenname.Text;
login.Hide();
listBox1.Items.Add(TitleScreen.username);
- history.Text = "System: " + TitleScreen.username + " has joined the chat." + Environment.NewLine;
+ history.AppendText("System: " + TitleScreen.username + " has joined the chat." + Environment.NewLine);
join.Play();
Chat.Start();
}
@@ -57,7 +57,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
{
if (!guessing)
{
- history.Text += wcmp.ParseMessage(resources.GetString("convo"), chat_index, TitleScreen.username) + Environment.NewLine;
+ history.AppendText(wcmp.ParseMessage(resources.GetString("convo"), chat_index, TitleScreen.username) + Environment.NewLine);
switch (wcmp.GetSpecial(resources.GetString("convo"), chat_index))
{
case "addsh":
@@ -96,11 +96,11 @@ namespace TimeHACK.OS.Win95.Win95Apps
{
if (correctname)
{
- history.Text += "SkyHigh: yay you got it right!" + Environment.NewLine;
+ history.AppendText("SkyHigh: yay you got it right!" + Environment.NewLine);
}
else
{
- history.Text += "SkyHigh: sorry, my name is actually bill" + Environment.NewLine;
+ history.AppendText("SkyHigh: sorry, my name is actually bill" + Environment.NewLine);
}
guessing = false;
receive.Play();
@@ -111,7 +111,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
private void Button2_Click(object sender, EventArgs e)
{
- if (typechat.Text != "") history.Text += TitleScreen.username + ": " + typechat.Text + Environment.NewLine;
+ if (typechat.Text != "") history.AppendText(TitleScreen.username + ": " + typechat.Text + Environment.NewLine);
typechat.Text = "";
send.Play();
}