Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Hive.Server.Console/AddNewForm.cs @ 968

Last change on this file since 968 was 956, checked in by aleitner, 16 years ago

Added new Form for Add Job or Add User - Tests with new interfaces in Server (#380)

File size: 906 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Data;
5using System.Drawing;
6using System.Linq;
7using System.Text;
8using System.Windows.Forms;
9using HeuristicLab.Hive.Contracts.Interfaces;
10using HeuristicLab.Hive.Contracts.BusinessObjects;
11using HeuristicLab.Hive.Contracts;
12
13namespace HeuristicLab.Hive.Server.Console {
14  public partial class AddNewForm : Form {
15
16    ResponseList<UserGroup> userGroups = null;
17
18    public AddNewForm(string addForm, bool group) {
19
20      InitializeComponent();
21      this.Name = "Add " + addForm;
22
23      lblOne.Text = addForm;
24
25      lblGroup.Text = addForm + " Groups";
26    }
27
28    private void addJob() {
29      IUserRoleManager userRoleManager =
30ServiceLocator.GetUserRoleManager();
31      userGroups = userRoleManager.GetAllUserGroups();
32
33    }
34
35    private void addUser() {
36
37    }
38  }
39}
Note: See TracBrowser for help on using the repository browser.