SessionWindow.Designer.cs 7.7 KB

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