Пример #1
0
        private void NewContactpersonType()
        {
            ContactPersonType ct = new ContactPersonType();

            ct.Name = _cType.Name;

            ContactPersonType.InsertContactpersonType(ct);

            MessageBox.Show("De nieuwe functie werd toegevoegd");
            OnPropertyChanged("Types");
            OnPropertyChanged("ChangeTypes");
        }
Пример #2
0
        private void NewContactpersonType()
        {
            ContactPersonType ct = new ContactPersonType();

            ct.Name = _cType.Name;

            ContactPersonType.InsertContactpersonType(ct);

            MessageBox.Show("the new job was added");
            _types       = ContactPersonType.GetTypes();
            _changeTypes = ContactPersonType.GetTypes();
            OnPropertyChanged("Types");
            OnPropertyChanged("ChangeTypes");
        }