private void miRestore_Click(object sender, RoutedEventArgs e) { if (Window != null) { Window.Restore(); } }
private void miRestore_Click(object sender, RoutedEventArgs e) { _window?.Restore(); }
private void RestoreMenuItem_OnClick(object sender, RoutedEventArgs e) { Window?.Restore(); }