Ignore:
Timestamp:
07/04/19 14:33:02 (3 years ago)
Author:
mkommend
Message:

#2839: Merged r16427 into stable.

Location:
stable
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Clients.Hive.JobManager

  • stable/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveResourceSelector.Designer.cs

    r17059 r17060  
    1919 */
    2020#endregion
     21
     22using System.Windows.Forms;
    2123
    2224namespace HeuristicLab.Clients.Hive.JobManager.Views {
     
    114116      this.toolTip.SetToolTip(this.searchTextBox, "Enter string to search for resources");
    115117      this.searchTextBox.TextChanged += new System.EventHandler(this.searchTextBox_TextChanged);
     118      this.searchTextBox.MouseDown += new MouseEventHandler(this.searchTextBox_MouseDown);
    116119      //
    117120      // splitContainer2
     
    146149      this.projectsTreeView.Size = new System.Drawing.Size(204, 410);
    147150      this.projectsTreeView.TabIndex = 3;
     151      this.projectsTreeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.projectsTreeView_MouseDown);
    148152      this.projectsTreeView.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.projectsTreeView_MouseDoubleClick);
    149153      this.projectsTreeView.BeforeSelect += new System.Windows.Forms.TreeViewCancelEventHandler(this.projectsTreeView_BeforeSelect);
  • stable/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveResourceSelector.cs

    r17059 r17060  
    145145        selectedProject = value;
    146146
    147         UpdateResourceTree();
     147        UpdateResourceTree();               
    148148        ExtractStatistics();
    149149        OnSelectedProjectChanged();
     
    223223      //UpdateFilteredTree();
    224224      UpdateProjectTree();
     225    }
     226
     227    private void searchTextBox_MouseDown(object sender, MouseEventArgs e) {
     228      resourcesTreeView.SelectedNode = null;
     229      ExtractStatistics();
     230    }
     231
     232    private void projectsTreeView_MouseDown(object sender, MouseEventArgs e) {
     233      resourcesTreeView.SelectedNode = null;
     234      ExtractStatistics();
    225235    }
    226236
Note: See TracChangeset for help on using the changeset viewer.