Exemplo n.º 1
0
        public static void Main(string[] args)
        {
#if DEBUG
            DesktopFormsExtensions.Launch(
                () => new ApplicationControl()
                );
#else
            RewriteToUltraApplication.AsProgram.Launch(typeof(Application));
#endif
        }
Exemplo n.º 2
0
        public static void Main(string[] args)
        {
#if DEBUG
            if (Debugger.IsAttached)
            {
                DesktopFormsExtensions.Launch(
                    () => new ApplicationControl()
                    );
            }
#endif
            RewriteToUltraApplication.AsProgram.Launch(typeof(Application));
        }