Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
23450 | Jan 12,2005 07:20 PM UTC | Jan 13,2005 11:24 AM UTC | WinForms | 2 |
![]() |
Tags: GridControl |
bool inPaste = false; private void Model_ClipboardPaste(object sender, GridCutPasteEventArgs e) { if(this.inPaste) return; this.inPaste = true; try { if(this.gridDataBoundGrid1.CurrentCell.IsEditing) this.gridDataBoundGrid1.CurrentCell.EndEdit(); this.gridDataBoundGrid1.Model.CutPaste.Paste(); } catch { MessageBox.Show("Bad Paste"); } finally { e.Handled = true; this.inPaste = false; } }
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.