private void btnTestBlack_Click(object sender, RoutedEventArgs e) { Screen screen = (Screen)cmbxScreenList.SelectedItem; Connector.Action102TestBlack(screen); }