static void Main() { ConexionCliente gestor = new ConexionCliente(new frmCliente()); ((frmCliente)gestor.ObtenerVista()).EstablecerGestorCliente(gestor); gestor.EspecificarLog(((frmCliente)gestor.ObtenerVista()).ManejoLog); Application.Run(gestor.ObtenerVista()); //Application.EnableVisualStyles(); //Application.SetCompatibleTextRenderingDefault(false); //Application.Run(new frmCliente()); }
public void EstablecerGestorCliente(ConexionCliente gestor) { this.gestorCliente = gestor; }