Esempio n. 1
0
 public void End(ProgressItem item)
 {
     ObjectProgressItems.Remove(item);
     if (ObjectProgressItems.Count == 0)
     {
         View?.Hide();
     }
 }
Esempio n. 2
0
        public ProgressItem CreateNew(string title, bool isIndeterminate)
        {
            ProgressItem item = new ProgressItem();

            item.Title           = title;
            item.IsIndeterminate = isIndeterminate;
            ObjectProgressItems.Add(item);
            View?.Show();
            return(item);
        }