diff --git a/CHANGELOG.md b/CHANGELOG.md index 7559e4c..70650bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # Changelog +- 2022-06-02 **1.0.7** + - Support event ArrowKeyDown and ArrowKeyUp to move between items search and TreeView + - Support press key Esc from keyboard to close Form. - 2022-05-29 **1.0.6** - Add tab lisp function and support reload update lisp function - 2022-05-22 **1.0.5** diff --git a/CadAddinManager/View/FrmAddInManager.xaml b/CadAddinManager/View/FrmAddInManager.xaml index a985f72..e8e883f 100644 --- a/CadAddinManager/View/FrmAddInManager.xaml +++ b/CadAddinManager/View/FrmAddInManager.xaml @@ -13,6 +13,7 @@ MinHeight="400" d:DataContext="{d:DesignInstance viewModel:AddInManagerViewModel}" FocusManager.FocusedElement="{x:Reference tbxSearch}" + PreviewKeyDown="CloseFormEvent" Icon="../Resources/dev.ico" mc:Ignorable="d"> @@ -47,7 +48,8 @@ Grid.Row="0" Margin="5,0,5,0" VerticalAlignment="Center" - Text="{Binding SearchText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"> + Text="{Binding SearchText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" + PreviewKeyDown="HandleTextboxKeyPress"> FreshTreeItems(bool isSearchText, Addin return MainTrees; } - private void ExecuteAddinCommandClick() + public void ExecuteAddinCommandClick() { try { diff --git a/Installer/Installer.cs b/Installer/Installer.cs index 878462a..0463227 100644 --- a/Installer/Installer.cs +++ b/Installer/Installer.cs @@ -17,7 +17,7 @@ const string projectName = "CadAddinManager"; const string outputName = "CadAddinManager"; const string outputDir = "output"; -const string version = "1.0.6"; +const string version = "1.0.7"; var fileName = new StringBuilder().Append(outputName).Append("-").Append(version); var project = new Project { diff --git a/Readme.MD b/Readme.MD index 73f3376..2f49d54 100644 --- a/Readme.MD +++ b/Readme.MD @@ -37,7 +37,10 @@ Some feature include: - F1 - Go link open source report some error,bug or feature request. - Delete - Quick remove by use right click or use from keyboard. - Crt + MouseWheel - Zoom in/out by use mouse wheel in command plugin. - +- Arrow Up - Move from TreeView to search. +- Arrow Down - Move from search to TreeView. +- Esc - Quick Close Add-in Manager. +- Enter - Quick Run Execute a command selected in Add-in Manager. ## Add-In Manager ![](pic/AddinManager.gif)