Пример #1
0
        static void Main()
        {
            Sistema._isMaster   = false;
            Sistema._IdSucursal = "";

            var r01 = Helpers.Utilitis.CargarXml();

            if (r01.Result != Enumerados.EnumResult.isError)
            {
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                var _gestion = new GestionFTP();
                _gestion.Inicia();

                //Application.EnableVisualStyles();
                //Application.SetCompatibleTextRenderingDefault(false);
                //Application.Run(new Form1());
            }
            else
            {
                Helpers.Msg.Error(r01.Mensaje);
                Application.Exit();
            }
        }
Пример #2
0
 public void setControlador(GestionFTP ctr)
 {
     _controlador = ctr;
 }