# HG changeset patch
# User StephaneLenclud
# Date 1434036075 -7200
# Node ID 4dff57d255c9bc8b70249ecb40706727f4e56292
# Parent 9e88c1a8cc1d92f472eafff59affc5f276e0fe6e
Moving ClientData class to its own file.
diff -r 9e88c1a8cc1d -r 4dff57d255c9 Server/ClientData.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Server/ClientData.cs Thu Jun 11 17:21:15 2015 +0200
@@ -0,0 +1,32 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+//
+using SharpDisplay;
+
+namespace SharpDisplayManager
+{
+ ///
+ /// A UI thread copy of a client relevant data.
+ /// Keeping this copy in the UI thread helps us deal with threading issues.
+ ///
+ public class ClientData
+ {
+ public ClientData(string aSessionId, ICallback aCallback)
+ {
+ SessionId = aSessionId;
+ Name = "";
+ Fields = new List();
+ Layout = new TableLayout(1, 2); //Default to one column and two rows
+ Callback = aCallback;
+ }
+
+ public string SessionId { get; set; }
+ public string Name { get; set; }
+ public List Fields { get; set; }
+ public TableLayout Layout { get; set; }
+ public ICallback Callback { get; set; }
+ }
+}
diff -r 9e88c1a8cc1d -r 4dff57d255c9 Server/MainForm.cs
--- a/Server/MainForm.cs Tue May 26 12:25:34 2015 +0200
+++ b/Server/MainForm.cs Thu Jun 11 17:21:15 2015 +0200
@@ -2012,7 +2012,6 @@
SysTrayHideShow();
}
}
-
}
///
@@ -2047,26 +2046,4 @@
}
}
}
-
- ///
- /// A UI thread copy of a client relevant data.
- /// Keeping this copy in the UI thread helps us deal with threading issues.
- ///
- public class ClientData
- {
- public ClientData(string aSessionId, ICallback aCallback)
- {
- SessionId = aSessionId;
- Name = "";
- Fields = new List();
- Layout = new TableLayout(1, 2); //Default to one column and two rows
- Callback = aCallback;
- }
-
- public string SessionId { get; set; }
- public string Name { get; set; }
- public List Fields { get; set; }
- public TableLayout Layout { get; set; }
- public ICallback Callback { get; set; }
- }
}
diff -r 9e88c1a8cc1d -r 4dff57d255c9 Server/SharpDisplayManager.csproj
--- a/Server/SharpDisplayManager.csproj Tue May 26 12:25:34 2015 +0200
+++ b/Server/SharpDisplayManager.csproj Thu Jun 11 17:21:15 2015 +0200
@@ -139,6 +139,7 @@
+
MainForm.cs