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