private void tableList_Selected(object sender, RoutedEventArgs e) { //NodeBase node = tableList.SelectedItem as NodeBase; //textBox.Text = node.ID.ToString(); setDownUp(); DropDownSelected?.Invoke(this, textBox.Text); }
void ReleaseDesignerOutlets() { if (DropDownSelected != null) { DropDownSelected.Dispose(); DropDownSelected = null; } if (FeedbackLabel != null) { FeedbackLabel.Dispose(); FeedbackLabel = null; } }