private void SetFieldsUpdateFormContact() { var gettingContact = _crudStudent.GetContact(_currentRowContactIndex); TypeContactComboBox.Text = DictionaryForRefreshDataTables.GetContactTypeEnumToString(gettingContact.contactType); stringMaskedTextBox.Text = gettingContact.contactValue; }
private void DeleteInstanceRowTable(int indexCurrentRow) { Contact thisDeleteContact = _crudStudent.GetContact(indexCurrentRow); _crudStudent.DeleteCurrentContact(thisDeleteContact); }