示例#1
0
        private void copyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // copying the currently selected row in the currently selected ListView here:
            var grid = ActiveControl as DataGridView;

            WinFormsHelper.CopySelectedDataGridRowsToClipboard(grid);
        }