public bool CanPaste() { //return this.scintillaControl1.CanPaste; try { return Clipboard.ContainsText(); } catch (ExternalException) { return false; } }