Free cookie consent management tool by TermsFeed Policy Generator

source: branches/Mainform refactoring/HeuristicLab.MainForm.Test/3.2/Actions/NewFormAction.cs @ 2437

Last change on this file since 2437 was 2437, checked in by mkommend, 14 years ago

implemented changes regarding detection of view types and default views as discussed with SWA (ticket #771)

File size: 401 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Windows.Forms;
6
7namespace HeuristicLab.MainForm.Test {
8  public class NewFormAction {
9    public void Execute(IMainForm mainform) {
10      MessageBox.Show("New form called");
11      FormView1 x = new FormView1();
12      x.Caption = "FormView";
13      mainform.ShowView(x);
14    }
15  }
16
17}
Note: See TracBrowser for help on using the repository browser.