private void moreReady_Click(object sender, RoutedEventArgs e) { if (readyOrders.SelectedIndex < 0) { } else { MoreDetailsWindow moreDetailsWindow = new MoreDetailsWindow(ready[readyOrders.SelectedIndex]); moreDetailsWindow.Show(); } }
private void moreAccepted_Click(object sender, RoutedEventArgs e) { if (acceptedOrders.SelectedIndex < 0) { } else { MoreDetailsWindow moreDetailsWindow = new MoreDetailsWindow(accepted[acceptedOrders.SelectedIndex]); moreDetailsWindow.Show(); } }