/// <summary> /// Uses the OutputWindow service and writes out to it. /// </summary> void HostSurfaceManager_ActiveDesignSurfaceChanged(object sender, ActiveDesignSurfaceChangedEventArgs e) { //ToolWindows.OutputWindow o = this.GetService(typeof(ToolWindows.OutputWindow)) as ToolWindows.OutputWindow; //o.RichTextBox.Text += "New host added.\n"; }
/// <summary> /// Uses the OutputWindow service and writes out to it. /// </summary> private void HostSurfaceManager_ActiveDesignSurfaceChanged(object sender, ActiveDesignSurfaceChangedEventArgs e) { // Dim o As ToolWindows.OutputWindow = TryCast(GetService(GetType(ToolWindows.OutputWindow)), ToolWindows.OutputWindow) // o.RichTextBox.Text += "New host added." & Microsoft.VisualBasic.Constants.vbLf }
/// <summary> /// Uses the OutputWindow service and writes out to it. /// </summary> void HostSurfaceManager_ActiveDesignSurfaceChanged(object sender, ActiveDesignSurfaceChangedEventArgs e) { }