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 class NewFormAction : IAction{
|
---|
9 | #region IAction Members
|
---|
10 |
|
---|
11 | public void Execute(IMainForm mainform) {
|
---|
12 | mainform.StatusStripText = "New form called";
|
---|
13 | FormView x = new FormView();
|
---|
14 | x.Caption = "FormView";
|
---|
15 | mainform.ShowView(x);
|
---|
16 | }
|
---|
17 |
|
---|
18 | #endregion
|
---|
19 | }
|
---|
20 |
|
---|
21 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.