示例#1
0
        /// <summary>
        /// Log Details Page
        /// </summary>
        /// <param name="logLevelToShow">Selecte Log level to show</param>
        public LogDetailsPage(eLogShowLevel logLevelToShow = eLogShowLevel.ALL)
        {
            InitializeComponent();

            mLogLevel = logLevelToShow;
            GingerCore.General.FillComboFromEnumType(xLogTypeCombo, typeof(eLogShowLevel));

            xLogTypeCombo.SelectedValue     = mLogLevel;
            xLogTypeCombo.SelectionChanged += XLogTypeCombo_SelectionChanged;

            FillLogData();
            xScrollViewer.ScrollToBottom();
        }
示例#2
0
 private void XLogTypeCombo_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     mLogLevel = (eLogShowLevel)xLogTypeCombo.SelectedValue;
     FillLogData();
 }