ApProg.UserInterface.Shell.MainWindow.UpdateProgress C# (CSharp) 메소드

UpdateProgress() 공개 메소드

public UpdateProgress ( int value, string message ) : void
value int
message string
리턴 void
        public void UpdateProgress(int value, string message)
        {
            if(myProgress == null)
                return;

            Dispatcher.Invoke(DispatcherPriority.Normal, (Action)(() =>
                                           {
                                               myProgress.myProgressBar.Value = value;
                                               myProgress.myMessage.Inlines.Clear();
                                               myProgress.myMessage.Inlines.Add(message);
                                           }));
        }