Пример #1
0
        public void OnAfterRunCommand(object sender, CloseDataStreamingEventArgs e)
        {
            if (e.IsStopped)
            {
                DisplayStoppedMessage(false);
                return;
            }

            DisplayFinishedMessage(false);

            if (currentCommand != CommandIds.kJsonCompilationDatabase)
            {
                OnErrorDetected(new EventArgs());
            }
        }
        public void OnAfterRunCommand(object sender, CloseDataStreamingEventArgs e)
        {
            if (e.IsStopped)
            {
                DisplayStoppedMessage(false);
                return;
            }

            if (commandUILocation == CommandUILocation.ContextMenu)
            {
                DisplayFinishedMessage(false);
            }
            else if (commandUILocation == CommandUILocation.Toolbar && isActiveDocument)
            {
                DisplayFinishedMessage(false);
            }
        }