private void cmsLstFundCopyAll_Click(object sender, EventArgs e) { this.Cursor = Cursors.WaitCursor; ArrayList arrTemp = new ArrayList(); arrTemp.Add("TransFundID\tFund\tDept\tProject\tClass\tSalary\tCount"); arrTemp.AddRange(arrLstFunds); Clipboard.SetText(UtilityRighClick.dataToCopyPasteBufferAll(arrTemp)); this.Cursor = Cursors.Default; }
private void copyAllToolStripMenuItem_Click(object sender, EventArgs e) { this.Cursor = Cursors.WaitCursor; Clipboard.SetText(UtilityRighClick.dataToCopyPasteBufferAll(dbcPayroll.getDT())); this.Cursor = Cursors.Default; }