private void вставитьToolStripMenuItem_Click(object sender, EventArgs e) { var data = BufferClass.getInstance().currentCopyObject; if (data.GetType() == typeof(MatrixGrid)) { MatrixController <int> .Insert(this, (MatrixGrid)data); } }
private void копироватьToolStripMenuItem_Click(object sender, EventArgs e) { BufferClass.getInstance().currentCopyObject = this; }