/// <summary> /// The function do the removing from the list after notifying the tcp client /// </summary> /// <param name="obj"></param> private void OnSubmit(object obj) { //this.m_model.Directories.Remove(SelectedDir); m_model.SendRemoveDir(SelectedDir); this.SelectedDir = null; }