Last change
on this file since 2668 was
2546,
checked in by swagner, 15 years ago
|
Continued work on Optimizer and on adapting all views to the new MainForm concept (#770)
|
File size:
820 bytes
|
Rev | Line | |
---|
[2520] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Linq;
|
---|
| 4 | using System.Text;
|
---|
| 5 | using System.Windows.Forms;
|
---|
| 6 | using System.Drawing;
|
---|
| 7 | using HeuristicLab.MainForm;
|
---|
| 8 | using HeuristicLab.MainForm.WindowsForms;
|
---|
| 9 | using HeuristicLab.Common.Resources;
|
---|
| 10 |
|
---|
| 11 | namespace HeuristicLab.Optimizer {
|
---|
[2546] | 12 | internal class NewToolBarItem : HeuristicLab.MainForm.WindowsForms.ToolBarItemBase, IOptimizerUserInterfaceItemProvider {
|
---|
[2520] | 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() {
|
---|
[2546] | 27 | FileManager.New();
|
---|
[2520] | 28 | }
|
---|
| 29 | }
|
---|
| 30 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.