private void NewStopOrderClick(object sender, RoutedEventArgs e)
        {
            var security = (Security)SecuritiesDetails.SelectedValue;

            var newOrder = new NewStopOrderWindow
            {
                Title    = "Новая заявка на '{0}'".Put(security.Code),
                Security = security,
            };

            newOrder.ShowModal(this);
        }
Beispiel #2
0
        private void ExecConditionOrderClick(object sender, RoutedEventArgs e)
        {
            var order = SelectedOrder;

            var newOrder = new NewStopOrderWindow
            {
                Title          = "Новая условная заявка на исполнение заявки '{0}'".Put(order.Id),
                ConditionOrder = order,
            };

            newOrder.ShowModal(this);
        }