static void Main(string[] args) { int[,] a = new int[3, 3] { { 1, 2, 3 }, { 4, 5, 6 }, { 7, 8, 9 } }; var matrixOperations = new MatrixOperations(); matrixOperations.RotateMatrix(a, 3, 3); }
private void mnuTranslate_Click(object sender, EventArgs e) { mxOperation = MatrixOperations.Translate; this.Invalidate(); }
private void mnuItemReset_Click(object sender, EventArgs e) { mxOperation = MatrixOperations.Reset; this.Invalidate(); }
private void mnuShear_Click(object sender, EventArgs e) { mxOperation = MatrixOperations.Shear; this.Invalidate(); }