Пример #1
0
 private void RefrescarInicio(object sender, EventArgs e)//Metodo para refrescar la ventanFactura si esque esta abierto
 {
     CarnesCruz.ModeloVista.Inicio.Inicio inicio = Application.OpenForms.OfType <CarnesCruz.ModeloVista.Inicio.Inicio>().FirstOrDefault();
     if (inicio != null)
     {
         inicio.Inicio_Load(sender, e);
     }
 }
Пример #2
0
        public void RefrescarReporte(object sender, EventArgs e)//Metodo para refrescar la ventanFactura si esque esta abierto
        {
            CarnesCruz.ModeloVista.Reporte.Reporte reporte = Application.OpenForms.OfType <CarnesCruz.ModeloVista.Reporte.Reporte>().FirstOrDefault();
            if (reporte != null)
            {
                reporte.Reporte_Load(sender, e);
            }

            ini.Inicio_Load(sender, e);
        }