Esempio n. 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());
 }
Esempio n. 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());
			}
Esempio n. 3
0
 private static void HookupNewCollection(FlowDocumentScrollViewer viewer, ConsoleOutputControl messages)
 {
     UnhookOldCollection(viewer);
     viewer.Tag = new DocumentManager(messages, viewer);
 }
Esempio n. 4
0
 public static void SetMessageCollection(DependencyObject d, ConsoleOutputControl value)
 {
     d.SetValue(MessageCollectionProperty, value);
 }
Esempio n. 5
0
 public void ViewConsoleOutput()
 {
     ConsoleOuputDocument = new ConsoleOutputControl(LastBuild);
     ((MainWindow) Application.Current.MainWindow).OpenProjectDetails(this);
 }
Esempio n. 6
0
 public void ViewConsoleOutput()
 {
     ConsoleOuputDocument = new ConsoleOutputControl(LastBuild);
     ((MainWindow)Application.Current.MainWindow).OpenProjectDetails(this);
 }
Esempio n. 7
0
		private static void HookupNewCollection(FlowDocumentScrollViewer viewer, ConsoleOutputControl messages)
		{
			UnhookOldCollection(viewer);
			viewer.Tag = new DocumentManager(messages, viewer);
		}
Esempio n. 8
0
		public static void SetMessageCollection(DependencyObject d, ConsoleOutputControl value)
		{
			d.SetValue(MessageCollectionProperty, value);
		}