private void setAllPath()
        {
            try
            {
                if (folderBrowserDialog1.SelectedPath != string.Empty)
                {
                    if (txtProjDir.Text != folderBrowserDialog1.SelectedPath)
                    {
                        txtProjDir.Text = Directory.GetParent(folderBrowserDialog1.SelectedPath).Name;
                    }

                    txtSourceDir.Text = string.Format(@"{0}\{1}", txtProjDir.Text, "src");
                    txtTestdir.Text   = string.Format(@"{0}\{1}", txtProjDir.Text, "test");
                    txtLibDir.Text    = string.Format(@"{0}\{1}", txtProjDir.Text, "vendor");
                    moveToLast();
                    KarmaRunnerHelper.WriteAppsettingToConfig("basePath", txtProjDir.Text);
                    KarmaRunnerHelper.WriteAppsettingToConfig("sourcePath", txtSourceDir.Text);
                    KarmaRunnerHelper.WriteAppsettingToConfig("testPath", txtTestdir.Text);
                    KarmaRunnerHelper.WriteAppsettingToConfig("libPath", txtLibDir.Text);
                    ReadAppSettings();
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }