private void setWorkDirectoryToolStripMenuItem_Click(object sender, EventArgs e) { SelectDirectoryForm sdf = new SelectDirectoryForm(); if (sdf.ShowDialog() == DialogResult.OK) { Properties.Settings.Default.WorkDirectory = sdf.Dir; Properties.Settings.Default.Save(); } loadNote(); }
private void btnSelectdir_Click(object sender, EventArgs e) { SelectDirectoryForm frmDirSele = new SelectDirectoryForm(); frmDirSele.ShowDialog(); }