Пример #1
0
        private void buttonSave_Click(object sender, EventArgs e)
        {
            JiraPreferences.ServerUrl = textBoxServerUrl.Text;
            JiraPreferences.Username  = textBoxUsername.Text;
            JiraPreferences.Password  = textBoxPassword.Text;

            JiraPreferences.Write();
            Close();
        }
Пример #2
0
        public void SetComponentCategoryPreferences(SnagItOutputPreferences prefs)
        {
            string packageDir, preferencesDir;

            prefs.PackageDir(out packageDir);
            prefs.PreferencesDir(out preferencesDir);

            PackageDirectory    = packageDir;
            PreferenceDirectory = preferencesDir;

            JiraPreferences.Setup();
            JiraPreferences.Read();
        }