Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.MainForm.Test/3.2/ButtonItems/OpenToolStripButtonItem.cs @ 2508

Last change on this file since 2508 was 2458, checked in by mkommend, 15 years ago

integrated branch MainForm refactoring into trunk (ticket #771)

File size: 658 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using HeuristicLab.MainForm.WindowsForms;
6
7namespace HeuristicLab.MainForm.Test {
8  public class OpenToolStripButtonItem : ToolBarItemBase, ITestUserInterfaceItemProvider {
9    public override int Position {
10      get { return 20; }
11    }
12
13    public override string Name {
14      get { return "Open"; }
15    }
16
17    public override System.Drawing.Image Image {
18      get { return HeuristicLab.Common.Resources.Resources.OpenIcon; }
19    }
20
21    public override void Execute() {
22      new OpenAction().Execute(MainFormManager.MainForm);
23    }
24  }
25}
Note: See TracBrowser for help on using the repository browser.