using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ErgometerApplication { public class PanelClientContainer:Panel { public PanelClientChat panelClientChat; public PanelGraphView panelGraphView; public PanelClientContainer() : base() { this.panelClientChat = new PanelClientChat(); this.panelGraphView = new PanelGraphView(); // // panelClientContainer // this.Controls.Add(this.panelGraphView); this.Controls.Add(this.panelClientChat); this.Dock = System.Windows.Forms.DockStyle.Fill; this.Location = new System.Drawing.Point(0, 0); this.Name = "panelClientContainer"; this.Size = new System.Drawing.Size(800, 600); this.TabIndex = 0; } } }