Example #1
0
 private void cbStartWithWindows_CheckedChanged(object sender, EventArgs e)
 {
     if (ready)
     {
         IntegrationHelpers.CreateStartupShortcut(cbStartWithWindows.Checked);
     }
 }
Example #2
0
 private void cbRunStartup_CheckedChanged(object sender, EventArgs e)
 {
     if (loaded)
     {
         IntegrationHelpers.CreateStartupShortcut(cbRunStartup.Checked);
     }
 }
Example #3
0
        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
            }
        }