Example #1
0
        static void Main()
        {
            IsRunning = true;

            AppDomain.CurrentDomain.AssemblyResolve += delegate(object sender, ResolveEventArgs e)
            {
                return(GetAssembly(e.Name));
            };

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

            BusyDialog.Initialize();

            MainForm = new MainForm();

            Application.Run(MainForm);
        }
Example #2
0
 internal void RemoveStatusMessage()
 {
     _status.Pop();
     UpdateStatus();
     BusyDialog.PopAction();
 }
Example #3
0
 internal void SetStatusMessage(StatusAction action)
 {
     _status.Push(action);
     UpdateStatus();
     BusyDialog.PushAction(action);
 }