private void buttonRandom_Click(object sender, RoutedEventArgs e) { CheckWindow checkRandom = new CheckWindow(); checkRandom.ShowDialog(); }
} // OpenRequestWindow // открытие окна для отображения чека public void OpenCheckWindow(RepairOrder order) { CheckWindow window = new CheckWindow(order); window.ShowDialog(); } // OpenCheckWindow
private void buttonInOrder_Click(object sender, RoutedEventArgs e) { CheckWindow checkInOrder = new CheckWindow(); checkInOrder.ShowDialog(); }