Example #1
0
        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();
        }
Example #2
0
        private void btnSelectdir_Click(object sender, EventArgs e)
        {
            SelectDirectoryForm frmDirSele = new SelectDirectoryForm();

            frmDirSele.ShowDialog();
        }