Added bracket support
This commit is contained in:
parent
a7ef4b0af7
commit
a9be1638c3
8 changed files with 164 additions and 72 deletions
9
Form1.cs
9
Form1.cs
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue