Last change
on this file since 7366 was
4983,
checked in by jwolfing, 14 years ago
|
#1196 Added TestForm and modified the AuthenticationClientClass
|
File size:
691 bytes
|
Line | |
---|
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.Services.Authentication.ServiceClients;
|
---|
10 |
|
---|
11 | namespace HeuristicLab.Services.Authentication.TestClient2 {
|
---|
12 | public partial class Form1 : Form {
|
---|
13 |
|
---|
14 | ICollection<Application> apps;
|
---|
15 | public Form1() {
|
---|
16 | InitializeComponent();
|
---|
17 | }
|
---|
18 |
|
---|
19 | private void Form1_Load(object sender, EventArgs e) {
|
---|
20 |
|
---|
21 |
|
---|
22 | apps = (ICollection<Application>)AuthenticationClient.Instance.Applications.ToList<Application>();
|
---|
23 | cbx_Applications.DataSource = apps;
|
---|
24 |
|
---|
25 | }
|
---|
26 | }
|
---|
27 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.