public override void Copy() { if (MyTextBox.SelectionLength > 0) { MyTextBox.OnUserCopyCommand(); } else { base.Copy(); } }