Ejemplo n.º 1
0
		public void RaiseActiveDocumentChanged(EditorViewModel editor)
		{
			var handler = ActiveDocumentChanged;
			if (handler != null)
				handler(this, new ActiveDocumentChangedEventArgs(editor));
		}
		public ActiveDocumentChangedEventArgs(EditorViewModel editor)
		{
			Editor = editor;
		}
Ejemplo n.º 3
0
		public IDocument Create(string path)
		{
			var editor = new EditorViewModel(_propertyGrid, _extendedShell);
			editor.Open(path);
			return editor;
		}