Пример #1
0
 public void ShowMessage()
 {
     logger.Debug("Inside show message method");
     LogDisplay.Clear();
     LogDisplay.WriteLine("Button Clicked");
     LogDisplay.Show();
 }
Пример #2
0
 public void ClearLogDisplayButton_OnAction(IRibbonControl control)
 {
     try
     {
         LogDisplay.Clear();
     }
     catch (Exception ex)
     {
         ProcessUnhandledException(ex);
     }
 }
        public void Dispose()
        {
            if (_disposed)
            {
                return;
            }

            if (_clearLogOnDispose)
            {
                lock (_syncRoot)
                {
                    LogDisplay.Clear();
                }
            }

            _disposed = true;
        }
 public override void Clear()
 {
     LogDisplay.Clear();
 }
 public void Dispose()
 {
     LogDisplay.Clear();
 }