- Timestamp:
- 09/21/09 20:23:47 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CEDMA.Server/3.3/ServerView.cs
r2223 r2375 42 42 private Server server; 43 43 44 public ServerView(Server server) : base() { 44 public ServerView(Server server) 45 : base() { 45 46 this.server = server; 46 47 InitializeComponent(); … … 52 53 executerControl.Dock = DockStyle.Fill; 53 54 executerTabPage.Controls.Add(executerControl); 54 UserControl dispatcherControl = (UserControl) server.Dispatcher.CreateView();55 UserControl dispatcherControl = (UserControl)((IViewable)server.Dispatcher).CreateView(); 55 56 dispatcherControl.Dock = DockStyle.Fill; 56 57 dispatcherTabPage.Controls.Add(dispatcherControl); 57 UserControl problemControl = (UserControl)server.Problem.CreateView();58 UserControl problemControl = new ProblemView(server.Dataset); 58 59 problemControl.Dock = DockStyle.Fill; 59 60 problemPage.Controls.Add(problemControl); 60 connectButton.Enabled = false; 61 connectButton.Enabled = false; 61 62 } 62 63 }
Note: See TracChangeset
for help on using the changeset viewer.