partial void runTest(NSObject sender) { runButton.Enabled = false; matrixSizeStepper.Enabled = false; var t = new MatrixTestLib.TestClass (); t.MatrixSize = MatrixSize; t.RunTest (); resultLabel.Text = string.Format ("Size {0} ran in {1} seconds", t.MatrixSize, t.MatrixMultiplyTime.ToString ("n4")); matrixSizeStepper.Enabled = true; runButton.Enabled = true; }
partial void runTest(NSObject sender) { runButton.Enabled = false; matrixSizeStepper.Enabled = false; var t = new MatrixTestLib.TestClass(); t.MatrixSize = MatrixSize; t.RunTest(); resultLabel.Text = string.Format("Size {0} ran in {1} seconds", t.MatrixSize, t.MatrixMultiplyTime.ToString("n4")); matrixSizeStepper.Enabled = true; runButton.Enabled = true; }