private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            FolderBrowserDialog dlg = new FolderBrowserDialog();

            dlg.ShowDialog();
            if (dlg.SelectedPath != "")
            {
                IniConfigHelper.SetValue("RemoteFile", "SavaFilePath", dlg.SelectedPath, Path.Combine(Environment.CurrentDirectory, "SiMayConfig.ini"));
                txtSavePath.Text = dlg.SelectedPath;
            }
        }
Example #2
0
 public override bool SetConfig(string key, string value)
 {
     AppConfig[key] = value;
     IniConfigHelper.SetValue("SiMayConfig", key, value, _filePath);
     return(true);
 }