Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5218 for trunk


Ignore:
Timestamp:
01/05/11 08:30:51 (14 years ago)
Author:
epitzer
Message:

Add shortcut to tool tip and properly capitalize GUI messages (#1322)

Location:
trunk/sources
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CodeEditor/3.3/CodeEditor.cs

    r4068 r5218  
    245245      foreach (CompilerError error in compilerErrors) {
    246246        if (!error.FileName.EndsWith(filename)) {
    247           errorLabel.Text = "error in generated code";
     247          errorLabel.Text = "Error in generated code";
    248248          errorLabel.ToolTipText = string.Format("{0}{1}:{2} -> {3}",
    249249            errorLabel.ToolTipText != null ? (errorLabel.ToolTipText + "\n\n") : "",
  • trunk/sources/HeuristicLab.Operators.Programmable/3.3/ProgrammableOperatorView.Designer.cs

    r5042 r5218  
    201201      this.compileButton.TabIndex = 1;
    202202      this.compileButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
    203       this.toolTip.SetToolTip(this.compileButton, "Compile");
     203      this.toolTip.SetToolTip(this.compileButton, "Compile (F6)");
    204204      this.compileButton.UseVisualStyleBackColor = true;
    205205      this.compileButton.Click += new System.EventHandler(this.compileButton_Click);
     
    279279      this.compilationLabel.Size = new System.Drawing.Size(67, 13);
    280280      this.compilationLabel.TabIndex = 3;
    281       this.compilationLabel.Text = "not compiled";
     281      this.compilationLabel.Text = "Not compiled";
    282282      //
    283283      // ProgrammableOperatorView
  • trunk/sources/HeuristicLab.Operators.Programmable/3.3/ProgrammableOperatorView.cs

    r5214 r5218  
    104104        if (ProgrammableOperator.CompileErrors == null) {
    105105          compilationLabel.ForeColor = SystemColors.ControlDarkDark;
    106           compilationLabel.Text = "not compiled";
     106          compilationLabel.Text = "Not compiled";
    107107        } else if (ProgrammableOperator.CompileErrors.HasErrors) {
    108108          compilationLabel.ForeColor = Color.DarkRed;
    109           compilationLabel.Text = "compilation failed";
     109          compilationLabel.Text = "Compilation failed";
    110110        } else {
    111111          compilationLabel.ForeColor = Color.DarkGreen;
    112           compilationLabel.Text = "compilation successful";
     112          compilationLabel.Text = "Compilation successful";
    113113        }
    114114
Note: See TracChangeset for help on using the changeset viewer.