From 572da0f8f37a16754aec6f08031862b73826bb00 Mon Sep 17 00:00:00 2001 From: lempamo Date: Mon, 30 Oct 2017 21:31:56 -0400 Subject: webchat is working now --- Histacom2/OS/Win95/Win95Apps/WebChat1998.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Histacom2/OS/Win95/Win95Apps/WebChat1998.cs') 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++; } -- cgit v1.2.3