aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-10-15 11:40:01 -0400
committerlempamo <[email protected]>2017-10-15 11:40:01 -0400
commit7ce95f837d4318397e6749250e53fe7a85fe8f77 (patch)
treebb91c6a3acc513238456d93c3941c0a6f5791833 /Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs
parent718fc7c680c17508b9d97cc92e8a3632cb999bb7 (diff)
downloadhistacom2-7ce95f837d4318397e6749250e53fe7a85fe8f77.tar.gz
histacom2-7ce95f837d4318397e6749250e53fe7a85fe8f77.tar.bz2
histacom2-7ce95f837d4318397e6749250e53fe7a85fe8f77.zip
hack3 made
Diffstat (limited to 'Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs')
-rw-r--r--Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs b/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs
index 62c055b..764a615 100644
--- a/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs
+++ b/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs
@@ -12,9 +12,24 @@ namespace Histacom2.OS.Win98.Win98Apps
{
public partial class WinClassicTimeDistorter2 : UserControl
{
+ public int secsLeft = 180;
+
public WinClassicTimeDistorter2()
{
InitializeComponent();
}
+
+ private void classicButton1_Click(object sender, EventArgs e)
+ {
+ classicButton1.Hide();
+ classicLabel4.Show();
+ classicLabel4.Text = "Preparing to travel. ETA: 180 secs.";
+ timer1.Start();
+ }
+
+ private void timer1_Tick(object sender, EventArgs e)
+ {
+ classicLabel4.Text = $"Preparing to travel. ETA: {secsLeft--} secs.";
+ }
}
}