Beispiel #1
0
        /// <summary>
        /// Show the native device configuration UI
        /// </summary>
        public void ConfigureDevices()
        {
            ActionFormat[] formats = { DIActionFormat };

            ConfigureDevicesParameters cdParams = new ConfigureDevicesParameters();

            cdParams.SetActionFormats(formats);
            // Disable the parent
            UserInterface.Enabled = false;
            Manager.ConfigureDevices(cdParams, ConfigureDevicesFlags.Default);
            // Re-enable the parent
            UserInterface.Enabled = true;
            // Bring it back to the front
            UserInterface.BringToFront();
        }