Example #1
0
        private void IRS_MenuItem_Click(object sender, RoutedEventArgs e)
        {
            VanillaIRS_TradeViewModel v_tvm = new VanillaIRS_TradeViewModel(this.HedgeTradingViewModel_);

            InstrumentDockingFrame frame = new InstrumentDockingFrame();

            frame.setTrade(v_tvm);

            this.dockingFrameGrid_.Children.Clear();
            this.dockingFrameGrid_.Children.Add(frame);

        }
Example #2
0
        private void Futures_Index_Kospi200_MenuItem_Click(object sender, RoutedEventArgs e)
        {
            KOSPI200Futures_TradeViewModel k_tvm = new KOSPI200Futures_TradeViewModel(this.HedgeTradingViewModel_);

            InstrumentDockingFrame frame = new InstrumentDockingFrame();

            frame.setTrade(k_tvm);

            this.dockingFrameGrid_.Children.Clear();
            this.dockingFrameGrid_.Children.Add(frame);

        }