Exemplo n.º 1
0
 public Enter1(MyTicket t1, string ss)
 {
     InitializeComponent();
     textBlock.Text  = "起始车站:  " + t1.Start;
     textBlock1.Text = "目的车站:  " + t1.End;
     textBlock2.Text = "票    种:  " + ss;
     textBlock3.Text = "单    价:  " + t1.Price;
 }
Exemplo n.º 2
0
 public Leave1(MyTicket t1)
 {
     InitializeComponent();
     this.t1 = t1;
     for (int i = 0; i < MyClass.place.Length; i++)
     {
         comboBox.Items.Add(MyClass.place[i]);
     }
 }