public Monitor() { Control.CheckForIllegalCrossThreadCalls = false; InitializeComponent(); paint = new MapArea() { Dock = DockStyle.Fill }; splitContainer1.Panel1.Controls.Add(paint); }