コード例 #1
0
      private void TxtBuyTicket_Click(object sender, EventArgs e)
      {
          BuyTicket bt = new BuyTicket(this, id);

          bt.Visible   = true;
          this.Visible = false;
      }
コード例 #2
0
 public Confirmation(BuyTicket b, string mn, string st, int t, int amount, string id)
 {
     InitializeComponent();
     this.b                  = b;
     this.id                 = id;
     txtMovieName.Text       = mn;
     txtShowtime.Text        = st;
     txtNumberOfTickets.Text = t.ToString();
     txtTotalAmount.Text     = amount.ToString();
     this.Da                 = new DataAccess();
 }