private void Grid_Loaded(object sender, RoutedEventArgs e) { TRS_Domain.GROUP.Data selectedGroup = GroupControl_Logic.GetGroupInformation(groupId); ChatLogic chatlogic = new ChatLogic(); DisplayImage(selectedGroup.Img); TB_GroupName.Text = selectedGroup.Name; CB_Region.ItemsSource = Enum.GetNames(typeof(GroupControl_Logic.Regions)); CB_Region.SelectedItem = selectedGroup._region; RTB_Description.Text = selectedGroup.Description; }
private void BTN_ResetDescription_Click(object sender, RoutedEventArgs e) { RTB_Description.Text = GroupControl_Logic.GetGroupInformation(groupId).Description; }