Пример #1
0
 private void miMove_Click(object sender, RoutedEventArgs e)
 {
     if (Window != null)
     {
         Window.Move();
     }
 }
Пример #2
0
 private void miMove_Click(object sender, RoutedEventArgs e)
 {
     _window?.Move();
 }
Пример #3
0
 private void MoveMenuItem_OnClick(object sender, RoutedEventArgs e)
 {
     Window?.Move();
 }