private void DrawLine() { Graphics graphic = RightPanel.CreateGraphics(); graphic.Clear(RightPanel.BackColor); DrawLine(graphic); }