Esempio n. 1
0
File: Main.cs Progetto: omarkhd/gymk
        //
        public static void Main(string[] args)
        {
            AppHelper.Init();
            Application.Init();

            LoginDialog login = new LoginDialog();
            login.Run();

            if(login.Success)
            {
                StartLoader loader = new StartLoader();
                loader.SuccessEvent += delegate()
                {
                    Window w = new GymkWindow();
                    w.ShowAll();
                };

                loader.Start();
                Application.Run();
            }

            AppHelper.Clean();
        }
Esempio n. 2
0
 public PaymentScanThread(StartLoader loader)
 {
     this.Loader = loader;
     this.InnerThread = new Thread(this.Scan);
 }