コード例 #1
0
        public CalculatorViewModel()
        {
            this.calculation = new CalculatorModel();
            this.result = "0";
            this.FirstOperand = string.Empty;
            this.SecondOperand = string.Empty;
            this.Operation = string.Empty;

            calculateCommand = new CalculateCommand(this);
        }
コード例 #2
0
        public CalculatorViewModel()
        {
            this.calculation   = new CalculatorModel();
            this.result        = "0";
            this.FirstOperand  = string.Empty;
            this.SecondOperand = string.Empty;
            this.Operation     = string.Empty;

            calculateCommand = new CalculateCommand(this);
        }