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 | |
---|
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 | 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.