private void menuSelectAll_Click(object sender, EventArgs e) { if (hSelectAll != null && hSelectAll.CanSelectAll) { hSelectAll.SelectAll(); } }
private void menuEditSelectAll_Click(object sender, EventArgs e) { ISelectAllHandler h = this.DockPanel.ActiveContent as ISelectAllHandler; if (h != null && h.CanSelectAll) { h.SelectAll(); } }