Page that contains the GUI for adding a new device. Acts as host to IPage classes in the TrakHound_Dashboard.Pages.DeviceManager.AddDevice.Pages namespace
상속: System.Windows.Controls.UserControl, IPage
예제 #1
0
        private void AddDevicePage_PageClosed()
        {
            addDevicePage.DeviceListSelected -= DeviceManager_AddDevice_DeviceListSelected;
            addDevicePage.PageClosed         -= AddDevicePage_PageClosed;

            addDevicePage = null;
        }
예제 #2
0
        public void DeviceManager_AddDevice_Initialize()
        {
            if (addDevicePage == null)
            {
                addDevicePage = new TrakHound_Dashboard.Pages.DeviceManager.AddDevice.Page();
                addDevicePage.ShowAutoDetect();

                addDevicePage.DeviceListSelected += DeviceManager_AddDevice_DeviceListSelected;
                addDevicePage.PageClosed         += AddDevicePage_PageClosed;
            }
        }
예제 #3
0
        private void AddDevicePage_PageClosed()
        {
            addDevicePage.DeviceListSelected -= DeviceManager_AddDevice_DeviceListSelected;
            addDevicePage.PageClosed -= AddDevicePage_PageClosed;

            addDevicePage = null;
        }
예제 #4
0
        public void DeviceManager_AddDevice_Initialize()
        {
            if (addDevicePage == null)
            {
                addDevicePage = new TrakHound_Dashboard.Pages.DeviceManager.AddDevice.Page();
                addDevicePage.ShowAutoDetect();

                addDevicePage.DeviceListSelected += DeviceManager_AddDevice_DeviceListSelected;
                addDevicePage.PageClosed += AddDevicePage_PageClosed;
            }
        }