Beispiel #1
0
        private void Add()
        {
            ulong       id      = _idGenerator.GetID();
            AgentsGroup ag      = new AgentsGroup(id, "Новая группа " + id);
            var         groupVM = new AgentGroupViewModel(ag, AgentTypes.FirstOrDefault());

            AgentGroups.Add(groupVM);
            SelectedGroup = groupVM;
        }
 private void Add()
 {
     ulong id = _idGenerator.GetID();
     AgentsGroup ag = new AgentsGroup(id, "Новая группа " + id);
     var groupVM = new AgentGroupViewModel(ag, AgentTypes.FirstOrDefault());
     AgentGroups.Add(groupVM);
     SelectedGroup = groupVM;
 }