Free cookie consent management tool by TermsFeed Policy Generator

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

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

adapted MainForm to create DropDownButtons (ticket #716)

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