Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Optimizer/3.3/ToolBarItems/SaveAllToolBarItem.cs @ 2520

Last change on this file since 2520 was 2520, checked in by swagner, 14 years ago

Implemented first draft of MainForm support in HeuristicLab.Core/HeuristicLab.Core.Views and all other depending plugins (#770)

File size: 843 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Windows.Forms;
6using System.Drawing;
7using HeuristicLab.MainForm;
8using HeuristicLab.MainForm.WindowsForms;
9using HeuristicLab.Common.Resources;
10
11namespace HeuristicLab.Optimizer {
12  public class SaveAllToolBarItem : HeuristicLab.MainForm.WindowsForms.ToolBarItemBase, IOptimizerUserInterfaceItemProvider {
13    public override string Name {
14      get { return "Save All"; }
15    }
16
17    public override string ToolTipText {
18      get { return "Save All Files"; }
19    }
20
21    public override int Position {
22      get { return 40; }
23    }
24
25    public override Image Image {
26      get { return Resources.SaveAllIcon; }
27    }
28
29    public override void Execute() {
30      Actions.SaveAllAction.Execute();
31    }
32  }
33}
Note: See TracBrowser for help on using the repository browser.