perf: update left mouse double click

dev_deconstruction
DESKTOP-3BO4HSG\ksat 2 years ago
parent 56f98314cf
commit d8cda510a7

@ -5,6 +5,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="clr-namespace:STranslate.ViewModel"
mc:Ignorable="d"
Name="Mwin"
Background="Transparent"
WindowStartupLocation="CenterScreen"
MouseLeftButtonDown="Window_MouseLeftButtonDown"
@ -42,7 +43,8 @@
HorizontalAlignment="Right"
VerticalAlignment="Center"
Margin="0,0,100,0"
Command="{Binding ThemeConvertCmd}"/>
Command="{Binding ThemeConvertCmd}"
CommandParameter="{Binding ElementName=Mwin}"/>
<ComboBox Style="{DynamicResource cmbstyle}"
Margin="0,5,10,0"
ItemsSource="{Binding TranslationInterface}"

@ -216,7 +216,7 @@ namespace STranslate
/// <param name="e"></param>
private void NotifyIcon_MouseDoubleClick(object sender, System.Windows.Forms.MouseEventArgs e)
{
OpenMainWin_Click(null, null);
InputTranslateMenuItem_Click(null, null);
}
/// <summary>

Loading…
Cancel
Save