private void actualizar_datagrid() { try { var descripcion_especialidad = comboEspecialidades.Text.Trim(); var profesional_nombre = textBox_nombre.Text.Trim(); var profesional_apellido = textBox_apellido.Text.Trim(); string fecha_texto = textBox_fecha.Text; label_cargando.Visible = true; this.Refresh(); DataTable datos = BD_Turnos.obtener_turnos_disponibles(profesional_nombre, profesional_apellido, descripcion_especialidad, fecha_texto); if (datos.Rows.Count <= 0) { throw new Exception("No hay Turnos Disponibles para los Filtros Seleccionados"); } Comunes.llenar_dataGrid(dataGridView_resultados_filtros, datos); Comunes.agregar_boton_dataGrid(dataGridView_resultados_filtros, "Pedir Turno", nombre_boton_datagrid); label_cargando.Visible = false; this.Refresh(); } catch (Exception ex) { label_cargando.Visible = false; this.Refresh(); MessageBox.Show(ex.Message, "Pedir Turno", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
//Handler para Cuando se Selecciona un Boton del DataGrid //IMPORTANTE: Se genera haciendo doble click en el DataGrid private void dataGridView_resultados_filtros_CellContentClick(object sender, DataGridViewCellEventArgs e) { try { if (dataGridView_resultados_filtros.Columns[e.ColumnIndex].Name == nombre_boton_datagrid) { //Hago cosas con los valores de la fila seleccionada fecha = DateTime.Parse( Comunes.obtenerStringDataGrid(dataGridView_resultados_filtros, e.RowIndex, 0) ); string horario = Comunes.obtenerStringDataGrid(dataGridView_resultados_filtros, e.RowIndex, 1); string prof_nombre = Comunes.obtenerStringDataGrid(dataGridView_resultados_filtros, e.RowIndex, 2); string prof_apellido = Comunes.obtenerStringDataGrid(dataGridView_resultados_filtros, e.RowIndex, 3); string especialidad = Comunes.obtenerStringDataGrid(dataGridView_resultados_filtros, e.RowIndex, 4); int afil_id = BD_Afiliados.obtenerID_afiliado(usuario.nombre, usuario.apellido, usuario.id); BD_Turnos.asignar_turno(prof_nombre, prof_apellido, fecha, horario, especialidad, afil_id); MessageBox.Show("Turno Asignado. Seleccionado Profesional: " + prof_nombre + " " + prof_apellido + " Especialidad: " + especialidad, "ComprarBono", MessageBoxButtons.OK, MessageBoxIcon.Information); button_limpiar_Click(null, null); } } catch (Exception ex) { MessageBox.Show("Error al obtener Datos Afiliado. " + ex.Message, "ComprarBono", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
//Handler para Cuando se Selecciona un Boton del DataGrid //IMPORTANTE: Se genera haciendo doble click en el DataGrid private void dataGridView_resultados_filtros_CellContentClick(object sender, DataGridViewCellEventArgs e) { try { if (dataGridView_resultados_filtros.Columns[e.ColumnIndex].Name == nombre_boton_datagrid) { //Hago cosas con los valores de la fila seleccionada string afiliado_nombre = Comunes.obtenerStringDataGrid(dataGridView_resultados_filtros, e.RowIndex, 0); string afiliado_apellido = Comunes.obtenerStringDataGrid(dataGridView_resultados_filtros, e.RowIndex, 1); hora_seleccionada = TimeSpan.Parse( Comunes.obtenerStringDataGrid(dataGridView_resultados_filtros, e.RowIndex, 3) ); string profesional_nombre = Comunes.obtenerStringDataGrid(dataGridView_resultados_filtros, e.RowIndex, 4); string profesional_apellido = Comunes.obtenerStringDataGrid(dataGridView_resultados_filtros, e.RowIndex, 5); id_turno = Comunes.obtenerIntDataGrid(dataGridView_resultados_filtros, e.RowIndex, 6); id_afiliado = Comunes.obtenerIntDataGrid(dataGridView_resultados_filtros, e.RowIndex, 7); plan_id = Comunes.obtenerIntDataGrid(dataGridView_resultados_filtros, e.RowIndex, 8); this.label_profesional.Text = "PROF.: " + profesional_nombre + " " + profesional_apellido; this.label_Afiliado.Text = "AFILIADO: " + afiliado_nombre + " " + afiliado_apellido; var bonos = Base_de_Datos.BD_Bonos.getBonos(id_afiliado); ComboData.llenarCombo(combo_Bono, bonos); this.combo_Bono.Enabled = true; //MessageBox.Show("Seleccionado Afiliado: " + nombre + " " + apellido, "RegistrarLlegada", MessageBoxButtons.OK, MessageBoxIcon.Information); } } catch (Exception ex) { btnLimpiar_Click(null, null); MessageBox.Show("Error al Seleccionar: " + ex.Message, "RegistrarLlegada", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void button_Buscar_Click(object sender, EventArgs e) { try { string nombre = this.textBox_Nombre.Text.Trim(); string apellido = this.textBox_Apellido.Text.Trim(); string documento = this.textBox_Documento.Text.Trim(); //DATAGRID DataTable datos = BD_Afiliados.obtener_afiliados_filtros(nombre, apellido, documento, false); if (datos.Rows.Count <= 0) { throw new Exception("No hay Afiliados para Estos Filtros"); } //Lleno el DataGrid Comunes.llenar_dataGrid(dataGridView_resultados_filtros, datos); //Agrego Boton Comunes.agregar_boton_dataGrid(dataGridView_resultados_filtros, "Seleccionar", nombre_boton_datagrid); } catch (Exception ex) { resetear_comprar(); Comunes.limpiarDataGrid(dataGridView_resultados_filtros); MessageBox.Show("Error al Buscar Afiliado con Filtros. " + ex.Message, "ComprarBono", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
public static List <PedidoMapa> ObtenerPendientesApi() { using (TeloBuscoEntities db = new TeloBuscoEntities()) { try { int idPendiente = EstadosServicio.obtenerIdEstadoPedidoPorDescripcion("Pendiente"); var listaPedidos = db.Pedidos.Include("Estados") .Include("Localidades") .Include("Localidades1") .Include("AspNetUsers") .Include("Postulaciones") .Where(x => x.id_estado == idPendiente) .ToList(); List <PedidoMapa> pedidosPendientes = new List <PedidoMapa>(); foreach (var pedido in listaPedidos) { Coordenada origen = new Coordenada(); Coordenada destino = new Coordenada(); if (pedido.lat_origen != null && pedido.lng_origen != null) { origen.lat = Convert.ToDouble(pedido.lat_origen); origen.lng = Convert.ToDouble(pedido.lng_origen); } if (pedido.lat_destino != null && pedido.lng_destino != null) { destino.lat = Convert.ToDouble(pedido.lat_destino); destino.lng = Convert.ToDouble(pedido.lng_destino); } var rangoPrecios = Comunes.ObtenerRangoPrecios(origen, destino); //ver postulado PedidoMapa pedidoMapa = new PedidoMapa() { IdPedido = pedido.IdPedido, IdCliente = pedido.idCliente, NombreCliente = pedido.AspNetUsers.NombreApellido, DescripcionPedido = pedido.descripcion_pedido, ObservacionesPedido = pedido.observaciones_pedido != null? pedido.observaciones_pedido : "Ninguna", DireccionOrigen = pedido.calle_origen + " " + pedido.nro_calle_origen + ", " + pedido.Localidades.Nombre, DireccionDestino = pedido.calle_destino + " " + pedido.nro_calle_destino + ", " + pedido.Localidades1.Nombre, Distancia = Math.Round(Comunes.DistanciaEntreDosPuntosEnKM(origen, destino), 2), Precio = Math.Round(pedido.precio_predido, 2), LatOrigen = pedido.lat_origen != null?Convert.ToDouble(pedido.lat_origen) : 0, LngOrigen = pedido.lng_origen != null?Convert.ToDouble(pedido.lng_origen) : 0, Postulado = false, PrecioMinimo = rangoPrecios.PrecioMinimo, PrecioMaximo = rangoPrecios.PrecioMaximo }; pedidosPendientes.Add(pedidoMapa); } return(pedidosPendientes); } catch (Exception ex) { return(null); } } }
private void generate_new_arrival() { try { time_to_arrive_people = DateTime.Now.AddSeconds(Comunes.get_random(1, 10)); } catch (Exception exp) { } }
private void turnosDatagrid_CellContentClick(object sender, DataGridViewCellEventArgs e) { this.sintomasTextbox.Text = ""; this.diagnosticoTextbox.Text = ""; this.sintomasTextbox.ReadOnly = false; this.diagnosticoTextbox.ReadOnly = false; this.turnoID = Comunes.obtenerIntDataGrid(turnosDatagrid, e.RowIndex, 4); }
private void btnLimpiar_Click(object sender, EventArgs e) { this.txtAnio.Text = ""; this.cmbQuienCancela.SelectedIndex = ComboData.obtener_indice(0, this.cmbQuienCancela); comboBox3.SelectedIndex = ComboData.obtener_indice(0, this.comboBox3); comboSemestre.SelectedIndex = ComboData.obtener_indice(0, this.comboSemestre); comboTop5.SelectedIndex = ComboData.obtener_indice(1, this.comboTop5); comboEspec.SelectedIndex = ComboData.obtener_indice(0, this.comboEspec); Comunes.llenar_dataGrid(dataGridEstadistico, new DataTable()); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Response.WriteFile(Comunes.AnalisisReporte(Convert.ToInt32(Request["idPersona"]), Convert.ToInt32(Request["idOperador"]), null)); Response.AddHeader("Content-disposition", "attachment;FileName=\"Analisis.xls\""); Response.AddHeader("content-type", "text/html"); Response.End(); } }
private void button_limpiar_Click(object sender, EventArgs e) { //Truco para Limpiar ComboBox comboEspecialidades.Items.Add(""); comboEspecialidades.Text = ""; textBox_nombre.Text = ""; textBox_apellido.Text = ""; textBox_fecha.Text = ""; Comunes.limpiarDataGrid(dataGridView_resultados_filtros); }
private void btnAccion_Click(object sender, EventArgs e) { try { if (this.chkTitular.Checked == true) { if (siguiente != null) { if (siguiente.funcionalidad != ABM_AFILIADO.tipos_funcionalidad.ALTA) { this.siguiente.afiliado.id = this.afiliado_id; } else { this.siguiente.afiliado_principal = new Afiliado(); this.siguiente.afiliado_principal.id = this.afiliado_id; } this.siguiente.ShowDialog(); } this.Close(); } else { string nombre = this.textBox_Nombre.Text.Trim(); string apellido = this.textBox_Apellido.Text.Trim(); string documento = this.textBox_Documento.Text.Trim(); bool flag_buscar_titulares = false; if (siguiente.funcionalidad == ABM_AFILIADO.tipos_funcionalidad.ALTA) { flag_buscar_titulares = true; } //DATAGRID DataTable datos = BD_Afiliados.obtener_afiliados_filtros(nombre, apellido, documento, flag_buscar_titulares); if (datos.Rows.Count <= 0) { throw new Exception("No hay Afiliados para Estos Filtros"); } //Lleno el DataGrid Comunes.llenar_dataGrid(dataGridView_resultados_filtros, datos); //Agrego Boton Comunes.agregar_boton_dataGrid(dataGridView_resultados_filtros, this.mensaje_funcionalidad, "seleccionar"); } } catch (Exception ex) { MessageBox.Show("Error al Buscar Afiliado con Filtros. ERROR: " + ex.Message, "identificarAfiliado", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void actualizar_datagrid(string afiliado_nombre, string afiliado_apellido, string documento) { DataTable datos = Base_de_Datos.BD_Turnos.obtener_turnos_con_llegada(afiliado_nombre, afiliado_apellido, documento, this.profID); if (datos.Rows.Count <= 0) { throw new Exception("No hay turnos para estos filtros"); } Comunes.llenar_dataGrid(turnosDatagrid, datos); Comunes.agregar_boton_dataGrid(turnosDatagrid, "Seleccionar", nombre_boton_datagrid); }
private void is_time_to_close() { try { //descarga el reporte automaticamente 2 minutos antes de cerrar if (Comunes.is_time(DateTime.Now, 2)) { get_report(true); } } catch (Exception e) { } }
private void button_horarios_Click(object sender, EventArgs e) { try { Comunes.limpiarDataGrid(dataGridView_resultados_filtros); actualizar_datagrid(); } catch (Exception ex) { MessageBox.Show(ex.Message, "Pedir Turno", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void actualizar_datagrid(string afiliado_nombre, string afiliado_apellido, string profesional_nombre, string profesional_apellido, string especialidad_descripcion) { //DATAGRID DataTable datos = Base_de_Datos.BD_Turnos.obtener_turnos_filtros(afiliado_nombre, afiliado_apellido, profesional_nombre, profesional_apellido, especialidad_descripcion); if (datos.Rows.Count <= 0) { throw new Exception("No hay Turnos para Estos Filtros"); } //Lleno el DataGrid Comunes.llenar_dataGrid(dataGridView_resultados_filtros, datos); //Agrego Boton Comunes.agregar_boton_dataGrid(dataGridView_resultados_filtros, "Seleccionar", nombre_boton_datagrid); }
private void limpiar() { this.registrarAtencionButton.Enabled = false; this.sintomasTextbox.ReadOnly = true; this.diagnosticoTextbox.ReadOnly = true; this.apellidoTextbox.Text = ""; this.nombreTextbox.Text = ""; this.documentoTextbox.Text = ""; this.sintomasTextbox.Text = ""; this.diagnosticoTextbox.Text = ""; Comunes.limpiarDataGrid(turnosDatagrid); }
private void dataGridView_resultados_filtros_CellContentClick(object sender, DataGridViewCellEventArgs e) { try { if (dataGridView_resultados_filtros.Columns[e.ColumnIndex].Name == "seleccionar") { //Hago cosas con los valores de la fila seleccionada this.afiliado_id = Comunes.obtenerIntDataGrid(dataGridView_resultados_filtros, e.RowIndex, 0); this.textBox_Nombre.Text = Comunes.obtenerStringDataGrid(dataGridView_resultados_filtros, e.RowIndex, 1); this.textBox_Apellido.Text = Comunes.obtenerStringDataGrid(dataGridView_resultados_filtros, e.RowIndex, 2); this.textBox_Documento.Text = Comunes.obtenerStringDataGrid(dataGridView_resultados_filtros, e.RowIndex, 3); string mensaje = "¿Seguro desea Seleccionar el Afiliado: "; if (siguiente.funcionalidad == ABM_AFILIADO.tipos_funcionalidad.BAJA) { mensaje = "¿Seguro desea Dar de Baja el Afiliado: "; } var choise = MessageBox.Show(mensaje + this.textBox_Nombre.Text + " " + this.textBox_Apellido.Text + "?", "Identificar Afiliado", MessageBoxButtons.YesNo, MessageBoxIcon.Information); if (choise == DialogResult.Yes) { if (siguiente != null) { if (siguiente.funcionalidad != ABM_AFILIADO.tipos_funcionalidad.ALTA) { this.siguiente.afiliado.id = this.afiliado_id; } else { // SI es un alta sólo se pasa un id cuando es un nuevo afiliado a cargo del seleccionado this.siguiente.afiliado_principal.id = ((int)this.afiliado_id / 100) * 100 + 1; } this.siguiente.ShowDialog(); } this.Close(); } ; } ; } catch (Exception ex) { MessageBox.Show("Error al obtener Datos Columna. ERROR: " + ex.Message, "Identificar Afiliado", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void button_Buscar_Click(object sender, EventArgs e) { try { Comunes.limpiarDataGrid(turnosDatagrid); string afiliado_nombre = this.nombreTextbox.Text.Trim(); string afiliado_apellido = this.apellidoTextbox.Text.Trim(); string documento = this.documentoTextbox.Text.Trim(); actualizar_datagrid(afiliado_nombre, afiliado_apellido, documento); } catch (Exception ex) { MessageBox.Show("Error al Buscar: " + ex.Message, "RegistrarLlegada", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void button_limpiar_Click(object sender, EventArgs e) { try { textBox_Nombre.Text = ""; textBox_Apellido.Text = ""; textBox_Documento.Text = ""; resetear_comprar(); deshabilitar_comprar(); Comunes.limpiarDataGrid(dataGridView_resultados_filtros); } catch (Exception ex) { MessageBox.Show("Error al Limpiar: " + ex.Message, "ComprarBono", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void add_customer() { try { if (Comunes.is_time(time_to_arrive_people)) { Customers customer_group = restaurant.add_customer(); show_add_persons(customer_group); generate_new_arrival(); string conversation = @"Host: Hi, How many you are?" + Environment.NewLine + "Customer: Hi, we are " + customer_group.Amount_Of_People + Environment.NewLine + "Host: Ok let me search a table. Your wait number is # " + customer_group.Id_Wait_Ticket; show_host_new_message(conversation); } } catch (Exception exp) { } }
private void btnBuscar_Click(object sender, EventArgs e) { try { Comunes.limpiarDataGrid(dataGridView_resultados_filtros); string afiliado_nombre = this.textBox_afiliado_nombre.Text.Trim(); string afiliado_apellido = this.textBox_afiliado_apellido.Text.Trim(); string profesional_nombre = this.textBox_profesional_nombre.Text.Trim(); string profesional_apellido = this.textBox_profesional_apellido.Text.Trim(); string especialidad_descripcion = this.comboEspecialidades.Text.Trim(); actualizar_datagrid(afiliado_nombre, afiliado_apellido, profesional_nombre, profesional_apellido, especialidad_descripcion); } catch (Exception ex) { MessageBox.Show("Error al Buscar: " + ex.Message, "RegistrarLlegada", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void Profesionales_que_menos_trabajaron(int año) { try { //DATAGRID DataTable datos = BD_Estadisticas.get_top5_prof_vagos(año, mes_desde, mes_hasta, plan, especialidad); //Lleno el DataGrid Comunes.llenar_dataGrid(dataGridEstadistico, datos); if (datos.Rows.Count <= 0) { throw new Exception("No hay resultados para Estos Filtros"); } } catch (Exception ex) { MessageBox.Show(ex.Message, "ESTADISTICAS", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void Especialidades_mas_concurridas(int año) { try { //DATAGRID DataTable datos = BD_Estadisticas.get_top5_esp_con_mas_bonos(año, mes_desde, mes_hasta); //Lleno el DataGrid Comunes.llenar_dataGrid(dataGridEstadistico, datos); if (datos.Rows.Count <= 0) { throw new Exception("No hay resultados para Estos Filtros"); } } catch (Exception ex) { MessageBox.Show(ex.Message, "ESTADISTICAS", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void limpiar() { this.label_Afiliado.Text = ""; this.label_profesional.Text = ""; this.comboEspecialidades.Items.Clear(); this.comboEspecialidades.Text = ""; this.combo_Bono.Items.Clear(); this.combo_Bono.Text = ""; this.combo_Bono.Enabled = false; this.button_Registrar.Enabled = false; this.textBox_afiliado_apellido.Text = ""; this.textBox_afiliado_nombre.Text = ""; this.textBox_profesional_nombre.Text = ""; this.textBox_profesional_apellido.Text = ""; Comunes.limpiarDataGrid(dataGridView_resultados_filtros); //actualizar_datagrid("", "", "", "", ""); }
//Handler para Cuando se Selecciona un Boton del DataGrid //IMPORTANTE: Se genera haciendo doble click en el DataGrid private void dataGridView_resultados_filtros_CellContentClick(object sender, DataGridViewCellEventArgs e) { try { if (dataGridView_resultados_filtros.Columns[e.ColumnIndex].Name == nombre_boton_datagrid) { //Hago cosas con los valores de la fila seleccionada this.id_afiliado_que_compra = Comunes.obtenerIntDataGrid(dataGridView_resultados_filtros, e.RowIndex, 0); string nombre = Comunes.obtenerStringDataGrid(dataGridView_resultados_filtros, e.RowIndex, 1); string apellido = Comunes.obtenerStringDataGrid(dataGridView_resultados_filtros, e.RowIndex, 2); mostrar_plan(); habilitar_comprar(); //MessageBox.Show("Seleccionado Afiliado: " + nombre + " " + apellido, "ComprarBono", MessageBoxButtons.OK, MessageBoxIcon.Information); } } catch (Exception ex) { MessageBox.Show("Error al Seleccionar: " + ex.Message, "ComprarBono", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
protected void _exportar(object sender, EventArgs e) { USERNAME = Request.QueryString["USUARIO"].ToString(); ROWSGXID = Request.QueryString["LOCALIDAD"].ToString(); this.xQueryParameters.Clear(); this.xQueryValues.Clear(); this.xQueryParameters.Add((object)"@ROWSGXID"); this.xQueryValues.Add((object)this.ROWSGXID); this.xQueryParameters.Add((object)"@FECHA1"); this.xQueryValues.Add(Convert.ToDateTime(txtDesde.Value)); this.xQueryParameters.Add((object)"@FECHA2"); this.xQueryValues.Add(Convert.ToDateTime(txtHasta.Value)); this.xQuery = "PR_ESTADISTICAS_DIAGNOSTICOXRANGOEDAD"; dtconsulta = DB.ExecuteAdapter(this.xQuery, this.xQueryParameters, this.xQueryValues, CommandType.StoredProcedure); if (dtconsulta.Rows.Count != 0) { this.rpData.DataSource = dtconsulta; this.rpData.DataBind(); Comunes.ExportToExcel(this, dtconsulta, @"DiagnosticoxRangodeEdades.xls"); //C:\Users\user\Downloads\ } }
protected void _exportar(object sender, EventArgs e) { //USERNAME = Request.QueryString["USUARIO"].ToString(); ROWSGXID = Request.QueryString["LOCALIDAD"].ToString(); this.xQueryParameters.Clear(); this.xQueryValues.Clear(); this.xQueryParameters.Add((object)"@ROWSGXID"); this.xQueryValues.Add((object)this.ROWSGXID); this.xQueryParameters.Add((object)"@FECHA1"); this.xQueryValues.Add(Convert.ToDateTime(txtDesde.Value)); this.xQueryParameters.Add((object)"@FECHA2"); this.xQueryValues.Add(Convert.ToDateTime(txtHasta.Value)); this.xQuery = "PR_FACTURACIONPORSUBSIDIO"; dtconsulta = DB.ExecuteAdapter(this.xQuery, this.xQueryParameters, this.xQueryValues, CommandType.StoredProcedure); if (dtconsulta.Rows.Count != 0) { this.rpData.DataSource = dtconsulta; this.rpData.DataBind(); Comunes.ExportToExcel(this, dtconsulta, @"FacturacionPxSubsidiados.xls"); //C:\Users\user\Downloads\ } }
private void Acceso() { System.Data.DataTable Datos = Negocio.Trabajador.Login(TBUsuario.Text, TBPass.Text); bool config = Comunes.Acceso(Datos); if (config) { FormPrincipal Form = new FormPrincipal() { IdTrabajador = (int)Datos.Rows[0][0], Nombre = Datos.Rows[0][1].ToString(), Apellido = Datos.Rows[0][2].ToString(), Acceso = Datos.Rows[0][3].ToString() }; Form.Show(); this.Hide(); } else { RedColor(); } }
private void pass_customer() { try { Customers customer_group = null; do { if (restaurant.customers.Count > 0) { restaurant.customers.TryPeek(out customer_group); if (restaurant.check_chairs(customer_group.Amount_Of_People, false)) { int id_table = restaurant.check_free_tables(customer_group.Amount_Of_People); if (id_table > 0) { customer_group.Departure_Time = DateTime.Now.AddSeconds(Comunes.get_random(30, 90)); customer_group.Id_Table = id_table; show_host_message("Host: Please, wait number: " + customer_group.Id_Wait_Ticket + " pass to table " + id_table + " "); restaurant.convert_customer_to_diner(); show_remove_persons(); } else { show_host_new_message("Host: Sorry, for the moment we don't have a empty table. Please wait. "); } } else { restaurant.remove_customer(); show_remove_persons(); show_host_message("Host: Apologize, we do not have table with enough space. Next group please."); } } }while (restaurant.customers.Count > 0 && restaurant.check_chairs(customer_group.Amount_Of_People, true)); } catch (Exception exp) { } }
private void SalirTSMI_Click(object sender, EventArgs e) => Comunes.Cerrar();