Пример #1
0
 private void setProjectDirectoryToolStripMenuItem_Click(Object sender, EventArgs e)
 {
     using (SetProjectDirectoryForm form = new SetProjectDirectoryForm())
     {
         form.ShowDialog();
     }
 }
Пример #2
0
        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();
                }
            }
        }