aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/OS/Win95/Win95Apps/WebChat1998.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-10-30 21:31:56 -0400
committerlempamo <[email protected]>2017-10-30 21:31:56 -0400
commit572da0f8f37a16754aec6f08031862b73826bb00 (patch)
tree3da80072840d8855706f836dbff160d7916a45fb /Histacom2/OS/Win95/Win95Apps/WebChat1998.cs
parentc29dcdaed4c3e224b1f670f9fe7192a6678d3fb3 (diff)
downloadhistacom2-572da0f8f37a16754aec6f08031862b73826bb00.tar.gz
histacom2-572da0f8f37a16754aec6f08031862b73826bb00.tar.bz2
histacom2-572da0f8f37a16754aec6f08031862b73826bb00.zip
webchat is working now
Diffstat (limited to 'Histacom2/OS/Win95/Win95Apps/WebChat1998.cs')
-rw-r--r--Histacom2/OS/Win95/Win95Apps/WebChat1998.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/Histacom2/OS/Win95/Win95Apps/WebChat1998.cs b/Histacom2/OS/Win95/Win95Apps/WebChat1998.cs
index c986b23..5956276 100644
--- a/Histacom2/OS/Win95/Win95Apps/WebChat1998.cs
+++ b/Histacom2/OS/Win95/Win95Apps/WebChat1998.cs
@@ -70,9 +70,9 @@ namespace Histacom2.OS.Win95.Win95Apps
{
if (!guessing)
{
- if (history.ScrollBars != ScrollBars.None) history.AppendText(wcmp.ParseMessage(resources.GetString("convo"), chat_index, TitleScreen.username));
- else history.Text = wcmp.ParseMessage(resources.GetString("convo"), chat_index, TitleScreen.username);
- switch (wcmp.GetSpecial(resources.GetString("convo"), chat_index))
+ if (history.ScrollBars != ScrollBars.None) history.AppendText(wcmp.ParseMessage(Properties.Resources.webchat1998_convo, chat_index, TitleScreen.username));
+ else history.Text = wcmp.ParseMessage(Properties.Resources.webchat1998_convo, chat_index, TitleScreen.username);
+ switch (wcmp.GetSpecial(Properties.Resources.webchat1998_convo, chat_index))
{
case "addsh":
listBox1.Items.Add("SkyHigh");
@@ -208,8 +208,8 @@ namespace Histacom2.OS.Win95.Win95Apps
if (msgsound) receive.Play();
break;
}
- if (TitleScreen.username == "devspeed") Chat.Interval = wcmp.GetMessageDelay(resources.GetString("convo"), chat_index) / 2;
- else Chat.Interval = wcmp.GetMessageDelay(resources.GetString("convo"), chat_index);
+ if (TitleScreen.username == "devspeed") Chat.Interval = wcmp.GetMessageDelay(Properties.Resources.webchat1998_convo, chat_index) / 2;
+ else Chat.Interval = wcmp.GetMessageDelay(Properties.Resources.webchat1998_convo, chat_index);
}
else
{
@@ -223,7 +223,7 @@ namespace Histacom2.OS.Win95.Win95Apps
}
guessing = false;
receive.Play();
- Chat.Interval = wcmp.GetMessageDelay(resources.GetString("convo"), chat_index);
+ Chat.Interval = wcmp.GetMessageDelay(Properties.Resources.webchat1998_convo, chat_index);
}
chat_index++;
}