Exemple #1
0
        public void OperationRun()
        {
            switch (operation)
            {
            case Operation.None:
                break;

            case Operation.Add:
                Lop_Res = Lop_Res.Sum(Rop);
                break;

            case Operation.Sub:
                Lop_Res = Lop_Res.Substract(Rop);
                break;

            case Operation.Mul:
                Lop_Res = Lop_Res.Multiply(Rop);
                break;

            case Operation.Dvd:
                Lop_Res = Lop_Res.Devide(Rop);
                break;
            }
        }