Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/25/15 18:21:19 (9 years ago)
Author:
dglaser
Message:

#2388: Merged trunk into HiveStatistics branch

Location:
branches/HiveStatistics/sources/HeuristicLab.Operators.Programmable.Views/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveStatistics/sources/HeuristicLab.Operators.Programmable.Views/3.3/ProgrammableOperatorView.Designer.cs

    r12012 r12515  
    5555      this.showCodeButton = new System.Windows.Forms.Button();
    5656      this.compileButton = new System.Windows.Forms.Button();
     57#if __MonoCS__
     58      this.codeEditor = new HeuristicLab.CodeEditor.SimpleCodeEditor();
     59#else
    5760      this.codeEditor = new HeuristicLab.CodeEditor.CodeEditor();
     61#endif
    5862      this.tabControl1 = new HeuristicLab.MainForm.WindowsForms.DragOverTabControl();
    5963      this.tabPage1 = new System.Windows.Forms.TabPage();
     
    324328    private HeuristicLab.Core.Views.ParameterCollectionView parameterCollectionView;
    325329    private System.Windows.Forms.SplitContainer splitContainer1;
    326     private HeuristicLab.CodeEditor.CodeEditor codeEditor;
     330    private HeuristicLab.CodeEditor.CodeEditorBase codeEditor;
    327331    private System.Windows.Forms.Button compileButton;
    328332    private System.Windows.Forms.Button showCodeButton;
  • branches/HiveStatistics/sources/HeuristicLab.Operators.Programmable.Views/3.3/ProgrammableOperatorView.cs

    r12012 r12515  
    131131    }
    132132    private void showCodeButton_Click(object sender, EventArgs e) {
     133#if __MonoCS__
     134      new TextDialog("CodeViewer", ProgrammableOperator.CompilationUnitCode, true).ShowDialog(this);
     135#else
    133136      new CodeViewer(ProgrammableOperator.CompilationUnitCode).ShowDialog(this);
     137#endif
    134138    }
    135139    private void codeEditor_Validated(object sender, EventArgs e) {
     
    199203      try {
    200204        ProgrammableOperator.Compile();
    201       } catch (Exception ex) {
     205      }
     206      catch (Exception ex) {
    202207        ErrorHandling.ShowErrorDialog(this, ex);
    203208      }
Note: See TracChangeset for help on using the changeset viewer.