Ejemplo n.º 1
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            if (e.Parameter is FillingLevelApp.App)
            {
                FillingLevelApp.App AppEnvironment = e.Parameter as FillingLevelApp.App;

                if (AppEnvironment != null)
                {
                    m_eMailing          = AppEnvironment.eMailing;
                    m_SettingsToStorage = AppEnvironment.SettingsToStorage;
                    if (m_eMailing != null)
                    {
                    }
                }
            }

            base.OnNavigatedTo(e);
        }
Ejemplo n.º 2
0
        public App()
        {
            InitializeComponent();

            m_Environment = new StationEnvironment();

            m_eMailing = new EmailSupport.eMailing();



            m_displayRequest    = new Windows.System.Display.DisplayRequest();
            m_displayRequestCnt = 0;
            // Deferred execution until used. Check https://msdn.microsoft.com/library/dd642331(v=vs.110).aspx for further info on Lazy<T> class.
            _activationService = new Lazy <ActivationService>(CreateActivationService);

            m_SettingsToStorage = new SettingsToStorage(this);



            this.Suspending += App_Suspending;
        }
Ejemplo n.º 3
0
 public eMailConfigPage()
 {
     m_SettingsToStorage = null;
     m_eMailing          = null;
     this.InitializeComponent();
 }