public GraphicsDocumentPanelViewModel(RBuilderDocument rdoc) : base(rdoc)
        {
            _events       = rdoc.Data.Eventaggregator;
            Rdoc          = rdoc;
            EditorInterop = Rdoc.Editor;

            //string message = this.EditorInterop.TestMessage();

            _events.GetEvent <OnKeyPress>().Subscribe(OnKeyPressCallBack);
            _events.GetEvent <OnKeyRelease>().Subscribe(OnKeyReleaseCallBack);
        }
예제 #2
0
 public Win32WndHost(double height, double width, IEditorInterop editorInterop)
 {
     EditorInterop   = editorInterop;
     this.hostHeight = (int)height;
     this.hostWidth  = (int)width;
 }