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 { } }
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; } }
private void FormIngresarNuevoEmpleado_FormClosing(object sender, FormClosingEventArgs e) { MenuSettings.EnableMenuItem("toolStripMenuItem1", "nuevoToolStripMenuItem"); }
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"); }
private void FormModificarDatosDeEmpleado_FormClosing(object sender, FormClosingEventArgs e) { MenuSettings.EnableMenuItem("toolStripMenuItem1", "modificarToolStripMenuItem"); }
private void frmAcerca_FormClosing(object sender, FormClosingEventArgs e) { MenuSettings.EnableMenuItem("ayudaToolStripMenuItem", "acercaEToolStripMenuItem"); }
private void FormEliminarEmpleado_FormClosing(object sender, FormClosingEventArgs e) { MenuSettings.EnableMenuItem("toolStripMenuItem1", "eliminarToolStripMenuItem"); }