Ejemplo n.º 1
0
        public void ShowStatus(string title, string desc, int max = 100, int value = 0)
        {
            if (StatusForm == null)
            {
                StatusForm = new UIStatusForm();
            }

            StatusForm.Style = Style;
            StatusForm.Show(title, desc, max, value);
        }
Ejemplo n.º 2
0
        private void CreateForm(int max, string desc, int decimalCount = 1)
        {
            CloseForm();
            thread = new Thread(delegate()
            {
                form = new UIStatusForm(max, desc, decimalCount);
                form.VisibleChanged += WaitForm_VisibleChanged;
                Application.Run(form);
                IsRun = false;
            });

            thread.Start();
        }