Example #1
0
        private void kopiujToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ExtraCellTable ect = activeDocument.extraCellTable;

            try
            {
                Clipboard.SetDataObject(ect.GetClipboardContent().GetData(DataFormats.Text));
            }
            catch (Exception) { }
        }
Example #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) { }
        }