public Wavechart() { InitializeComponent(); this.DoubleBuffered = true; this.bordersPen = new Pen(Color.Black); this.backgroundBrush = new SolidBrush(BackColor); }