示例#1
0
文件: Booking.cs 项目: jacov/nor-port
        private void dataGridViewBookingPassengers_DoubleClick(object sender, EventArgs e)
        {
            var editForm = new BookingPassengerEdit();

            editForm.MdiParent = this.MdiParent;
            editForm.ShowAsEdit((System.Guid)dataGridViewBookingPassengers.CurrentRow.Cells["BookingPassengerId"].Value);
        }
示例#2
0
文件: Booking.cs 项目: jacov/nor-port
        private void buttonCrudeBookingPassengerAdd_Click(object sender, EventArgs e)
        {
            var editForm = new BookingPassengerEdit();

            editForm.MdiParent = this.MdiParent;
            editForm.ShowAsAddByBookingAndUser(_bookingContract.Booking.BookingId, _userId);
        }