From 22b7ec620f8708c0f922e3883b82b01431b5ef05 Mon Sep 17 00:00:00 2001 From: AShifter Date: Sat, 10 Jun 2017 10:24:20 -0600 Subject: Start story hell yeah --- .../OS/Win95/Win95Apps/WinClassicTerminal.cs | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs') diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs new file mode 100644 index 0000000..24cb7dd --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using System.Media; +using System.IO; +using System.Threading; + +namespace TimeHACK.OS.Win95.Win95Apps +{ + public partial class WinClassicTerminal : UserControl + { + public WinClassicTerminal() + { + InitializeComponent(); + this.richTextBox1.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); + } + private SoundPlayer startsound; + /// + /// Write text to the Terminal and create a new line. Very similar to the Win32 Console.WriteLine Function. + /// + /// + public void WriteLine(string Text) + { + richTextBox1.AppendText(Text + "\n"); + } + + /// + /// Write text to the Terminal. Very similar to the Win32 Console.Write Function. + /// + /// + public void Write(String Text) + { + richTextBox1.AppendText(Text); + } + } +} -- cgit v1.2.3