Пример #1
0
        private void cancelarReservaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ReservaModDel FormTmp = new ReservaModDel(FormType.Delete);

            if (FormTmp.ShowDialog() == DialogResult.OK)
            {
                Reserva r = FormTmp.Reserva;

                FormTmp.Close();
                FormTmp.Dispose();

                new ReservaCancelForm(r).ShowDialog();
            }
        }
Пример #2
0
        private void modificarReservaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ReservaModDel FormTmp = new ReservaModDel(FormType.Modify);

            if (FormTmp.ShowDialog() == DialogResult.OK)
            {
                Reserva r = FormTmp.Reserva;

                FormTmp.Close();
                FormTmp.Dispose();

                new ReservaFormPaso1(r, FormType.Modify).ShowDialog();
            }
        }