Added a little beginning to the table.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user