Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/24/11 14:30:55 (13 years ago)
Author:
ascheibe
Message:

#1233

  • added view for displaying jobs
  • improved slave ui
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Views/3.4/SlaveView.Designer.cs

    r6257 r6263  
    4545    /// </summary>
    4646    private void InitializeComponent() {
    47       System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea3 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
    48       System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel5 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
    49       System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel6 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
    50       System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel7 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
    51       System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel8 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
    52       System.Windows.Forms.DataVisualization.Charting.Legend legend3 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     47      System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     48      System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel1 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
     49      System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel2 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
     50      System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel3 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
     51      System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel4 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
     52      System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     53      System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
     54      System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
     55      System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series();
     56      System.Windows.Forms.DataVisualization.Charting.Series series4 = new System.Windows.Forms.DataVisualization.Charting.Series();
     57      System.Windows.Forms.DataVisualization.Charting.Series series5 = new System.Windows.Forms.DataVisualization.Charting.Series();
     58      System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     59      System.Windows.Forms.DataVisualization.Charting.Legend legend2 = new System.Windows.Forms.DataVisualization.Charting.Legend();
    5360      System.Windows.Forms.DataVisualization.Charting.Series series6 = new System.Windows.Forms.DataVisualization.Charting.Series();
    54       System.Windows.Forms.DataVisualization.Charting.Series series7 = new System.Windows.Forms.DataVisualization.Charting.Series();
    55       System.Windows.Forms.DataVisualization.Charting.Series series8 = new System.Windows.Forms.DataVisualization.Charting.Series();
    56       System.Windows.Forms.DataVisualization.Charting.Series series9 = new System.Windows.Forms.DataVisualization.Charting.Series();
    57       System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea4 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
    58       System.Windows.Forms.DataVisualization.Charting.Legend legend4 = new System.Windows.Forms.DataVisualization.Charting.Legend();
    59       System.Windows.Forms.DataVisualization.Charting.Series series10 = new System.Windows.Forms.DataVisualization.Charting.Series();
     61      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SlaveView));
    6062      this.jobChart = new System.Windows.Forms.DataVisualization.Charting.Chart();
    6163      this.coresChart = new System.Windows.Forms.DataVisualization.Charting.Chart();
     
    7173      // jobChart
    7274      //
     75      this.jobChart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     76                  | System.Windows.Forms.AnchorStyles.Left)
     77                  | System.Windows.Forms.AnchorStyles.Right)));
    7378      this.jobChart.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
    74       customLabel5.Text = "Jobs";
    75       customLabel6.Text = "Aborted Jobs";
    76       customLabel7.Text = "Finished Jobs";
    77       customLabel8.Text = "Fetched Jobs";
    78       chartArea3.AxisX.CustomLabels.Add(customLabel5);
    79       chartArea3.AxisX.CustomLabels.Add(customLabel6);
    80       chartArea3.AxisX.CustomLabels.Add(customLabel7);
    81       chartArea3.AxisX.CustomLabels.Add(customLabel8);
    82       chartArea3.AxisX.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True;
    83       chartArea3.AxisX.MajorGrid.Enabled = false;
    84       chartArea3.AxisX.MajorTickMark.Enabled = false;
    85       chartArea3.Name = "ChartArea1";
    86       this.jobChart.ChartAreas.Add(chartArea3);
    87       legend3.Name = "Legend1";
    88       this.jobChart.Legends.Add(legend3);
    89       this.jobChart.Location = new System.Drawing.Point(0, 3);
     79      customLabel1.Text = "Jobs";
     80      customLabel2.Text = "Aborted Jobs";
     81      customLabel3.Text = "Finished Jobs";
     82      customLabel4.Text = "Fetched Jobs";
     83      chartArea1.AxisX.CustomLabels.Add(customLabel1);
     84      chartArea1.AxisX.CustomLabels.Add(customLabel2);
     85      chartArea1.AxisX.CustomLabels.Add(customLabel3);
     86      chartArea1.AxisX.CustomLabels.Add(customLabel4);
     87      chartArea1.AxisX.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True;
     88      chartArea1.AxisX.MajorGrid.Enabled = false;
     89      chartArea1.AxisX.MajorTickMark.Enabled = false;
     90      chartArea1.Name = "ChartArea1";
     91      this.jobChart.ChartAreas.Add(chartArea1);
     92      legend1.Name = "Legend1";
     93      this.jobChart.Legends.Add(legend1);
     94      this.jobChart.Location = new System.Drawing.Point(3, 121);
    9095      this.jobChart.Name = "jobChart";
     96      series1.ChartArea = "ChartArea1";
     97      series1.Legend = "Legend1";
     98      series1.Name = "Series1";
     99      series2.ChartArea = "ChartArea1";
     100      series2.Legend = "Legend1";
     101      series2.Name = "Series2";
     102      series3.ChartArea = "ChartArea1";
     103      series3.Legend = "Legend1";
     104      series3.Name = "Series3";
     105      series4.ChartArea = "ChartArea1";
     106      series4.Legend = "Legend1";
     107      series4.Name = "Series4";
     108      series5.ChartArea = "ChartArea1";
     109      series5.Legend = "Legend1";
     110      series5.Name = "Series5";
     111      this.jobChart.Series.Add(series1);
     112      this.jobChart.Series.Add(series2);
     113      this.jobChart.Series.Add(series3);
     114      this.jobChart.Series.Add(series4);
     115      this.jobChart.Series.Add(series5);
     116      this.jobChart.Size = new System.Drawing.Size(412, 189);
     117      this.jobChart.TabIndex = 7;
     118      //
     119      // coresChart
     120      //
     121      this.coresChart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     122      chartArea2.Name = "ChartArea1";
     123      this.coresChart.ChartAreas.Add(chartArea2);
     124      legend2.Name = "Legend1";
     125      this.coresChart.Legends.Add(legend2);
     126      this.coresChart.Location = new System.Drawing.Point(186, 3);
     127      this.coresChart.Name = "coresChart";
    91128      series6.ChartArea = "ChartArea1";
     129      series6.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Pie;
    92130      series6.Legend = "Legend1";
    93131      series6.Name = "Series1";
    94       series7.ChartArea = "ChartArea1";
    95       series7.Legend = "Legend1";
    96       series7.Name = "Series2";
    97       series8.ChartArea = "ChartArea1";
    98       series8.Legend = "Legend1";
    99       series8.Name = "Series3";
    100       series9.ChartArea = "ChartArea1";
    101       series9.Legend = "Legend1";
    102       series9.Name = "Series4";
    103       this.jobChart.Series.Add(series6);
    104       this.jobChart.Series.Add(series7);
    105       this.jobChart.Series.Add(series8);
    106       this.jobChart.Series.Add(series9);
    107       this.jobChart.Size = new System.Drawing.Size(280, 156);
    108       this.jobChart.TabIndex = 7;
    109       //
    110       // coresChart
    111       //
    112       chartArea4.Name = "ChartArea1";
    113       this.coresChart.ChartAreas.Add(chartArea4);
    114       legend4.Name = "Legend1";
    115       this.coresChart.Legends.Add(legend4);
    116       this.coresChart.Location = new System.Drawing.Point(3, 165);
    117       this.coresChart.Name = "coresChart";
    118       series10.ChartArea = "ChartArea1";
    119       series10.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Pie;
    120       series10.Legend = "Legend1";
    121       series10.Name = "Series1";
    122       this.coresChart.Series.Add(series10);
    123       this.coresChart.Size = new System.Drawing.Size(277, 135);
     132      this.coresChart.Series.Add(series6);
     133      this.coresChart.Size = new System.Drawing.Size(229, 80);
    124134      this.coresChart.TabIndex = 9;
    125135      //
    126136      // btnStart
    127137      //
    128       this.btnStart.Location = new System.Drawing.Point(467, 111);
     138      this.btnStart.Image = ((System.Drawing.Image)(resources.GetObject("btnStart.Image")));
     139      this.btnStart.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     140      this.btnStart.Location = new System.Drawing.Point(10, 89);
    129141      this.btnStart.Name = "btnStart";
    130142      this.btnStart.Size = new System.Drawing.Size(75, 23);
     
    136148      // btnStop
    137149      //
    138       this.btnStop.Location = new System.Drawing.Point(467, 82);
     150      this.btnStop.Image = ((System.Drawing.Image)(resources.GetObject("btnStop.Image")));
     151      this.btnStop.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     152      this.btnStop.Location = new System.Drawing.Point(10, 60);
    139153      this.btnStop.Name = "btnStop";
    140154      this.btnStop.Size = new System.Drawing.Size(75, 23);
     
    146160      // btnKill
    147161      //
    148       this.btnKill.Location = new System.Drawing.Point(467, 53);
     162      this.btnKill.Location = new System.Drawing.Point(10, 31);
    149163      this.btnKill.Name = "btnKill";
    150164      this.btnKill.Size = new System.Drawing.Size(75, 23);
     
    156170      // lblSlaveState
    157171      //
    158       this.lblSlaveState.Location = new System.Drawing.Point(370, 3);
     172      this.lblSlaveState.Location = new System.Drawing.Point(75, 5);
    159173      this.lblSlaveState.Name = "lblSlaveState";
    160       this.lblSlaveState.Size = new System.Drawing.Size(100, 23);
     174      this.lblSlaveState.Size = new System.Drawing.Size(78, 13);
    161175      this.lblSlaveState.TabIndex = 13;
    162176      //
     
    164178      //
    165179      this.label1.AutoSize = true;
    166       this.label1.Location = new System.Drawing.Point(286, 3);
     180      this.label1.Location = new System.Drawing.Point(7, 5);
    167181      this.label1.Name = "label1";
    168182      this.label1.Size = new System.Drawing.Size(62, 13);
     
    182196      this.Controls.Add(this.jobChart);
    183197      this.Name = "SlaveView";
    184       this.Size = new System.Drawing.Size(590, 313);
     198      this.Size = new System.Drawing.Size(418, 313);
    185199      ((System.ComponentModel.ISupportInitialize)(this.jobChart)).EndInit();
    186200      ((System.ComponentModel.ISupportInitialize)(this.coresChart)).EndInit();
Note: See TracChangeset for help on using the changeset viewer.