private void toolStripSeparator3_Click(object sender, EventArgs e) { var form = new LayersManagementForm(); form.Map = mapPanel1.Map; form.ShowDialog(); }