private void miMove_Click(object sender, RoutedEventArgs e) { if (Window != null) { Window.Move(); } }
private void miMove_Click(object sender, RoutedEventArgs e) { _window?.Move(); }
private void MoveMenuItem_OnClick(object sender, RoutedEventArgs e) { Window?.Move(); }