private void btnPaste_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { GoView view = GetCurrentGoView(); if (view != null && view.CanEditPaste()) { view.EditPaste(); } }