コード例 #1
0
        public InProcDesignerView(HostedAppModel appModel)
        {
            _appModel = appModel;
            InitializeComponent();
            DataContext = _appModel;
            _appModel.PropertyChanged += ModelPropertyChanged;
            WindowHostControl.Child = _host = new WindowHost();
            HandleVisibility();
            HandleWindow();

        }
コード例 #2
0
ファイル: PerspexAppHost.cs プロジェクト: Arlorean/Perspex
 public PerspexAppHost(CommChannel channel)
 {
     _comm = channel;
     _appModel = new HostedAppModel(this);
 }
コード例 #3
0
ファイル: PerspexAppHost.cs プロジェクト: vbfool/Perspex
 public PerspexAppHost(CommChannel channel)
 {
     _comm     = channel;
     _appModel = new HostedAppModel(this);
 }