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

            // Get the MB API instance
            mbApiInstance = MBApiImplementation.GetInstance();

            // Initialize MBN managers
            mbApiInstance.InitializeManagers(); 
        } 
        public ShowCapability()
        {
            this.InitializeComponent();

            // Get the MB API instance
            mbApiInstance = MBApiImplementation.GetInstance();

            // Initialize MBN managers
            mbApiInstance.InitializeManagers();
        }
Esempio n. 3
0
        public TestPhoneBook()
        {
            this.InitializeComponent();

            mbApiInstance = MBApiImplementation.GetInstance();
            mbApiInstance.EnableScenarioButtons  += new MBApiImplementation.EnableScenarioButtonsHandler(OnEnableScenarioButtons);
            mbApiInstance.DisableScenarioButtons += new MBApiImplementation.DisableScenarioButtonsHandler(OnDisableScenarioButtons);
            mbApiInstance.InitializeManagers();

            App.Current.Suspending += new SuspendingEventHandler(AppSuspending);
            App.Current.Resuming   += new System.EventHandler <object>(AppResuming);
        }
        public TestConnection()
        {
            this.InitializeComponent();

            // Get the MB API instance
            mbApiInstance = MBApiImplementation.GetInstance();
            mbApiInstance.EnableScenarioButtons  += new MBApiImplementation.EnableScenarioButtonsHandler(OnEnableScenarioButtons);
            mbApiInstance.DisableScenarioButtons += new MBApiImplementation.DisableScenarioButtonsHandler(OnDisableScenarioButtons);

            // Initialize MBN managers
            mbApiInstance.InitializeManagers();

            // Register for app suspend and resume handlers
            App.Current.Suspending += new SuspendingEventHandler(AppSuspending);
            App.Current.Resuming   += new System.EventHandler <object>(AppResuming);
        }
Esempio n. 5
0
        public TestConnection()
        {
            this.InitializeComponent();

            // Get the MB API instance
            mbApiInstance = MBApiImplementation.GetInstance();
            mbApiInstance.EnableScenarioButtons += new MBApiImplementation.EnableScenarioButtonsHandler(OnEnableScenarioButtons);
            mbApiInstance.DisableScenarioButtons += new MBApiImplementation.DisableScenarioButtonsHandler(OnDisableScenarioButtons);

            // Initialize MBN managers
            mbApiInstance.InitializeManagers();
            
            // Register for app suspend and resume handlers
            App.Current.Suspending += new SuspendingEventHandler(AppSuspending);
            App.Current.Resuming += new System.EventHandler<object>(AppResuming);
        }