Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/25/10 02:51:45 (14 years ago)
Author:
swagner
Message:

Worked on OKB (#1174)

Location:
branches/OKB/HeuristicLab.Clients.OKB-3.3/Views
Files:
10 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/OKB/HeuristicLab.Clients.OKB-3.3/Views/AlgorithmView.Designer.cs

    r4492 r4929  
    5656      this.dataTabPage = new System.Windows.Forms.TabPage();
    5757      this.algorithmDataView = new HeuristicLab.Clients.OKB.AlgorithmDataView();
     58      this.parametersTabPage = new System.Windows.Forms.TabPage();
     59      this.algorithmParameterCollectionView = new HeuristicLab.Clients.OKB.AlgorithmParameterCollectionView();
     60      this.refreshParametersButton = new System.Windows.Forms.Button();
     61      this.resultsTabPage = new System.Windows.Forms.TabPage();
     62      this.resultCollectionView = new HeuristicLab.Clients.OKB.ResultCollectionView();
     63      this.refreshResultsButton = new System.Windows.Forms.Button();
     64      this.experimentsTabPage = new System.Windows.Forms.TabPage();
     65      this.refreshExperimentsButton = new System.Windows.Forms.Button();
     66      this.experimentCollectionView = new HeuristicLab.Clients.OKB.ExperimentCollectionView();
    5867      this.tabControl.SuspendLayout();
    5968      this.usersTabPage.SuspendLayout();
    6069      this.dataTabPage.SuspendLayout();
     70      this.parametersTabPage.SuspendLayout();
     71      this.resultsTabPage.SuspendLayout();
     72      this.experimentsTabPage.SuspendLayout();
    6173      this.SuspendLayout();
    6274      //
     
    138150      this.tabControl.Controls.Add(this.usersTabPage);
    139151      this.tabControl.Controls.Add(this.dataTabPage);
     152      this.tabControl.Controls.Add(this.parametersTabPage);
     153      this.tabControl.Controls.Add(this.resultsTabPage);
     154      this.tabControl.Controls.Add(this.experimentsTabPage);
    140155      this.tabControl.Location = new System.Drawing.Point(0, 162);
    141156      this.tabControl.Name = "tabControl";
     
    203218      this.algorithmDataView.Size = new System.Drawing.Size(613, 254);
    204219      this.algorithmDataView.TabIndex = 0;
     220      //
     221      // parametersTabPage
     222      //
     223      this.parametersTabPage.Controls.Add(this.algorithmParameterCollectionView);
     224      this.parametersTabPage.Controls.Add(this.refreshParametersButton);
     225      this.parametersTabPage.Location = new System.Drawing.Point(4, 22);
     226      this.parametersTabPage.Name = "parametersTabPage";
     227      this.parametersTabPage.Padding = new System.Windows.Forms.Padding(3);
     228      this.parametersTabPage.Size = new System.Drawing.Size(625, 266);
     229      this.parametersTabPage.TabIndex = 2;
     230      this.parametersTabPage.Text = "Parameters";
     231      this.parametersTabPage.UseVisualStyleBackColor = true;
     232      //
     233      // algorithmParameterCollectionView
     234      //
     235      this.algorithmParameterCollectionView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     236                  | System.Windows.Forms.AnchorStyles.Left)
     237                  | System.Windows.Forms.AnchorStyles.Right)));
     238      this.algorithmParameterCollectionView.Caption = "AlgorithmParameterCollection View";
     239      this.algorithmParameterCollectionView.Content = null;
     240      this.algorithmParameterCollectionView.Location = new System.Drawing.Point(6, 36);
     241      this.algorithmParameterCollectionView.Name = "algorithmParameterCollectionView";
     242      this.algorithmParameterCollectionView.ReadOnly = false;
     243      this.algorithmParameterCollectionView.Size = new System.Drawing.Size(613, 224);
     244      this.algorithmParameterCollectionView.TabIndex = 1;
     245      //
     246      // refreshParametersButton
     247      //
     248      this.refreshParametersButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Refresh;
     249      this.refreshParametersButton.Location = new System.Drawing.Point(6, 6);
     250      this.refreshParametersButton.Name = "refreshParametersButton";
     251      this.refreshParametersButton.Size = new System.Drawing.Size(24, 24);
     252      this.refreshParametersButton.TabIndex = 0;
     253      this.refreshParametersButton.UseVisualStyleBackColor = true;
     254      this.refreshParametersButton.Click += new System.EventHandler(this.refreshParametersButton_Click);
     255      //
     256      // resultsTabPage
     257      //
     258      this.resultsTabPage.Controls.Add(this.resultCollectionView);
     259      this.resultsTabPage.Controls.Add(this.refreshResultsButton);
     260      this.resultsTabPage.Location = new System.Drawing.Point(4, 22);
     261      this.resultsTabPage.Name = "resultsTabPage";
     262      this.resultsTabPage.Padding = new System.Windows.Forms.Padding(3);
     263      this.resultsTabPage.Size = new System.Drawing.Size(625, 266);
     264      this.resultsTabPage.TabIndex = 3;
     265      this.resultsTabPage.Text = "Results";
     266      this.resultsTabPage.UseVisualStyleBackColor = true;
     267      //
     268      // resultCollectionView
     269      //
     270      this.resultCollectionView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     271                  | System.Windows.Forms.AnchorStyles.Left)
     272                  | System.Windows.Forms.AnchorStyles.Right)));
     273      this.resultCollectionView.Caption = "ResultCollection View";
     274      this.resultCollectionView.Content = null;
     275      this.resultCollectionView.Location = new System.Drawing.Point(6, 36);
     276      this.resultCollectionView.Name = "resultCollectionView";
     277      this.resultCollectionView.ReadOnly = false;
     278      this.resultCollectionView.Size = new System.Drawing.Size(613, 224);
     279      this.resultCollectionView.TabIndex = 1;
     280      //
     281      // refreshResultsButton
     282      //
     283      this.refreshResultsButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Refresh;
     284      this.refreshResultsButton.Location = new System.Drawing.Point(6, 6);
     285      this.refreshResultsButton.Name = "refreshResultsButton";
     286      this.refreshResultsButton.Size = new System.Drawing.Size(24, 24);
     287      this.refreshResultsButton.TabIndex = 0;
     288      this.refreshResultsButton.UseVisualStyleBackColor = true;
     289      this.refreshResultsButton.Click += new System.EventHandler(this.refreshResultsButton_Click);
     290      //
     291      // experimentsTabPage
     292      //
     293      this.experimentsTabPage.Controls.Add(this.experimentCollectionView);
     294      this.experimentsTabPage.Controls.Add(this.refreshExperimentsButton);
     295      this.experimentsTabPage.Location = new System.Drawing.Point(4, 22);
     296      this.experimentsTabPage.Name = "experimentsTabPage";
     297      this.experimentsTabPage.Padding = new System.Windows.Forms.Padding(3);
     298      this.experimentsTabPage.Size = new System.Drawing.Size(625, 266);
     299      this.experimentsTabPage.TabIndex = 4;
     300      this.experimentsTabPage.Text = "Experiments";
     301      this.experimentsTabPage.UseVisualStyleBackColor = true;
     302      //
     303      // refreshExperimentsButton
     304      //
     305      this.refreshExperimentsButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Refresh;
     306      this.refreshExperimentsButton.Location = new System.Drawing.Point(6, 6);
     307      this.refreshExperimentsButton.Name = "refreshExperimentsButton";
     308      this.refreshExperimentsButton.Size = new System.Drawing.Size(24, 24);
     309      this.refreshExperimentsButton.TabIndex = 0;
     310      this.refreshExperimentsButton.UseVisualStyleBackColor = true;
     311      this.refreshExperimentsButton.Click += new System.EventHandler(this.refreshExperimentsButton_Click);
     312      //
     313      // experimentCollectionView
     314      //
     315      this.experimentCollectionView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     316                  | System.Windows.Forms.AnchorStyles.Left)
     317                  | System.Windows.Forms.AnchorStyles.Right)));
     318      this.experimentCollectionView.Caption = "ExperimentCollection View";
     319      this.experimentCollectionView.Content = null;
     320      this.experimentCollectionView.Location = new System.Drawing.Point(6, 36);
     321      this.experimentCollectionView.Name = "experimentCollectionView";
     322      this.experimentCollectionView.ReadOnly = false;
     323      this.experimentCollectionView.Size = new System.Drawing.Size(613, 224);
     324      this.experimentCollectionView.TabIndex = 1;
    205325      //
    206326      // AlgorithmView
     
    227347      this.usersTabPage.ResumeLayout(false);
    228348      this.dataTabPage.ResumeLayout(false);
     349      this.parametersTabPage.ResumeLayout(false);
     350      this.resultsTabPage.ResumeLayout(false);
     351      this.experimentsTabPage.ResumeLayout(false);
    229352      this.ResumeLayout(false);
    230353      this.PerformLayout();
     
    245368    private System.Windows.Forms.TabPage dataTabPage;
    246369    private AlgorithmDataView algorithmDataView;
     370    private System.Windows.Forms.TabPage parametersTabPage;
     371    private System.Windows.Forms.TabPage resultsTabPage;
     372    private AlgorithmParameterCollectionView algorithmParameterCollectionView;
     373    private System.Windows.Forms.Button refreshParametersButton;
     374    private System.Windows.Forms.Button refreshResultsButton;
     375    private System.Windows.Forms.TabPage experimentsTabPage;
     376    private ResultCollectionView resultCollectionView;
     377    private ExperimentCollectionView experimentCollectionView;
     378    private System.Windows.Forms.Button refreshExperimentsButton;
    247379
    248380  }
  • branches/OKB/HeuristicLab.Clients.OKB-3.3/Views/AlgorithmView.cs

    r4558 r4929  
    123123      storeUsersButton.Enabled = !ReadOnly;
    124124    }
     125
     126    private void refreshParametersButton_Click(object sender, EventArgs e) {
     127      algorithmParameterCollectionView.Content = OKBClient.Instance.GetAlgorithmParameters(Content.Id);
     128    }
     129
     130    private void refreshResultsButton_Click(object sender, EventArgs e) {
     131      resultCollectionView.Content = OKBClient.Instance.GetResults(Content.Id);
     132    }
     133
     134    private void refreshExperimentsButton_Click(object sender, EventArgs e) {
     135      experimentCollectionView.Content = null; // TODO
     136    }
    125137  }
    126138}
  • branches/OKB/HeuristicLab.Clients.OKB-3.3/Views/ResultCollectionView.cs

    r4566 r4929  
    3131    public ResultCollectionView() {
    3232      InitializeComponent();
    33       itemsGroupBox.Text = "Result";
     33      itemsGroupBox.Text = "Results";
    3434    }
    3535
Note: See TracChangeset for help on using the changeset viewer.