示例#1
0
        ////////////////////////////////////////////////////////////////////////////////////////////////////
        /// \fn public LogFiltersSetting()
        ///
        /// \brief Default constructor.
        ///
        /// \par Description.
        ///
        /// \par Algorithm.
        ///
        /// \par Usage Notes.
        ///
        /// \author Ilanh
        /// \date 10/12/2017
        ////////////////////////////////////////////////////////////////////////////////////////////////////

        public LogFiltersSetting()
        {
            InitializeComponent();
            data = new SelectControlData {
                options = Logger.Filters
            };
            SelectControl.Init(data);
        }
示例#2
0
        ////////////////////////////////////////////////////////////////////////////////////////////////////
        /// \fn private void Button_Reset_Click(object sender, RoutedEventArgs e)
        ///
        /// \brief Event handler. Called by Button_Reset for click events.
        ///
        /// \par Description.
        ///      Reset the filters
        ///
        /// \par Algorithm.
        ///
        /// \par Usage Notes.
        ///
        /// \author Ilanh
        /// \date 10/12/2017
        ///
        /// \param sender  (object) - Source of the event.
        /// \param e       (RoutedEventArgs) - Routed event information.
        ////////////////////////////////////////////////////////////////////////////////////////////////////

        private void Button_Reset_Click(object sender, RoutedEventArgs e)
        {
            SelectControl.Init(data);
        }