public InProcDesignerView(HostedAppModel appModel)
        {
            _appModel = appModel;
            InitializeComponent();
            DataContext = _appModel;
            _appModel.PropertyChanged += ModelPropertyChanged;
            WindowHostControl.Child = _host = new WindowHost();
            HandleVisibility();
            HandleWindow();

        }
示例#2
0
 public PerspexAppHost(CommChannel channel)
 {
     _comm = channel;
     _appModel = new HostedAppModel(this);
 }
示例#3
0
 public PerspexAppHost(CommChannel channel)
 {
     _comm     = channel;
     _appModel = new HostedAppModel(this);
 }