public DocumentManager(ConsoleOutputControl consoleOutput, FlowDocumentScrollViewer viewer) { m_viewer = viewer; m_consoleOutput = consoleOutput; consoleOutput.TextAddedEvent += consoleOutput_TextAddedEvent; m_viewer.Document = new FlowDocument(new Paragraph()); }
private static void HookupNewCollection(FlowDocumentScrollViewer viewer, ConsoleOutputControl messages) { UnhookOldCollection(viewer); viewer.Tag = new DocumentManager(messages, viewer); }
public static void SetMessageCollection(DependencyObject d, ConsoleOutputControl value) { d.SetValue(MessageCollectionProperty, value); }
public void ViewConsoleOutput() { ConsoleOuputDocument = new ConsoleOutputControl(LastBuild); ((MainWindow) Application.Current.MainWindow).OpenProjectDetails(this); }
public void ViewConsoleOutput() { ConsoleOuputDocument = new ConsoleOutputControl(LastBuild); ((MainWindow)Application.Current.MainWindow).OpenProjectDetails(this); }