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:
825 bytes
|
Line | |
---|
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 {
|
---|
12 | internal class OpenToolBarItem : HeuristicLab.MainForm.WindowsForms.ToolBarItemBase, IOptimizerUserInterfaceItemProvider {
|
---|
13 | public override string Name {
|
---|
14 | get { return "Open..."; }
|
---|
15 | }
|
---|
16 | public override string ToolTipText {
|
---|
17 | get { return "Open File (Ctrl + O)"; }
|
---|
18 | }
|
---|
19 | public override int Position {
|
---|
20 | get { return 20; }
|
---|
21 | }
|
---|
22 | public override Image Image {
|
---|
23 | get { return Resources.OpenIcon; }
|
---|
24 | }
|
---|
25 |
|
---|
26 | public override void Execute() {
|
---|
27 | FileManager.Open();
|
---|
28 | }
|
---|
29 | }
|
---|
30 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.