Esempio n. 1
0
        public ShareSource()
        {
            this.InitializeComponent();

            this.viewModel = (ShareSourceViewModel)this.DataContext;
            this.Loaded += ShareSource_Loaded;
            this.Unloaded += ShareSource_Unloaded;

            this.LostFocus += UpdateContent;
            this.PointerMoved += UpdateContent;
            this.ManipulationStarted += UpdateContent;
            this.KeyDown += UpdateContent;
        }
Esempio n. 2
0
        public ShareSource()
        {
            this.InitializeComponent();

            this.viewModel = (ShareSourceViewModel)this.DataContext;
            this.Loaded   += ShareSource_Loaded;
            this.Unloaded += ShareSource_Unloaded;

            this.LostFocus           += UpdateContent;
            this.PointerMoved        += UpdateContent;
            this.ManipulationStarted += UpdateContent;
            this.KeyDown             += UpdateContent;
        }