Пример #1
0
        private void kopiujToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ExtraCellTable ect = activeDocument.extraCellTable;

            try
            {
                Clipboard.SetDataObject(ect.GetClipboardContent().GetData(DataFormats.Text));
            }
            catch (Exception) { }
        }
Пример #2
0
        private void wytnijToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ExtraCellTable ect = activeDocument.extraCellTable;

            try
            {
                Clipboard.SetDataObject(ect.GetClipboardContent().GetData(DataFormats.Text));
                foreach (DataGridViewCell cell in ect.SelectedCells)
                {
                    cell.Value = "";
                }
            }
            catch (Exception) { }
        }