private void button1_Click_1(object sender, EventArgs e) { DialogResult dR = savePath.ShowDialog(); if (dR == DialogResult.OK) { filePath = savePath.SelectedPath.ToString(); Opt options = new Opt(); options.generalLog = filePath.ToString(); options.Save(); generalLogTb.Text = filePath; } }
private void materialRaisedButton1_Click(object sender, EventArgs e) { Opt options = new Opt(); options.Save(); }