Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/18/10 10:59:25 (14 years ago)
Author:
mkommend
Message:

registered on additional event ActiveContentChanged in !WinFormsUI to fire ActiveViewChanged (ticket #843)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm.Test/3.2/Actions/NewEditorAction.cs

    r2458 r2636  
    77namespace HeuristicLab.MainForm.Test {
    88  public static class NewEditorAction{
    9     private static IView view;
     9
    1010    public static void Execute(IMainForm mainform) {
    11       if (view == null)
    12         view = new EditorView();
    13       view.Caption = "Editor View";
     11      EditorView view = new EditorView();
     12      view.Caption = "Editor View " + mainform.Views.Count();
    1413      mainform.ShowView(view);
    1514    }
Note: See TracChangeset for help on using the changeset viewer.