Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/21/18 09:50:22 (6 years ago)
Author:
jzenisek
Message:

#2839:

  • removed update button and functionality
  • fixed bug in hive resource selector (resource update on click)
  • performed some refactoring
Location:
trunk/HeuristicLab.Clients.Hive.JobManager/3.3/Views
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveResourceSelector.Designer.cs

    r16117 r16427  
    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);
  • trunk/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveResourceSelector.cs

    r16219 r16427  
    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.