diff --git a/ErgometerDoctorApplication/ConActiveSessions.cs b/ErgometerDoctorApplication/ConActiveSessions.cs index d899ee4..9e29656 100644 --- a/ErgometerDoctorApplication/ConActiveSessions.cs +++ b/ErgometerDoctorApplication/ConActiveSessions.cs @@ -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 diff --git a/ErgometerDoctorApplication/ErgometerDoctorApplication.csproj b/ErgometerDoctorApplication/ErgometerDoctorApplication.csproj index db4e333..a5ca7c6 100644 --- a/ErgometerDoctorApplication/ErgometerDoctorApplication.csproj +++ b/ErgometerDoctorApplication/ErgometerDoctorApplication.csproj @@ -58,6 +58,9 @@ Component + + Component + Component diff --git a/ErgometerDoctorApplication/SessionTable.cs b/ErgometerDoctorApplication/SessionTable.cs new file mode 100644 index 0000000..5114b7f --- /dev/null +++ b/ErgometerDoctorApplication/SessionTable.cs @@ -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)); + } + } +}