Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/28/10 21:28:07 (14 years ago)
Author:
swagner
Message:

Adapted HL 3.3 plugins according to changes in MainForm (#857)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/OperatorsSidebar.cs

    r2676 r2708  
    3131using HeuristicLab.MainForm.WindowsForms;
    3232
    33 namespace HeuristicLab.Core.Views { 
    34   public partial class OperatorsSidebar : ViewBase {
     33namespace HeuristicLab.Core.Views {
     34  public partial class OperatorsSidebar : HeuristicLab.MainForm.WindowsForms.View {
    3535    public OperatorsSidebar() {
    3636      InitializeComponent();
     
    4141    }
    4242
    43     public override void OnClosing(object sender, CancelEventArgs e) {
    44       base.OnClosing(sender, e);
     43    protected override void OnClosing(FormClosingEventArgs e) {
     44      base.OnClosing(e);
    4545      e.Cancel = true;
    46       MainFormManager.MainForm.HideView(this);
     46      this.Hide();
    4747    }
    4848  }
Note: See TracChangeset for help on using the changeset viewer.