PanelClientContainer.cs 951 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows.Forms;
  7. namespace ErgometerApplication
  8. {
  9. public class PanelClientContainer:Panel
  10. {
  11. public PanelClientChat panelClientChat;
  12. public PanelGraphView panelGraphView;
  13. public PanelClientContainer() : base()
  14. {
  15. this.panelClientChat = new PanelClientChat();
  16. this.panelGraphView = new PanelGraphView();
  17. //
  18. // panelClientContainer
  19. //
  20. this.Controls.Add(this.panelGraphView);
  21. this.Controls.Add(this.panelClientChat);
  22. this.Dock = System.Windows.Forms.DockStyle.Fill;
  23. this.Location = new System.Drawing.Point(0, 0);
  24. this.Name = "panelClientContainer";
  25. this.Size = new System.Drawing.Size(800, 600);
  26. this.TabIndex = 0;
  27. }
  28. }
  29. }