private void kopiujToolStripMenuItem_Click(object sender, EventArgs e) { ExtraCellTable ect = activeDocument.extraCellTable; try { Clipboard.SetDataObject(ect.GetClipboardContent().GetData(DataFormats.Text)); } catch (Exception) { } }
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) { } }