Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/18/13 10:24:33 (9 years ago)
Author:
jkarder
Message:

#2069:

  • fixed deserialization of the RobocodeProblem
  • added a BattleRunnerDialog that allows to configure some arguments of the battle runner
  • added functionality to save a Solution in a java file
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/SolutionCodeView.Designer.cs

    r9890 r9985  
    2626      this.programCode = new System.Windows.Forms.TextBox();
    2727      this.btnRunInRobocode = new System.Windows.Forms.Button();
     28      this.btnSave = new System.Windows.Forms.Button();
     29      this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
    2830      this.SuspendLayout();
    2931      //
     
    3941      this.programCode.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
    4042      this.programCode.Size = new System.Drawing.Size(345, 203);
    41       this.programCode.TabIndex = 3;
     43      this.programCode.TabIndex = 0;
    4244      //
    4345      // btnRunInRobocode
     
    4850      this.btnRunInRobocode.Name = "btnRunInRobocode";
    4951      this.btnRunInRobocode.Size = new System.Drawing.Size(101, 23);
    50       this.btnRunInRobocode.TabIndex = 4;
     52      this.btnRunInRobocode.TabIndex = 2;
    5153      this.btnRunInRobocode.Text = "Run in Robocode";
    5254      this.btnRunInRobocode.UseVisualStyleBackColor = true;
    5355      this.btnRunInRobocode.Click += new System.EventHandler(this.btnRunInRobocode_Click);
     56      //
     57      // btnSave
     58      //
     59      this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     60      this.btnSave.AutoSize = true;
     61      this.btnSave.Location = new System.Drawing.Point(166, 212);
     62      this.btnSave.Name = "btnSave";
     63      this.btnSave.Size = new System.Drawing.Size(75, 23);
     64      this.btnSave.TabIndex = 1;
     65      this.btnSave.Text = "Save...";
     66      this.btnSave.UseVisualStyleBackColor = true;
     67      this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     68      //
     69      // saveFileDialog
     70      //
     71      this.saveFileDialog.DefaultExt = "java";
     72      this.saveFileDialog.Filter = "Java |*java";
    5473      //
    5574      // SolutionCodeView
     
    5776      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    5877      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     78      this.Controls.Add(this.btnSave);
    5979      this.Controls.Add(this.btnRunInRobocode);
    6080      this.Controls.Add(this.programCode);
     
    7090    private System.Windows.Forms.TextBox programCode;
    7191    private System.Windows.Forms.Button btnRunInRobocode;
     92    private System.Windows.Forms.Button btnSave;
     93    private System.Windows.Forms.SaveFileDialog saveFileDialog;
    7294  }
    7395}
Note: See TracChangeset for help on using the changeset viewer.