Beispiel #1
0
 private void cbStartWithWindows_CheckedChanged(object sender, EventArgs e)
 {
     if (ready)
     {
         IntegrationHelpers.CreateStartupShortcut(cbStartWithWindows.Checked);
     }
 }
 private void cbRunStartup_CheckedChanged(object sender, EventArgs e)
 {
     if (loaded)
     {
         IntegrationHelpers.CreateStartupShortcut(cbRunStartup.Checked);
     }
 }
        private void cbStartWithWindows_CheckedChanged(object sender, EventArgs e)
        {
            if (ready)
            {
#if WindowsStore
                ConfigureWindowsStoreStartup();
#else
                IntegrationHelpers.CreateStartupShortcut(cbStartWithWindows.Checked);
#endif
            }
        }
        private void cbStartWithWindows_CheckedChanged(object sender, EventArgs e)
        {
            if (ready)
            {
#if WindowsStore
                if (cbStartWithWindows.Enabled)
                {
                    IntegrationHelpers.SetStartupWindowsStore(cbStartWithWindows.Checked);
                }
#else
                IntegrationHelpers.CreateStartupShortcut(cbStartWithWindows.Checked);
#endif
            }
        }