At this time user can input nth root only via button which is not quite intuitive. Implement keyboard shortcuts for quicker equation typing. In EquationInput add new property Dictionary<string><string> Shortcuts key for example will be ShiftN and value: ^ Then add new event PreviewKeyDown() which will be used to detect if user press shortcut. As next create public method InsertShortcut() which will require dictionary value or button's Uid Shortcuts will be loaded from file Shortcuts.csv on application startup. For this add new method in Main.csLoadShortcuts()
Story:
At this time user can input nth root only via button which is not quite intuitive. Implement keyboard shortcuts for quicker equation typing. In
EquationInput
add new propertyDictionary<string><string> Shortcuts
key for example will beShiftN
and value:^
Then add new eventPreviewKeyDown()
which will be used to detect if user press shortcut. As next create public methodInsertShortcut()
which will require dictionary value or button'sUid
Shortcuts will be loaded from fileShortcuts.csv
on application startup. For this add new method inMain.cs
LoadShortcuts()
To do: