예제 #1
0
        void RejectButtonClick(object?sender, EventArgs e)
        {
            if (SelectedOrder is not Fix.Order order)
            {
                return;
            }

            _defaultsButton.PerformClick();
            _messageDefaults.RejectOrder(order);
        }
예제 #2
0
        void RejectButtonClick(object sender, EventArgs e)
        {
            Fix.Order order = SelectedOrder;

            if (order == null)
            {
                return;
            }

            _defaultsButton.PerformClick();
            _messageDefaults.RejectOrder(order);
        }