예제 #1
0
        private void ListTools_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (listTools.SelectedItem == null)
            {
                OptionsPanel.Children.Clear();
                OptionsPanel.InvalidateVisual();
                return;
            }

            ToolBase toolFunction = (listTools.SelectedItem as ToolBase);

            if (toolFunction.Config != null)
            {
                toolFunction.Config.GetOptionsView();
            }
        }