private void frmAdministracionHabitaciones_FormClosed(object sender, FormClosedEventArgs e)
        {
            DialogResult confirmacion = MessageBox.Show("Esta seguro que desea salir", "JUDYSOFT", MessageBoxButtons.OKCancel, MessageBoxIcon.Asterisk);

            if (confirmacion == System.Windows.Forms.DialogResult.OK)
            {
                Dispose();
                MenuSettings.EnableMenuItem("habitacionesToolStripMenuItem", "consultarToolStripMenuItem");
            }
        }
        private void btnSalirModificarDatosCliente_Click(object sender, EventArgs e)
        {
            DialogResult confirmacion = MessageBox.Show("Esta seguro que desea cancelar", "JUDYSOFT", MessageBoxButtons.OKCancel, MessageBoxIcon.Asterisk);

            if (confirmacion == System.Windows.Forms.DialogResult.OK)
            {
                Dispose();
                MenuSettings.EnableMenuItem("clientesToolStripMenuItem", "modificarDatosDeClienteToolStripMenuItem");
            }
            else
            {
            }
        }
        private void botonCancelarReservacion_Click(object sender, EventArgs e)
        {
            DialogResult confirmacion = MessageBox.Show("Está seguro que desea cancelar?", "JUDYSOFT", MessageBoxButtons.OKCancel, MessageBoxIcon.Asterisk);

            if (confirmacion == System.Windows.Forms.DialogResult.OK)
            {
                Dispose();
                MenuSettings.EnableMenuItem("clientesToolStripMenuItem", "ingresarNuevoClienteToolStripMenuItem");
            }
            else
            {
            }
        }
Beispiel #4
0
        private void FormReservas_FormClosing(object sender, FormClosingEventArgs e)
        {
            DialogResult confirmacion = MessageBox.Show("Esta seguro que desea salir", "JUDYSOFT", MessageBoxButtons.OKCancel, MessageBoxIcon.Asterisk);

            if (confirmacion == System.Windows.Forms.DialogResult.OK)
            {
                Dispose();
                MenuSettings.EnableMenuItem("habitacionesToolStripMenuItem", "reservacionesToolStripMenuItem");
            }
            else
            {
                e.Cancel = true;
            }
        }
        private void FormModificarDatosDeCliente_FormClosing(object sender, FormClosingEventArgs e)
        {
            DialogResult confirmacion = MessageBox.Show("¿Está seguro que desea salir?", "JUDYSOFT", MessageBoxButtons.OKCancel, MessageBoxIcon.Asterisk);

            if (confirmacion == System.Windows.Forms.DialogResult.OK)
            {
                Dispose();
                MenuSettings.EnableMenuItem("clientesToolStripMenuItem", "modificarDatosDeClienteToolStripMenuItem");
            }
            else
            {
                e.Cancel = true;
            }
        }
Beispiel #6
0
 private void FormIngresarNuevoEmpleado_FormClosing(object sender, FormClosingEventArgs e)
 {
     MenuSettings.EnableMenuItem("toolStripMenuItem1", "nuevoToolStripMenuItem");
 }
Beispiel #7
0
 private void FormGenerarFactura_FormClosing(object sender, FormClosingEventArgs e)
 {
     MenuSettings.EnableMenuItem("facturacionToolStripMenuItem", "generarFacturaToolStripMenuItem");
 }
 private void btnSalirConsultarCliente_Click(object sender, EventArgs e)
 {
     this.Dispose();
     MenuSettings.EnableMenuItem("clientesToolStripMenuItem", "consultarClientesToolStripMenuItem");
 }
 private void FormConsultarCliente_FormClosing(object sender, FormClosingEventArgs e)
 {
     MenuSettings.EnableMenuItem("clientesToolStripMenuItem", "consultarClientesToolStripMenuItem");
 }
Beispiel #10
0
 private void FormModificarDatosDeEmpleado_FormClosing(object sender, FormClosingEventArgs e)
 {
     MenuSettings.EnableMenuItem("toolStripMenuItem1", "modificarToolStripMenuItem");
 }
Beispiel #11
0
 private void frmAcerca_FormClosing(object sender, FormClosingEventArgs e)
 {
     MenuSettings.EnableMenuItem("ayudaToolStripMenuItem", "acercaEToolStripMenuItem");
 }
 private void FormEliminarEmpleado_FormClosing(object sender, FormClosingEventArgs e)
 {
     MenuSettings.EnableMenuItem("toolStripMenuItem1", "eliminarToolStripMenuItem");
 }