Added a little beginning to the table.

This commit is contained in:
Aareschluchtje
2015-10-17 22:57:31 +02:00
parent a645f2fe05
commit a401fdc4c5
3 changed files with 25 additions and 1 deletions
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.AccessControl;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
@@ -9,9 +10,10 @@ namespace ErgometerDoctorApplication
{
public class ConActiveSessions : Panel
{
public DataGridView data;
public ConActiveSessions() : base()
{
this.data = new DataGridView();
this.labelActiveSessions = new System.Windows.Forms.Label();
//
// ConActiveSessions
@@ -58,6 +58,9 @@
<Compile Include="ChatItem.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="SessionTable.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="ClientThread.cs" />
<Compile Include="PanelClientChat.cs">
<SubType>Component</SubType>
@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ErgometerDoctorApplication
{
public class SessionTable : DataTable
{
public SessionTable() : base()
{
this.Columns.Clear();
this.Columns.Add("User", typeof (string));
this.Columns.Add("SessionId", typeof (string));
}
}
}