Last change
on this file since 2515 was
2458,
checked in by mkommend, 15 years ago
|
integrated branch MainForm refactoring into trunk (ticket #771)
|
File size:
435 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Windows.Forms;
|
---|
6 |
|
---|
7 | namespace HeuristicLab.MainForm.Test {
|
---|
8 | public static class NewEditorAction{
|
---|
9 | private static IView view;
|
---|
10 | public static void Execute(IMainForm mainform) {
|
---|
11 | if (view == null)
|
---|
12 | view = new EditorView();
|
---|
13 | view.Caption = "Editor View";
|
---|
14 | mainform.ShowView(view);
|
---|
15 | }
|
---|
16 | }
|
---|
17 |
|
---|
18 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.