internal void Save()
        {
            GitSccOptions.Current.GitBashPath            = this.textBox1.Text;
            GitSccOptions.Current.GitExtensionPath       = this.textBox2.Text;
            GitSccOptions.Current.DifftoolPath           = this.textBox3.Text;
            GitSccOptions.Current.TortoiseGitPath        = this.textBox4.Text;
            GitSccOptions.Current.NotExpandGitExtensions = this.checkBox1.Checked;
            GitSccOptions.Current.NotExpandTortoiseGit   = this.checkBox2.Checked;
            GitSccOptions.Current.UseTGitIconSet         = this.checkBox3.Checked;
            GitSccOptions.Current.DisableAutoRefresh     = this.checkBox4.Checked;
            GitSccOptions.Current.SaveConfig();

            SccProviderService sccProviderService = (SccProviderService)GetService(typeof(SccProviderService));

            sccProviderService.Refresh();
        }
 private void OnRefreshCommand(object sender, EventArgs e)
 {
     sccService.NoRefresh = false;
     sccService.Refresh();
 }
Ejemplo n.º 3
0
 private void OnRefreshCommand(object sender, EventArgs e)
 {
     hasFileSaved(); //just a reminder, refresh anyway
     sccProviderService.Refresh();
 }
Ejemplo n.º 4
0
 private void OnRefreshCommand(object sender, EventArgs e)
 {
     // explicit user refresh
     sccService.Refresh();
 }