private void SaveLocalPathsCommand()
        {
            if (!FileEndings.Equals(""))
            {
                Logic.LocalConfig.FileEndings = FileEndings;
            }
            Logic.LocalConfig.IsRecursive    = IsRecursive;
            Logic.LocalConfig.DownloadFolder = DownloadFolder;
            Logic.LocalConfig.CopyToPath     = CopyToPath;
            if (!LocalPath1.Equals(""))
            {
                Logic.LocalConfig.LocalPath1 = LocalPath1;
            }
            Logic.LocalConfig.LocalPath2 = LocalPath2;
            Logic.LocalConfig.LocalPath3 = LocalPath3;

            Mediator.NotifyColleagues(MediatorGlobal.SaveConfig, null);
        }
예제 #2
0
        private void SaveLocalPathsCommand()
        {
            if (!FileEndings.Equals(""))
            {
                Logic.LocalConfig.FileEndings = FileEndings;
            }
            if (!LocalPath1.Equals(""))
            {
                Logic.LocalConfig.LocalPath1 = LocalPath1;
            }
            if (!LocalPath2.Equals(""))
            {
                Logic.LocalConfig.LocalPath2 = LocalPath2;
            }
            if (!LocalPath3.Equals(""))
            {
                Logic.LocalConfig.LocalPath3 = LocalPath3;
            }

            Mediator.NotifyColleagues(MediatorGlobal.SaveConfig, null);
        }