// /////////////////////////////////////////////////////// // Constructor /// <summary> /// AppData Constructor /// </summary> public APPLICATION_DATA() { try { AppClosingNotifiers = new List <APP_CLOSING_ITEM>(); ThisComputerName = System.Net.Dns.GetHostEntry("LocalHost").HostName; RemoteServerLock = new object(); HealthStatistics = new HEALTH_STATISTICS(this); SerialNumberLock = new object(); globalFrameSerialNumber = 0; MoviePlayerParentPanel = new object[MAX_VIRTUAL_CHANNELS]; LPRServiceControl = new LPR_SERVICE_CONTROL(); LPRServiceControl.ConfigChangedServiceNeedsRestarting = false; } catch (Exception ex) { Console.WriteLine("Exception on APPLICATION_DATA Startup: ex : " + ex.Message); } }
// /////////////////////////////////////////////////////// // Constructor /// <summary> /// AppData Constructor /// </summary> public APPLICATION_DATA() { try { AppClosingNotifiers = new List<APP_CLOSING_ITEM>(); ThisComputerName = System.Net.Dns.GetHostEntry("LocalHost").HostName; RemoteServerLock = new object(); HealthStatistics = new HEALTH_STATISTICS(this); SerialNumberLock = new object(); globalFrameSerialNumber = 0; MoviePlayerParentPanel = new object[MAX_VIRTUAL_CHANNELS]; LPRServiceControl = new LPR_SERVICE_CONTROL(); LPRServiceControl.ConfigChangedServiceNeedsRestarting = false; } catch (Exception ex) { Console.WriteLine("Exception on APPLICATION_DATA Startup: ex : " + ex.Message); } }