SessionWindow.Designer.cs 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. using ErgometerDoctorApplication.Client;
  2. using System;
  3. namespace ErgometerDoctorApplication
  4. {
  5. partial class SessionWindow
  6. {
  7. /// <summary>
  8. /// Required designer variable.
  9. /// </summary>
  10. private System.ComponentModel.IContainer components = null;
  11. /// <summary>
  12. /// Clean up any resources being used.
  13. /// </summary>
  14. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  15. protected override void Dispose(bool disposing)
  16. {
  17. if (disposing && (components != null))
  18. {
  19. components.Dispose();
  20. }
  21. base.Dispose(disposing);
  22. }
  23. #region Windows Form Designer generated code
  24. /// <summary>
  25. /// Required method for Designer support - do not modify
  26. /// the contents of this method with the code editor.
  27. /// </summary>
  28. private void InitializeComponent()
  29. {
  30. this.SuspendLayout();
  31. this.components = new System.ComponentModel.Container();
  32. this.panelClientContainer = new System.Windows.Forms.Panel();
  33. this.panelDataViewLeft = new System.Windows.Forms.Panel();
  34. this.panelClientSetData = new PanelClientSetData(Session);
  35. this.panelGraphView = new ErgometerDoctorApplication.PanelGraphView();
  36. this.panelClientChat = new ErgometerDoctorApplication.PanelClientChat(Session, ClientName);
  37. this.panelTopBar = new System.Windows.Forms.Panel();
  38. this.labelUsername = new System.Windows.Forms.Label();
  39. this.labelHallo = new System.Windows.Forms.Label();
  40. this.heartBeat = new PanelClientData("Hartslag", 50, 220);
  41. this.RPM = new PanelClientData("RPM", 0, 120);
  42. this.speed = new PanelClientData("Snelheid", 0, 50);
  43. this.distance = new PanelClientData("Afstand (km)", 0, 100);
  44. this.power = new PanelClientData("Weerstand", 25, 400);
  45. this.energy = new PanelClientData("Energie", 0, 200);
  46. this.actualpower = new PanelClientData("Absolute Weerstand", 0, 400);
  47. this.time = new PanelClientData("Tijd", 0, 400);
  48. this.panelClientContainer.SuspendLayout();
  49. this.panelTopBar.SuspendLayout();
  50. //
  51. // panelClientContainer
  52. //
  53. this.panelClientContainer.Controls.Add(this.panelGraphView);
  54. this.panelClientContainer.Controls.Add(this.panelDataViewLeft);
  55. this.panelClientContainer.Controls.Add(this.panelClientChat);
  56. this.panelClientContainer.Dock = System.Windows.Forms.DockStyle.Fill;
  57. this.panelClientContainer.Location = new System.Drawing.Point(0, 0);
  58. this.panelClientContainer.Name = "panelClientContainer";
  59. this.panelClientContainer.Size = new System.Drawing.Size(800, 600);
  60. this.panelClientContainer.TabIndex = 0;
  61. //
  62. // panelDataViewLeft
  63. //
  64. //this.panelDataViewLeft.Dock = System.Windows.Forms.DockStyle.Left;
  65. this.panelDataViewLeft.Location = new System.Drawing.Point(0, 0);
  66. this.panelDataViewLeft.Name = "panelDataViewLeft";
  67. this.panelDataViewLeft.Size = new System.Drawing.Size(18, 600);
  68. this.panelDataViewLeft.TabIndex = 3;
  69. this.panelDataViewLeft.BackColor = System.Drawing.Color.Gray;
  70. this.panelDataViewLeft.Controls.Add(panelClientSetData);
  71. this.panelDataViewLeft.Controls.Add(heartBeat);
  72. this.panelDataViewLeft.Controls.Add(RPM);
  73. this.panelDataViewLeft.Controls.Add(speed);
  74. this.panelDataViewLeft.Controls.Add(distance);
  75. this.panelDataViewLeft.Controls.Add(power);
  76. this.panelDataViewLeft.Controls.Add(energy);
  77. this.panelDataViewLeft.Controls.Add(actualpower);
  78. this.panelDataViewLeft.Controls.Add(time);
  79. //
  80. // panelClientChat
  81. //
  82. this.panelClientChat.BackColor = System.Drawing.SystemColors.ButtonHighlight;
  83. this.panelClientChat.Dock = System.Windows.Forms.DockStyle.Right;
  84. this.panelClientChat.Location = new System.Drawing.Point(400, 0);
  85. this.panelClientChat.Name = "panelClientChat";
  86. this.panelClientChat.Size = new System.Drawing.Size(400, 600);
  87. this.panelClientChat.TabIndex = 2;
  88. //
  89. // panelTopBar
  90. //
  91. this.panelTopBar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
  92. this.panelTopBar.Controls.Add(this.labelUsername);
  93. this.panelTopBar.Controls.Add(this.labelHallo);
  94. this.panelTopBar.Dock = System.Windows.Forms.DockStyle.Top;
  95. this.panelTopBar.Location = new System.Drawing.Point(0, 0);
  96. this.panelTopBar.Name = "panelTopBar";
  97. this.panelTopBar.Size = new System.Drawing.Size(800, 30);
  98. this.panelTopBar.TabIndex = 1;
  99. this.panelTopBar.Visible = false;
  100. //
  101. // labelUsername
  102. //
  103. this.labelUsername.AutoSize = true;
  104. this.labelUsername.Font = new System.Drawing.Font("Segoe UI Semilight", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  105. this.labelUsername.ForeColor = System.Drawing.Color.White;
  106. this.labelUsername.Location = new System.Drawing.Point(49, 3);
  107. this.labelUsername.Name = "labelUsername";
  108. this.labelUsername.Size = new System.Drawing.Size(144, 21);
  109. this.labelUsername.TabIndex = 0;
  110. this.labelUsername.Text = "<Gebruikersnaam>";
  111. //
  112. // labelHallo
  113. //
  114. this.labelHallo.AutoSize = true;
  115. this.labelHallo.Font = new System.Drawing.Font("Segoe UI Semilight", 12F);
  116. this.labelHallo.ForeColor = System.Drawing.Color.White;
  117. this.labelHallo.Location = new System.Drawing.Point(3, 3);
  118. this.labelHallo.Name = "labelHallo";
  119. this.labelHallo.Size = new System.Drawing.Size(54, 21);
  120. this.labelHallo.TabIndex = 0;
  121. this.labelHallo.Text = "Hallo, ";
  122. //
  123. // SessionWindow
  124. //
  125. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  126. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  127. this.ClientSize = new System.Drawing.Size(800, 600);
  128. this.Controls.Add(this.panelTopBar);
  129. this.Controls.Add(this.panelClientContainer);
  130. this.Name = "SessionWindow";
  131. this.Text = "Sessie: " + ClientName;
  132. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  133. this.Resize += new System.EventHandler(this.ClientApplicatie_Resize);
  134. this.panelClientContainer.ResumeLayout(false);
  135. this.panelTopBar.ResumeLayout(false);
  136. this.panelTopBar.PerformLayout();
  137. this.ResumeLayout(false);
  138. }
  139. #endregion
  140. private System.Windows.Forms.Panel panelClientContainer;
  141. public PanelClientChat panelClientChat;
  142. public PanelGraphView panelGraphView;
  143. private System.Windows.Forms.Panel panelDataViewLeft;
  144. private System.Windows.Forms.Panel panelTopBar;
  145. private System.Windows.Forms.Label labelUsername;
  146. private System.Windows.Forms.Label labelHallo;
  147. public PanelClientData heartBeat, RPM, speed, distance, power, energy, seconds, actualpower, time;
  148. public PanelClientSetData panelClientSetData;
  149. private void createTitle()
  150. {
  151. if (ActiveSession)
  152. {
  153. this.Text = "Actieve Sessie: " + ClientName;
  154. }
  155. else
  156. {
  157. this.Text = "Afgelopen Sessie: " + ClientName;
  158. }
  159. }
  160. }
  161. }