Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Optimizer/3.3/ToolBarItems/NewToolBarItem.cs @ 2708

Last change on this file since 2708 was 2708, checked in by swagner, 14 years ago

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

File size: 816 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Windows.Forms;
6using System.Drawing;
7using HeuristicLab.MainForm;
8using HeuristicLab.MainForm.WindowsForms;
9using HeuristicLab.Common.Resources;
10
11namespace HeuristicLab.Optimizer {
12  internal class NewToolBarItem : HeuristicLab.MainForm.WindowsForms.ToolBarItem, IOptimizerUserInterfaceItemProvider {
13    public override string Name {
14      get { return "New..."; }
15    }
16    public override string ToolTipText {
17      get { return "New Item (Ctrl + N)"; }
18    }
19    public override int Position {
20      get { return 10; }
21    }
22    public override Image Image {
23      get { return Resources.NewIcon; }
24    }
25
26    public override void Execute() {
27      FileManager.New();
28    }
29  }
30}
Note: See TracBrowser for help on using the repository browser.