Remove ProgModeRadixChange unload (#641)

This commit is contained in:
Pepe Rivera
2019-09-04 14:20:58 -07:00
committed by GitHub
parent ae30322ab9
commit 6b8a83a2f9
7 changed files with 11 additions and 33 deletions

View File

@@ -1218,7 +1218,6 @@ void StandardCalculatorViewModel::ResetDisplay()
AreHEXButtonsEnabled = false;
CurrentRadixType = (int)RADIX_TYPE::DEC_RADIX;
m_standardCalculatorManager.SetRadix(DEC_RADIX);
ProgModeRadixChange();
}
void StandardCalculatorViewModel::SetPrecision(int32_t precision)
@@ -1236,7 +1235,6 @@ void StandardCalculatorViewModel::SwitchProgrammerModeBase(RADIX_TYPE radixType)
AreHEXButtonsEnabled = (radixType == RADIX_TYPE::HEX_RADIX);
CurrentRadixType = (int)radixType;
m_standardCalculatorManager.SetRadix(radixType);
ProgModeRadixChange();
}
void StandardCalculatorViewModel::SetMemorizedNumbersString()

View File

@@ -32,8 +32,6 @@ namespace CalculatorApp
#define ASCII_0 48
public
delegate void HideMemoryClickedHandler();
public
delegate void ProgModeRadixChangeHandler();
[Windows::UI::Xaml::Data::Bindable] public ref class StandardCalculatorViewModel sealed : public Windows::UI::Xaml::Data::INotifyPropertyChanged
{
@@ -90,7 +88,6 @@ namespace CalculatorApp
COMMAND_FOR_METHOD(MemorySubtract, StandardCalculatorViewModel::OnMemorySubtract);
event HideMemoryClickedHandler ^ HideMemoryClicked;
event ProgModeRadixChangeHandler ^ ProgModeRadixChange;
property bool IsShiftChecked
{