예제 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     seatinfo seat = mydydp.GetSeatBy(selectHid, selectSid);
     seat.available = false;
     mydydp.UpdateSeat(seat);
     ticketform tform = new ticketform(name, selectHid, selectSid, selectstarttime,sellerid);
     tform.Show();
     this.Close();
 }
예제 #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            seatinfo seat = mydydp.GetSeatBy(selectHid, selectSid);

            seat.available = false;
            mydydp.UpdateSeat(seat);
            ticketform tform = new ticketform(name, selectHid, selectSid, selectstarttime, sellerid);

            tform.Show();
            this.Close();
        }