Added bracket support

This commit is contained in:
RomanNiki 2024-04-08 14:11:43 +03:00
parent a7ef4b0af7
commit a9be1638c3
8 changed files with 164 additions and 72 deletions

View file

@ -221,5 +221,14 @@ namespace calculator
SingleOperatorPressed?.Invoke(Operation.Pi);
}
private void OnOpenBracketButtonClick(object? sender, EventArgs e)
{
OperatorPressed?.Invoke(Operation.OpenBracket);
}
private void OnCloseBracketButtonClick(object? sender, EventArgs e)
{
OperatorPressed?.Invoke(Operation.CloseBracket);
}
}
}