-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtrapUi.cs
50 lines (45 loc) · 1.47 KB
/
trapUi.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TMSooad
{
public partial class trapUi : Form
{
public trapUi()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
t_CheckTrapControl trapcontol = new t_CheckTrapControl();
trapcontol.checklist();
t_bookingManager bmnager = new t_bookingManager();
leb1.Text = " Beware the 'broken taxi meter'";
leb2.Text = "Suspiciously helpful bag handlers";
leb3.Text = "The 'free' trinket routine";
leb4.Text = "The guilt trip";
leb5.Text = "Mysterious rental vehicle damage";
leb6.Text = "Fake money and wrong change";
}
private void button2_Click(object sender, EventArgs e)
{
//----Call ui of main page and hide this page---
Form1 fm = new Form1();
fm.Show();
this.Hide();
}
private void button3_Click(object sender, EventArgs e)
{
//----Call vehicals Typeclass Calling page and hide this page---
Vehical_View vehicals = new Vehical_View();
vehicals.Show();
this.Hide();
}
}
}