private void ToggleWox() { if (!MainWindowVisibility.IsVisible()) { MainWindowVisibility = Visibility.Visible; } else { MainWindowVisibility = Visibility.Collapsed; } }
private void ToggleWox() { if (!MainWindowVisibility.IsVisible()) { MainWindowVisibility = Visibility.Visible; OnTextBoxSelected(); } else { MainWindowVisibility = Visibility.Collapsed; } }