private void map_MouseUp(object sender, MouseEventArgs e) { mousedown = false; mousedragging = false; domainUpDown1_ValueChanged(null, null); }