Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.MainForm.Test/3.2/ButtonItems/NewToolStripButtonItem.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: 661 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
6namespace HeuristicLab.MainForm.Test {
7  public class NewToolStripButtonItem : ToolStripButtonItemBase, ITestUserInterfaceItemProvider {
8    public override int Position {
9      get { return 10; }
10    }
11
12    public override string Name {
13      get { return "New"; }
14    }
15
16    public override bool IsDropDownButton {
17      get { return true; }
18    }
19
20    public override System.Drawing.Image Image {
21      get { return HeuristicLab.Common.Resources.Resources.NewIcon; }
22    }
23
24    public override void Execute(IMainForm mainform) {
25    }
26  }
27}
Note: See TracBrowser for help on using the repository browser.