Changeset 2696 for trunk/sources/HeuristicLab.MainForm.Test/3.2/ButtonItems
- Timestamp:
- 01/28/10 16:15:21 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.MainForm.Test/3.2/ButtonItems
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.Test/3.2/ButtonItems/NewEditorToolStripButtonItem.cs
r2458 r2696 6 6 7 7 namespace HeuristicLab.MainForm.Test { 8 public class NewEditorToolStripButtonItem : HeuristicLab.MainForm.WindowsForms.ToolBarItem Base, ITestUserInterfaceItemProvider {8 public class NewEditorToolStripButtonItem : HeuristicLab.MainForm.WindowsForms.ToolBarItem, ITestUserInterfaceItemProvider { 9 9 public override int Position { 10 10 get { return 12; } -
trunk/sources/HeuristicLab.MainForm.Test/3.2/ButtonItems/NewFormToolStripButtonItem.cs
r2458 r2696 6 6 7 7 namespace HeuristicLab.MainForm.Test { 8 public class NewFormToolStripButtonItem : HeuristicLab.MainForm.WindowsForms.ToolBarItem Base, ITestUserInterfaceItemProvider {8 public class NewFormToolStripButtonItem : HeuristicLab.MainForm.WindowsForms.ToolBarItem, ITestUserInterfaceItemProvider { 9 9 public override int Position { 10 10 get { return 11; } -
trunk/sources/HeuristicLab.MainForm.Test/3.2/ButtonItems/NewToolStripButtonItem.cs
r2458 r2696 6 6 7 7 namespace HeuristicLab.MainForm.Test { 8 public class NewToolStripButtonItem : HeuristicLab.MainForm.WindowsForms.ToolBarItem Base, ITestUserInterfaceItemProvider {8 public class NewToolStripButtonItem : HeuristicLab.MainForm.WindowsForms.ToolBarItem, ITestUserInterfaceItemProvider { 9 9 public override int Position { 10 10 get { return 10; } -
trunk/sources/HeuristicLab.MainForm.Test/3.2/ButtonItems/OpenToolStripButtonItem.cs
r2636 r2696 6 6 7 7 namespace HeuristicLab.MainForm.Test { 8 public class OpenToolStripButtonItem : HeuristicLab.MainForm.WindowsForms.ToolBarItemBase, ITestUserInterfaceItemProvider { 8 public class OpenToolStripButtonItem : HeuristicLab.MainForm.WindowsForms.ToolBarItem, ITestUserInterfaceItemProvider { 9 10 public OpenToolStripButtonItem() 11 : base() { 12 System.Console.Out.Write("test"); 13 } 9 14 public override int Position { 10 15 get { return 20; } … … 23 28 } 24 29 25 p ublic override voidActiveViewChanged(object sender, EventArgs e) {30 protected override void OnActiveViewChanged(object sender, EventArgs e) { 26 31 this.ToolStripItem.Enabled = !this.ToolStripItem.Enabled; 27 MainFormManager.MainForm.Title =28 MainFormManager.MainForm.ActiveView == null ? "null" : MainFormManager.MainForm.ActiveView.Caption;32 //MainFormManager.MainForm.Title = 33 // MainFormManager.MainForm.ActiveView == null ? "null" : MainFormManager.MainForm.ActiveView.Caption; 29 34 } 30 35 } -
trunk/sources/HeuristicLab.MainForm.Test/3.2/ButtonItems/SaveToolStripButtonItem.cs
r2458 r2696 6 6 7 7 namespace HeuristicLab.MainForm.Test { 8 public class SaveToolStripButtonItem : HeuristicLab.MainForm.WindowsForms.ToolBarItem Base, ITestUserInterfaceItemProvider {8 public class SaveToolStripButtonItem : HeuristicLab.MainForm.WindowsForms.ToolBarItem, ITestUserInterfaceItemProvider { 9 9 public override int Position { 10 10 get { return 30; } … … 23 23 } 24 24 25 p ublic override voidActiveViewChanged(object sender, EventArgs e) {25 protected override void OnActiveViewChanged(object sender, EventArgs e) { 26 26 IMainForm mainform = MainFormManager.MainForm; 27 27 if (mainform.ActiveView == null) … … 31 31 } 32 32 33 p ublic override voidViewChanged(object sender, EventArgs e) {33 protected override void OnViewChanged(object sender, EventArgs e) { 34 34 this.ToolStripItem.Enabled = !this.ToolStripItem.Enabled; 35 35 } -
trunk/sources/HeuristicLab.MainForm.Test/3.2/ButtonItems/SeparatorToolStripButtonItem.cs
r2514 r2696 6 6 7 7 namespace HeuristicLab.MainForm.Test { 8 public class SeparatorToolStripButtonItem : ToolBarSeparatorItem Base, ITestUserInterfaceItemProvider {8 public class SeparatorToolStripButtonItem : ToolBarSeparatorItem, ITestUserInterfaceItemProvider { 9 9 public override int Position { 10 10 get { return 15; }
Note: See TracChangeset
for help on using the changeset viewer.