示例#1
0
 //Send executed command to output window. So, user will know what he executed
 protected override void SendToOutputWindow(string title, string command, bool isCommand = true)//13Dec2013
 {
     #region Get Active output Window
     //////// Active output window ///////
     OutputWindowContainer owc = (LifetimeService.Instance.Container.Resolve <IOutputWindowContainer>()) as OutputWindowContainer;
     OutputWindow          ow  = owc.ActiveOutputWindow as OutputWindow; //get currently active window
     #endregion
     ow.AddMessage(title, command, isCommand);
 }
示例#2
0
 private void AddLog(string message)
 {
     _mOutputWindow.AddMessage(message);
 }