예제 #1
0
        public void AddGroup()
        {
            string      name     = "Group" + UiProcessBatch.Count + 1;
            ProcessItem newGroup = new ProcessItem()
            {
                Name = name
            };

            UiProcessBatch.Add(newGroup);
            CurrentGroup = newGroup;
            Samples.Clear();
        }
예제 #2
0
        public void AddGroup()
        {
            ObservableCollection <ProcessItem> seq = new ObservableCollection <ProcessItem>();

            CurrentGroup = seq;
            ProcessItem item = new IdNamePairProcessItem();

            item.Name          = "group" + (UiProcessBatch.Count + 1).ToString();
            item.Children      = seq;
            item.CrtDepthLevel = 1;
            UiProcessBatch.Add(item);
        }