コード例 #1
0
        private void SetStartupvalues()
        {
            cbShares.Active            = 0;
            cbPlaylist.Active          = 0;
            MainWindow.SkipTaskbarHint = (oConfiguration.values.showInTaskbar)? false : true;

            if (oConfiguration.values.showInSystemTray)
            {
                oSysTrayIcon.Show();
            }
            else
            {
                oSysTrayIcon.Hide();
            }
        }
コード例 #2
0
        private void SetStartupvalues()
        {
            cbShares.Active            = 0;
            cbPlaylist.Active          = 0;
            MainWindow.SkipTaskbarHint = oConfiguration.GetBoolValue(oConfiguration.fieldName.showInTaskbar);

            if (oConfiguration.GetBoolValue(oConfiguration.fieldName.showInSystemTray))
            {
                oSysTrayIcon.Show();
            }
            else
            {
                oSysTrayIcon.Hide();
            }

            ApplyTheme();
        }