// 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(); }
public PaymentScanThread(StartLoader loader) { this.Loader = loader; this.InnerThread = new Thread(this.Scan); }