public bool Save(string path)
        {
            ConfigMgr.SerializeConfig(this, path);

            MessageBox.Show("Settings Saved.");

            return(true);
        }
示例#2
0
        private void SaveButton_Click(object sender, EventArgs e)
        {
            configMgr.MaxEntries = entriesBox.Text;
            configMgr.OutputPath = outputPathBox.Text;

            //MessageBox.Show($"{entriesBox.Text.ToString()} \n {outputPathBox.Text.ToString()}");
            //MessageBox.Show($"{configMgr.MaxEntries} \n {configMgr.OutputPath}");

            configMgr.SerializeConfig(_path);
            MessageBox.Show("Settings Saved.");
        }
示例#3
0
 public bool Save(string path)
 {
     ConfigMgr.SerializeConfig(this, path);
     return(true);
 }