Esempio n. 1
0
        private void gridControl1_DoubleClick(object sender, EventArgs e)
        {
            Seat seat = bdsSeat.Current as Seat;

            if (seat.CustomerID == null)
            {
                if (MessageBox.Show("고장 상태를 해제하시겠습니까?", "YesOrNo", MessageBoxButtons.YesNo) == DialogResult.Yes)
                {
                    seat.Breakdown = false;
                    DataRepository.Seat.Update(seat);
                    return;
                }
                else
                {
                    return;
                }
            }
            AddTimeform addTimeform = new AddTimeform(seat.CustomerID);

            addTimeform.Show();
        }
Esempio n. 2
0
        private void btnAddtime_Click(object sender, EventArgs e)
        {
            AddTimeform addtimeform = new AddTimeform();

            addtimeform.Show();
        }