Esempio n. 1
0
        public INativeHandleContract GetAddInUI(IPersonContract personContract)
        {
            Person_ContractToViewAddInSideAdapter personView = new Person_ContractToViewAddInSideAdapter(personContract);
            FrameworkElement      fe          = this.addInView.GetAddInUI(personView);
            INativeHandleContract addInUIHwnd = FrameworkElementAdapters.ViewToContractAdapter(fe);

            return(addInUIHwnd);
        }
Esempio n. 2
0
        public Person_ContractToViewAddInSideAdapter(IPersonContract personContract)
        {
            this.personContract = personContract;
            this.contractHandle = new ContractHandle(personContract);

            this.notifier = new PropertyChangedNotifier();
            this.notifier.PropertyChanged += notifier_PropertyChanged;
            this.personContract.PropertyChangedNotifier = this.notifier;
        }