- Timestamp:
- 06/25/15 18:21:19 (9 years ago)
- 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 55 55 this.showCodeButton = new System.Windows.Forms.Button(); 56 56 this.compileButton = new System.Windows.Forms.Button(); 57 #if __MonoCS__ 58 this.codeEditor = new HeuristicLab.CodeEditor.SimpleCodeEditor(); 59 #else 57 60 this.codeEditor = new HeuristicLab.CodeEditor.CodeEditor(); 61 #endif 58 62 this.tabControl1 = new HeuristicLab.MainForm.WindowsForms.DragOverTabControl(); 59 63 this.tabPage1 = new System.Windows.Forms.TabPage(); … … 324 328 private HeuristicLab.Core.Views.ParameterCollectionView parameterCollectionView; 325 329 private System.Windows.Forms.SplitContainer splitContainer1; 326 private HeuristicLab.CodeEditor.CodeEditor codeEditor;330 private HeuristicLab.CodeEditor.CodeEditorBase codeEditor; 327 331 private System.Windows.Forms.Button compileButton; 328 332 private System.Windows.Forms.Button showCodeButton; -
branches/HiveStatistics/sources/HeuristicLab.Operators.Programmable.Views/3.3/ProgrammableOperatorView.cs
r12012 r12515 131 131 } 132 132 private void showCodeButton_Click(object sender, EventArgs e) { 133 #if __MonoCS__ 134 new TextDialog("CodeViewer", ProgrammableOperator.CompilationUnitCode, true).ShowDialog(this); 135 #else 133 136 new CodeViewer(ProgrammableOperator.CompilationUnitCode).ShowDialog(this); 137 #endif 134 138 } 135 139 private void codeEditor_Validated(object sender, EventArgs e) { … … 199 203 try { 200 204 ProgrammableOperator.Compile(); 201 } catch (Exception ex) { 205 } 206 catch (Exception ex) { 202 207 ErrorHandling.ShowErrorDialog(this, ex); 203 208 }
Note: See TracChangeset
for help on using the changeset viewer.