From 7c55b52ced5d2a571a07165ef628281b14bbf1e3 Mon Sep 17 00:00:00 2001 From: lempamo Date: Fri, 21 Jul 2017 17:03:38 -0400 Subject: stuffs --- TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs | 2 +- TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs | 12 ++++++++++++ TimeHACK.Main/TimeHACK.Main.csproj | 2 ++ 3 files changed, 15 insertions(+), 1 deletion(-) (limited to 'TimeHACK.Main') diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs index bcd6b07..6730480 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs @@ -239,7 +239,7 @@ // // button2 // - this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right) | System.Windows.Forms.AnchorStyles.Right))); this.button2.BackColor = System.Drawing.Color.Silver; this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs index bfacaa6..480ac26 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs @@ -68,6 +68,7 @@ namespace TimeHACK.OS.Win95.Win95Apps listBox1.Items.Add(TitleScreen.username); history.AppendText("System: " + TitleScreen.username + " has joined the chat." + Environment.NewLine); join.Play(); + if (TitleScreen.username == "devspeed") Chat.Interval = 100; Chat.Start(); } @@ -135,6 +136,17 @@ namespace TimeHACK.OS.Win95.Win95Apps history.Font = new Font("Arial", 12F, FontStyle.Regular, GraphicsUnit.Point, ((0))); ((WinClassic)this.ParentForm).maximizebutton.Enabled = false; ((WinClassic)this.ParentForm).WindowState = FormWindowState.Maximized; + ((WinClassic)this.ParentForm).right.Hide(); + ((WinClassic)this.ParentForm).left.Hide(); + ((WinClassic)this.ParentForm).bottom.Hide(); + ((WinClassic)this.ParentForm).top.Hide(); + ((WinClassic)this.ParentForm).bottomleftcorner.Hide(); + ((WinClassic)this.ParentForm).bottomrightcorner.Hide(); + ((WinClassic)this.ParentForm).topleftcorner.Hide(); + ((WinClassic)this.ParentForm).toprightcorner.Hide(); + ((WinClassic)this.ParentForm).Dock = DockStyle.Fill; + ((WinClassic)this.ParentForm).max = true; + ((WinClassic)this.ParentForm).maximizebutton.Image = Engine.Properties.Resources.WinClassicRestore; receive.Play(); break; case "notopbar": diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index 9e02828..af806aa 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -396,6 +396,8 @@ WebChat1998.cs + ResXFileCodeGenerator + WebChat19981.Designer.cs FRMWinClassicAddressBookNewFolder.cs -- cgit v1.2.3