예제 #1
0
        static void Main(string[] args)
        {
            var secrecy = new Secrecy();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            if (args != null && args.Length > 0)
            {
                var api = secrecy.GetPrivacyShare(args[0]);
                StartProgress(api.Item1 ?? secrecy.GetAPI(GetResult(secrecy.Choose, secrecy.Name), args[0]), api.Item2);
            }
            Process.GetCurrentProcess().Kill();
        }
예제 #2
0
파일: Program.cs 프로젝트: w1r2p1/GoblinBat
        static void Main(string[] args)
        {
            var secrecy = new Secrecy();

            //args = secrecy.Administrator;
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            if (args != null && args.Length > 0)
            {
                var api = secrecy.GetPrivacyShare(args[0]);
                StartProgress(GoblinBatClient.GetInstance(args), api.Item1 ?? secrecy.GetAPI(GetResult(secrecy.Choose, secrecy.Name), args[0]), api.Item2);
            }
            GC.Collect();
            Process.GetCurrentProcess().Kill();
        }