Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/10/09 10:11:28 (15 years ago)
Author:
mkommend
Message:

added ViewShown, ViewHidden and ViewClosed events in MainForm (ticket #771)

Location:
trunk/sources/HeuristicLab.MainForm/3.2
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm/3.2/HeuristicLab.MainForm-3.2.csproj

    r2514 r2548  
    8181  </ItemGroup>
    8282  <ItemGroup>
     83    <Compile Include="ViewShownEventArgs.cs" />
     84    <Compile Include="ViewEventArgs.cs" />
    8385    <Compile Include="ToolBarSeparatorItemBase.cs" />
    8486    <Compile Include="Interfaces\IToolBarSeparatorItem.cs" />
  • trunk/sources/HeuristicLab.MainForm/3.2/Interfaces/IMainForm.cs

    r2458 r2548  
    3131
    3232    IView ActiveView { get; }
     33    IEnumerable<IView> Views { get; }
     34
    3335    event EventHandler ActiveViewChanged;
    3436    event EventHandler Changed;
    35     IEnumerable<IView> Views { get; }
     37   
     38    event EventHandler<ViewEventArgs> ViewClosed;
     39    event EventHandler<ViewShownEventArgs> ViewShown;
     40    event EventHandler<ViewEventArgs> ViewHidden;
    3641
    3742    Type UserInterfaceItemType { get; }
    38     bool ShowView(IView view);  //return value indicates if a new form for the view is created
     43    void ShowView(IView view);
    3944    void HideView(IView view);
    4045    void CloseView(IView view);
Note: See TracChangeset for help on using the changeset viewer.