public void DelButton() { if (String.IsNullOrEmpty(Operator)) { FirstOperand.Del(); NotifyOfPropertyChange(() => Result); } else { SecondOperand.Del(); NotifyOfPropertyChange(() => Result); } }