AutoWikiBrowser.Splash.SetProgress C# (CSharp) Метод

SetProgress() публичный Метод

public SetProgress ( int percent ) : void
percent int
Результат void
        public void SetProgress(int percent)
        {
            System.Reflection.MethodBase method = new System.Diagnostics.StackFrame(1).GetMethod();
            if (method.DeclaringType != null)
            {
                MethodLabel.Text = method.DeclaringType.Name + "::" + method.Name + "()";
            }
            progressBar.Value = percent;
            Application.DoEvents();
        }