public BlankPage4()
        {
            this.InitializeComponent();
            ncSettings = new ncMainPage();
            ncSettings.PropertyChanged += NcSettings_PropertyChanged;
            OneTimeSave();

            _compositor = ElementCompositionPreview.GetElementVisual(this).Compositor;

            UtilityClass.TranslationAnimation(_compositor, gdGeneralSettings, false);
            UtilityClass.TranslationAnimation(_compositor, gdAddOnsSettings, false);
        }
 public BlankPage10()
 {
     this.InitializeComponent();
     notifyChange = new ncMainPage();
     notifyChange.PropertyChanged  += NotifyChange_PropertyChanged;
     _ucCommandBar.btrefresh.Click += Refresh_Click;
     _ucCommandBar.btback.Click    += Back_Click;
     _ucCommandBar.btforward.Click += btforward_Click;
     _ucCommandBar.btsetting.Click += btsetting_Click;
     _ucCommandBar.abtInk.Click    += abtInk_Click;
     OneTimeSave();
 }
Exemple #3
0
 public BlankPage5()
 {
     this.InitializeComponent();
     notifyChange = new ncMainPage();
     notifyChange.PropertyChanged  += NotifyChange_PropertyChanged;
     _ucCommandBar.btrefresh.Click += Refresh_Click;
     _ucCommandBar.btback.Click    += Back_Click;
     _ucCommandBar.btforward.Click += btforward_Click;
     _ucCommandBar.abtInk.Click    += abtInk_Click;
     _ucCommandBar.btsetting.Click += btsetting_Click;
     OneTimeSave();
     _compositor = ElementCompositionPreview.GetElementVisual(this).Compositor;
 }
 public WhatsApp()
 {
     this.InitializeComponent();
     notifyChange = new ncMainPage();
     notifyChange.PropertyChanged  += NotifyChange_PropertyChanged;
     _ucCommandBar.btrefresh.Click += Refresh_Click;
     _ucCommandBar.btback.Click    += Back_Click;
     _ucCommandBar.btforward.Click += btforward_Click;
     _ucCommandBar.btsetting.Click += btsetting_Click;
     _ucCommandBar.abtInk.Click    += abtInk_Click;
     web.RegisterPropertyChangedCallback(WebView.DocumentTitleProperty, OnDocTitleChanged);
     chromewhatsapp();
     OneTimeSave();
     web.Source = new Uri("https://web.whatsapp.com");
     //UserAgentHelper.SetDefaultUserAgent("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36");
 }