public DoctorApplication_Session(DoctorApplication_Connection connection)
 {
     InitializeComponent();
     this.connection   = connection;
     connected_clients = new List <string>();
     followed_sessions = new List <DoctorApplication_SessionClient>();
 }
 public DoctorApplication_ClientSession(DoctorApplication_Connection connection, String sessionID)
 {
     InitializeComponent();
     this.connection = connection;
     this.sessionID  = sessionID;
     this.Text       = sessionID;
 }
Esempio n. 3
0
 public DoctorApplication_SessionClient(DoctorApplication_Connection connection, String sessionID)
 {
     InitializeComponent();
     this.connection  = connection;
     this.sessionID   = sessionID;
     this.Text        = sessionID;
     sessionStarted   = false;
     Distancelbl.Text = "0.00";
     currentData      = new List <ErgometerData>();
 }
 public DoctorApplication_Session(DoctorApplication_Connection connection)
 {
     InitializeComponent();
     this.connection   = connection;
     connected_clients = new List <string>();
     followed_sessions = new List <DoctorApplication_SessionClient>();
     if (connection != null)
     {
         ConectedSessionsListCombo.Text = "";
         connection.getSessions();
     }
 }