예제 #1
0
        /// <summary>
        /// Checks settings paths for downloads and library are valid.
        /// </summary>
        public static void checkSettingsPaths()
        {
            string libraryPath   = Settings.Default.LibraryPath;
            string downloadsPath = Settings.Default.DownloadsPath;

            if (!IOController.checkPath(libraryPath) || !IOController.checkPath(downloadsPath))
            {
                frmSettings frmSettings = new frmSettings();
                frmSettings.ShowDialog();
            }
        }
예제 #2
0
        private void settingsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmSettings frmSettings = new frmSettings();

            frmSettings.ShowDialog();
        }