void ReportButtonClick(object?sender, EventArgs e) { if (SelectedOrder is not Fix.Order order) { return; } _defaultsButton.PerformClick(); _messageDefaults.ReportOrder(order); }
void ReportButtonClick(object sender, EventArgs e) { Fix.Order order = SelectedOrder; if (order == null) { return; } _defaultsButton.PerformClick(); _messageDefaults.ReportOrder(order); }