From 21fe930cb2ad9fccdd304ab8b0b38fbcc79afb3a Mon Sep 17 00:00:00 2001 From: lempamo Date: Sat, 1 Apr 2017 21:52:12 -0400 Subject: added error images for infobox --- TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TimeHACK.Main/OS') diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs index a259fa5..7679c7a 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs @@ -35,13 +35,13 @@ namespace TimeHACK.OS.Win95.Win95Apps if (txtscreenname.Text == "") { WindowManager wm = new WindowManager(); - wm.startInfobox95("Invalid Username", "Your username cannot be blank."); + wm.startInfobox95("Invalid Username", "Your username cannot be blank.", Properties.Resources.Win95Warning); return; } else if (txtscreenname.Text.Length > 12) { WindowManager wm = new WindowManager(); - wm.startInfobox95("Invalid Username", "Your username needs to be less than 12 characters."); + wm.startInfobox95("Invalid Username", "Your username needs to be less than 12 characters.", Properties.Resources.Win95Warning); return; } ParentForm.AcceptButton = button2; -- cgit v1.2.3 From f4df5bd646ce9d9471f585f77d351c8ff1495ad4 Mon Sep 17 00:00:00 2001 From: lempamo Date: Sat, 1 Apr 2017 21:52:32 -0400 Subject: forgot this --- TimeHACK.Main/OS/Win95/Win95.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TimeHACK.Main/OS') diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index 8efa6d3..85039ef 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -201,7 +201,7 @@ namespace TimeHACK.OS.Win95 private void infoboxTestToolStripMenuItem_Click(object sender, EventArgs e) { - wm.startInfobox95("AShifter's Infobox", "This is the very first TimeHACK Infobox. It's really easy to call, too! \n Just use wm.startInfobox95(String title, String text)!"); + wm.startInfobox95("AShifter's Infobox", "This is the very first TimeHACK Infobox. It's really easy to call, too! \n Just use wm.startInfobox95(String title, String text, Image erroricon)!", Properties.Resources.Win95Info); } private void WebChatToolStripMenuItem_Click(object sender, EventArgs e) { -- cgit v1.2.3