示例#1
0
        private void OnBusyIndicatorMessage(BusyIndicatorMessage busy)
        {
            Action action = () =>
            {
                var viewModel = (MainWindowViewModel)this.DataContext;

                viewModel.Busy.Update(busy);
            };

            this.Dispatcher.Invoke(action);
        }
 private void ChangeIsBusy(BusyIndicatorMessage msg)
 {
     IsBusy = msg.IsBusy;
 }
示例#3
0
 private void ChangeIsBusy(BusyIndicatorMessage msg)
 {
     IsBusy = msg.IsBusy;
 }
示例#4
0
 public void Update(BusyIndicatorMessage busy)
 {
     this.IsBusy      = busy.IsBusy;
     this.BusyContent = string.IsNullOrEmpty(busy.BusyContent) ? "Please Wait..." : busy.BusyContent;
 }