コード例 #1
0
        private void SetFieldsUpdateFormContact()
        {
            var gettingContact = _crudStudent.GetContact(_currentRowContactIndex);

            TypeContactComboBox.Text =
                DictionaryForRefreshDataTables.GetContactTypeEnumToString(gettingContact.contactType);
            stringMaskedTextBox.Text = gettingContact.contactValue;
        }
コード例 #2
0
        private void DeleteInstanceRowTable(int indexCurrentRow)
        {
            Contact thisDeleteContact = _crudStudent.GetContact(indexCurrentRow);

            _crudStudent.DeleteCurrentContact(thisDeleteContact);
        }