diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-10-24 11:27:51 +0100 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-10-24 11:27:51 +0100 |
| commit | 3d2e297b43cbd7f99269c9a58b25651a83ccef3c (patch) | |
| tree | ef636bc39af2b880af61acde98a2c5fb9e92cbaa /Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs | |
| parent | e5f29e7b53322e11578acd0deb3b1d454998bb77 (diff) | |
| parent | aff052b475abc5d4035369a85fa471f62cad021b (diff) | |
| download | histacom2-3d2e297b43cbd7f99269c9a58b25651a83ccef3c.tar.gz histacom2-3d2e297b43cbd7f99269c9a58b25651a83ccef3c.tar.bz2 histacom2-3d2e297b43cbd7f99269c9a58b25651a83ccef3c.zip | |
Updated my fork!
Diffstat (limited to 'Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs')
| -rw-r--r-- | Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs b/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs new file mode 100644 index 0000000..e48f4ed --- /dev/null +++ b/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs @@ -0,0 +1,36 @@ +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; + +namespace Histacom2.OS.Win98.Win98Apps +{ + public partial class WinClassicTimeDistorter2 : UserControl + { + public int secsLeft = 120; + + public WinClassicTimeDistorter2() + { + InitializeComponent(); + } + + private void classicButton1_Click(object sender, EventArgs e) + { + classicButton1.Hide(); + classicLabel4.Show(); + classicLabel4.Text = "Preparing to travel. ETA: 120 secs."; + timer1.Start(); + Story.Hack3.StartObjective(); + } + + private void timer1_Tick(object sender, EventArgs e) + { + classicLabel4.Text = $"Preparing to travel. ETA: {secsLeft--} secs."; + } + } +} |
