public Clinician_Login_Screen() { InitializeComponent(); AssemblyName assemName = Assembly.GetExecutingAssembly().GetName(); string version = assemName.Version.ToString(); string statusMsg = ""; #if(DEBUG) statusMsg = "Running in DEBUG Mode!\n"; #endif statusMsg = statusMsg + "StroMoHab Client Version : " + version + "\n"; if (TCPProcessor.ConnectedToServer) labelServer.Text = statusMsg + "Connected to the StroMoHab Server - IP Address : " + TCPProcessor.ServerIPAddress; else { labelServer.Text = statusMsg + "Not Connected to the StroMoHab Server!\nFunctionality will be severely limited!"; labelServer.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); } //login service if (TCPProcessor.ConnectedToServer) { _remote_Data_Manager = (Clinician_Remote_DateManager)Activator.GetObject(typeof(Clinician_Remote_DateManager), TCPProcessor.BuildServerRemotingString(8005, "ClinicianRemoteDataManagerConnection")); } }
public Clinician_Records_Screen() { InitializeComponent(); listViewClinicians.Groups.Add(listViewGroup_New); listViewClinicians.Groups.Add(listViewGroup_Special); listViewClinicians.Groups.Add(listViewGroup_Clinicians); if(TCPProcessor.ConnectedToServer) { _remote_DataManager = (Clinician_Remote_DateManager)Activator.GetObject(typeof(Clinician_Remote_DateManager), TCPProcessor.BuildServerRemotingString(8005, "ClinicianRemoteDataManagerConnection")); } }