Changeset 4867


Ignore:
Timestamp:
11/20/10 01:26:20 (12 years ago)
Author:
swagner
Message:

Set initial focus in TypeSelector to search text box (#1241)

Location:
trunk/sources/HeuristicLab.Core.Views/3.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/TypeSelector.Designer.cs

    r3588 r4867  
    4747    private void InitializeComponent() {
    4848      this.components = new System.ComponentModel.Container();
    49       System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TypeSelector));
    5049      this.typesTreeView = new System.Windows.Forms.TreeView();
    5150      this.imageList = new System.Windows.Forms.ImageList(this.components);
     
    5857      this.setTypeParameterButton = new System.Windows.Forms.Button();
    5958      this.typeParametersListView = new System.Windows.Forms.ListView();
     59      this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
    6060      this.descriptionTextBox = new System.Windows.Forms.TextBox();
    6161      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
    62       this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
    6362      this.typesGroupBox.SuspendLayout();
    6463      this.splitContainer.Panel1.SuspendLayout();
     
    8483      this.typesTreeView.ShowNodeToolTips = true;
    8584      this.typesTreeView.Size = new System.Drawing.Size(219, 287);
    86       this.typesTreeView.TabIndex = 0;
     85      this.typesTreeView.TabIndex = 2;
     86      this.typesTreeView.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.typesTreeView_ItemDrag);
     87      this.typesTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.typesTreeView_AfterSelect);
    8788      this.typesTreeView.VisibleChanged += new System.EventHandler(this.typesTreeView_VisibleChanged);
    88       this.typesTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.typesTreeView_AfterSelect);
    89       this.typesTreeView.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.typesTreeView_ItemDrag);
    9089      //
    9190      // imageList
     
    122121      this.splitContainer.Size = new System.Drawing.Size(225, 595);
    123122      this.splitContainer.SplitterDistance = 471;
    124       this.splitContainer.TabIndex = 2;
     123      this.splitContainer.TabIndex = 0;
    125124      //
    126125      // typeParametersSplitContainer
     
    152151      this.searchLabel.Name = "searchLabel";
    153152      this.searchLabel.Size = new System.Drawing.Size(20, 20);
    154       this.searchLabel.TabIndex = 1;
     153      this.searchLabel.TabIndex = 0;
    155154      this.toolTip.SetToolTip(this.searchLabel, "Enter string to search for types");
    156155      //
     
    162161      this.searchTextBox.Name = "searchTextBox";
    163162      this.searchTextBox.Size = new System.Drawing.Size(193, 20);
    164       this.searchTextBox.TabIndex = 2;
     163      this.searchTextBox.TabIndex = 1;
    165164      this.toolTip.SetToolTip(this.searchTextBox, "Enter string to search for types");
    166165      this.searchTextBox.TextChanged += new System.EventHandler(this.searchTextBox_TextChanged);
  • trunk/sources/HeuristicLab.Core.Views/3.3/TypeSelector.cs

    r4826 r4867  
    129129                  imageList.Images.Add(type.FullName, item.ItemImage);
    130130                  typeNode.ImageIndex = imageList.Images.IndexOfKey(type.FullName);
    131                 } catch (Exception) { }
     131                }
     132                catch (Exception) { }
    132133              }
    133134              typeNode.SelectedImageIndex = typeNode.ImageIndex;
  • trunk/sources/HeuristicLab.Core.Views/3.3/TypeSelectorDialog.Designer.cs

    r3588 r4867  
    7979      this.typeSelector.Name = "typeSelector";
    8080      this.typeSelector.Size = new System.Drawing.Size(584, 520);
    81       this.typeSelector.TabIndex = 3;
     81      this.typeSelector.TabIndex = 0;
    8282      this.typeSelector.SelectedTypeChanged += new System.EventHandler(this.typeSelector_SelectedTypeChanged);
    8383      //
Note: See TracChangeset for help on using the changeset viewer.