private void PromptDeviceRotation()
 {
     if (Properties.Settings.Default.promptSetLandscapeDisplayOrientation)
     {
         m_displayOrientationPrompt.Show();
     }
     else if (Properties.Settings.Default.shouldSetLandscapeDisplayOrientation)
     {
         NativeHelpers.CorrectDeviceRotation();
     }
 }
        private void promptSetHDKDisplayRotationLabelYes_Click(object sender, EventArgs e)
        {
            NativeHelpers.CorrectDeviceRotation();

            if (promptHDKDisplayOrientationDontAskAgain.Checked)
            {
                Properties.Settings.Default.promptSetLandscapeDisplayOrientation = false;
                Properties.Settings.Default.shouldSetLandscapeDisplayOrientation = true;
                Properties.Settings.Default.Save();
            }

            Hide();

            m_contextMenu.PromptServerStartOrRestartDelegate();
        }