private void XDomain_Click(object sender, EventArgs e) { if (!Utils.HasSelection(XDomain)) { // XDomain.SelectAll(); } }