Changeset 5269 for branches/OKB/HeuristicLab.Clients.OKB-3.3/Views
- Timestamp:
- 01/11/11 05:13:55 (14 years ago)
- Location:
- branches/OKB/HeuristicLab.Clients.OKB-3.3/Views
- Files:
-
- 24 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKB/HeuristicLab.Clients.OKB-3.3/Views/QueryView.Designer.cs
r5073 r5269 46 46 private void InitializeComponent() { 47 47 this.components = new System.ComponentModel.Container(); 48 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(QueryView));49 48 this.refreshButton = new System.Windows.Forms.Button(); 50 49 this.toolTip = new System.Windows.Forms.ToolTip(this.components); 50 this.showRunsButton = new System.Windows.Forms.Button(); 51 51 this.runCollectionView = new HeuristicLab.Clients.OKB.RunCollectionView(); 52 this.showRunsButton = new System.Windows.Forms.Button(); 53 this.queryTextBox = new System.Windows.Forms.TextBox(); 52 this.splitContainer = new System.Windows.Forms.SplitContainer(); 53 this.filtersView = new HeuristicLab.Clients.OKB.FiltersView(); 54 this.filtersGroupBox = new System.Windows.Forms.GroupBox(); 55 this.resultsGroupBox = new System.Windows.Forms.GroupBox(); 56 ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit(); 57 this.splitContainer.Panel1.SuspendLayout(); 58 this.splitContainer.Panel2.SuspendLayout(); 59 this.splitContainer.SuspendLayout(); 60 this.filtersGroupBox.SuspendLayout(); 61 this.resultsGroupBox.SuspendLayout(); 54 62 this.SuspendLayout(); 55 63 // … … 57 65 // 58 66 this.refreshButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Refresh; 59 this.refreshButton.Location = new System.Drawing.Point( 0, 0);67 this.refreshButton.Location = new System.Drawing.Point(6, 19); 60 68 this.refreshButton.Name = "refreshButton"; 61 69 this.refreshButton.Size = new System.Drawing.Size(24, 24); … … 64 72 this.refreshButton.UseVisualStyleBackColor = true; 65 73 this.refreshButton.Click += new System.EventHandler(this.refreshButton_Click); 74 // 75 // showRunsButton 76 // 77 this.showRunsButton.Location = new System.Drawing.Point(36, 19); 78 this.showRunsButton.Name = "showRunsButton"; 79 this.showRunsButton.Size = new System.Drawing.Size(75, 24); 80 this.showRunsButton.TabIndex = 1; 81 this.showRunsButton.Text = "&Show Runs"; 82 this.showRunsButton.UseVisualStyleBackColor = true; 83 this.showRunsButton.Click += new System.EventHandler(this.showRunsButton_Click); 66 84 // 67 85 // runCollectionView … … 72 90 this.runCollectionView.Caption = "RunCollection View"; 73 91 this.runCollectionView.Content = null; 74 this.runCollectionView.Location = new System.Drawing.Point( 0, 30);92 this.runCollectionView.Location = new System.Drawing.Point(6, 49); 75 93 this.runCollectionView.Name = "runCollectionView"; 76 94 this.runCollectionView.ReadOnly = false; 77 this.runCollectionView.Size = new System.Drawing.Size(72 7, 405);78 this.runCollectionView.TabIndex = 3;95 this.runCollectionView.Size = new System.Drawing.Size(722, 156); 96 this.runCollectionView.TabIndex = 2; 79 97 // 80 // s howRunsButton98 // splitContainer 81 99 // 82 this.showRunsButton.Location = new System.Drawing.Point(30, 0); 83 this.showRunsButton.Name = "showRunsButton"; 84 this.showRunsButton.Size = new System.Drawing.Size(75, 24); 85 this.showRunsButton.TabIndex = 1; 86 this.showRunsButton.Text = "&Show Runs"; 87 this.showRunsButton.UseVisualStyleBackColor = true; 88 this.showRunsButton.Click += new System.EventHandler(this.showRunsButton_Click); 100 this.splitContainer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 101 | System.Windows.Forms.AnchorStyles.Left) 102 | System.Windows.Forms.AnchorStyles.Right))); 103 this.splitContainer.Location = new System.Drawing.Point(0, 0); 104 this.splitContainer.Name = "splitContainer"; 105 this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal; 89 106 // 90 // queryTextBox107 // splitContainer.Panel1 91 108 // 92 this.queryTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 109 this.splitContainer.Panel1.Controls.Add(this.filtersGroupBox); 110 // 111 // splitContainer.Panel2 112 // 113 this.splitContainer.Panel2.Controls.Add(this.resultsGroupBox); 114 this.splitContainer.Size = new System.Drawing.Size(734, 435); 115 this.splitContainer.SplitterDistance = 217; 116 this.splitContainer.TabIndex = 0; 117 // 118 // filtersView 119 // 120 this.filtersView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 121 | System.Windows.Forms.AnchorStyles.Left) 93 122 | System.Windows.Forms.AnchorStyles.Right))); 94 this.queryTextBox.Location = new System.Drawing.Point(111, 3); 95 this.queryTextBox.Name = "queryTextBox"; 96 this.queryTextBox.Size = new System.Drawing.Size(616, 20); 97 this.queryTextBox.TabIndex = 2; 123 this.filtersView.Caption = "Filters View"; 124 this.filtersView.Location = new System.Drawing.Point(6, 19); 125 this.filtersView.Name = "filtersView"; 126 this.filtersView.ReadOnly = false; 127 this.filtersView.Size = new System.Drawing.Size(722, 189); 128 this.filtersView.TabIndex = 0; 129 // 130 // filtersGroupBox 131 // 132 this.filtersGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 133 | System.Windows.Forms.AnchorStyles.Left) 134 | System.Windows.Forms.AnchorStyles.Right))); 135 this.filtersGroupBox.Controls.Add(this.filtersView); 136 this.filtersGroupBox.Location = new System.Drawing.Point(0, 0); 137 this.filtersGroupBox.Name = "filtersGroupBox"; 138 this.filtersGroupBox.Size = new System.Drawing.Size(734, 214); 139 this.filtersGroupBox.TabIndex = 0; 140 this.filtersGroupBox.TabStop = false; 141 this.filtersGroupBox.Text = "Filters"; 142 // 143 // resultsGroupBox 144 // 145 this.resultsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 146 | System.Windows.Forms.AnchorStyles.Left) 147 | System.Windows.Forms.AnchorStyles.Right))); 148 this.resultsGroupBox.Controls.Add(this.refreshButton); 149 this.resultsGroupBox.Controls.Add(this.runCollectionView); 150 this.resultsGroupBox.Controls.Add(this.showRunsButton); 151 this.resultsGroupBox.Location = new System.Drawing.Point(0, 3); 152 this.resultsGroupBox.Name = "resultsGroupBox"; 153 this.resultsGroupBox.Size = new System.Drawing.Size(734, 211); 154 this.resultsGroupBox.TabIndex = 0; 155 this.resultsGroupBox.TabStop = false; 156 this.resultsGroupBox.Text = "Results"; 98 157 // 99 158 // QueryView … … 101 160 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 102 161 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 103 this.Controls.Add(this.queryTextBox); 104 this.Controls.Add(this.showRunsButton); 105 this.Controls.Add(this.runCollectionView); 106 this.Controls.Add(this.refreshButton); 162 this.Controls.Add(this.splitContainer); 107 163 this.Name = "QueryView"; 108 this.Size = new System.Drawing.Size(727, 435); 164 this.Size = new System.Drawing.Size(734, 435); 165 this.splitContainer.Panel1.ResumeLayout(false); 166 this.splitContainer.Panel2.ResumeLayout(false); 167 ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit(); 168 this.splitContainer.ResumeLayout(false); 169 this.filtersGroupBox.ResumeLayout(false); 170 this.resultsGroupBox.ResumeLayout(false); 109 171 this.ResumeLayout(false); 110 this.PerformLayout();111 172 112 173 } … … 118 179 private RunCollectionView runCollectionView; 119 180 private System.Windows.Forms.Button showRunsButton; 120 private System.Windows.Forms.TextBox queryTextBox; 181 private System.Windows.Forms.SplitContainer splitContainer; 182 private FiltersView filtersView; 183 private System.Windows.Forms.GroupBox filtersGroupBox; 184 private System.Windows.Forms.GroupBox resultsGroupBox; 121 185 122 186 } -
branches/OKB/HeuristicLab.Clients.OKB-3.3/Views/QueryView.cs
r5073 r5269 60 60 protected override void SetEnabledStateOfControls() { 61 61 base.SetEnabledStateOfControls(); 62 filtersView.Enabled = Content != null; 62 63 refreshButton.Enabled = Content != null; 64 showRunsButton.Enabled = Content != null; 63 65 runCollectionView.Enabled = Content != null; 64 66 } 65 67 66 68 private void refreshButton_Click(object sender, EventArgs e) { 67 runCollectionView.Content = Content.QueryRuns( queryTextBox.Text);69 runCollectionView.Content = Content.QueryRuns(filtersView.Filters); 68 70 } 69 71
Note: See TracChangeset
for help on using the changeset viewer.