public void FunctionRun() { switch (function1) { case Function.Sqrt: Lop_Res = Lop_Res.Squared(); break; case Function.Rev: Lop_Res = Lop_Res.Inverse(); break; } switch (function2) { case Function.Sqrt: Rop = Rop.Squared(); break; case Function.Rev: Rop = Rop.Inverse(); break; } }