Ejemplo n.º 1
0
        private void AddContactType()
        {
            ContactType ct = this.dm.CreateObject<ContactType>();
            ct.Id = GuidComb.Generate();
            this.dm.AddContactType(ct);

            ContactTypeViewModel vm = new ContactTypeViewModel(ct);
            this.AllContactTypes.Add(vm);
            this.CurrentContactType = vm;
        }
Ejemplo n.º 2
0
        private void AddContactType()
        {
            ContactType ct = this.dm.CreateObject <ContactType>();

            ct.Id = GuidComb.Generate();
            this.dm.AddContactType(ct);

            ContactTypeViewModel vm = new ContactTypeViewModel(ct);

            this.AllContactTypes.Add(vm);
            this.CurrentContactType = vm;
        }