示例#1
0
        public IProgressController CreateLoader(string name, CancellationTokenSource cancellation)
        {
            var view = new TaskLoaderView(cancellation);

            view.Show(Application.Panel, DockState.DockBottom);
            view.OperationName = name;
            view.Text          = name;
            return(view.Progress);
        }
示例#2
0
 public ProgressController(TaskLoaderView view)
 {
     _view = view;
 }