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

        }
Esempio n. 2
0
 public PerspexAppHost(CommChannel channel)
 {
     _comm = channel;
     _appModel = new HostedAppModel(this);
 }
Esempio n. 3
0
 public PerspexAppHost(CommChannel channel)
 {
     _comm     = channel;
     _appModel = new HostedAppModel(this);
 }