diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-06-10 17:30:00 +0100 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-06-10 17:30:00 +0100 |
| commit | 86fc00d98a24c660bf012b33e8d9e22cf584996f (patch) | |
| tree | bb7d314dc0da2833f36fc44f5bd3b6a96a692c77 /TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs | |
| parent | e4db9cc77abc4cc79c25a6c489183f58276428e8 (diff) | |
| parent | 22b7ec620f8708c0f922e3883b82b01431b5ef05 (diff) | |
| download | histacom2-86fc00d98a24c660bf012b33e8d9e22cf584996f.tar.gz histacom2-86fc00d98a24c660bf012b33e8d9e22cf584996f.tar.bz2 histacom2-86fc00d98a24c660bf012b33e8d9e22cf584996f.zip | |
Merge remote-tracking branch 'refs/remotes/TimeHACKDevs/master'
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs | 42 |
1 files changed, 42 insertions, 0 deletions
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; + /// <summary> + /// Write text to the Terminal and create a new line. Very similar to the Win32 Console.WriteLine Function. + /// </summary> + /// <param name="Text"></param> + public void WriteLine(string Text) + { + richTextBox1.AppendText(Text + "\n"); + } + + /// <summary> + /// Write text to the Terminal. Very similar to the Win32 Console.Write Function. + /// </summary> + /// <param name="Text"></param> + public void Write(String Text) + { + richTextBox1.AppendText(Text); + } + } +} |
