private void setProjectDirectoryToolStripMenuItem_Click(Object sender, EventArgs e) { using (SetProjectDirectoryForm form = new SetProjectDirectoryForm()) { form.ShowDialog(); } }
private void CheckProjectDirectory() { string invalidDir = ""; ProjectDirectoryHelper.IsProjectDirectory(ref invalidDir); if (invalidDir != "") { MessageBox.Show("Invalid Directory of Project.\n Please Specific Project Directory First."); using (SetProjectDirectoryForm form = new SetProjectDirectoryForm()) { form.ShowDialog(); } } }