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
|
Rev | Line | |
---|
[956] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.ComponentModel;
|
---|
| 4 | using System.Data;
|
---|
| 5 | using System.Drawing;
|
---|
| 6 | using System.Linq;
|
---|
| 7 | using System.Text;
|
---|
| 8 | using System.Windows.Forms;
|
---|
| 9 | using HeuristicLab.Hive.Contracts.Interfaces;
|
---|
| 10 | using HeuristicLab.Hive.Contracts.BusinessObjects;
|
---|
| 11 | using HeuristicLab.Hive.Contracts;
|
---|
| 12 |
|
---|
| 13 | namespace 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 =
|
---|
| 30 | ServiceLocator.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.