private void cbStartWithWindows_CheckedChanged(object sender, EventArgs e) { if (ready) { #if WindowsStore IntegrationHelpers.SetStartupWindowsStore(cbStartWithWindows.Checked); #else IntegrationHelpers.CreateStartupShortcut(cbStartWithWindows.Checked); #endif } }