Пример #1
0
        private void bookingBtn_Click(object sender, RibbonControlEventArgs e)
        {
            BookingPositionView view = new BookingPositionView();

            PositionBookingInfoVM vm = this.readPositionInfoFromExcel();

            view.ViewModel_ = vm;

            //view.ViewModel_. = InstPositionWapperVM_;

            Window w = new Window();

            w.Content = view;

            w.Visibility = 0;
        }
        private void bookingBtn_Click(object sender, RibbonControlEventArgs e)
        {
            BookingPositionView view = new BookingPositionView();

            PositionBookingInfoVM vm = this.readPositionInfoFromExcel();

            view.ViewModel_ = vm;

            //view.ViewModel_. = InstPositionWapperVM_;

            Window w = new Window();
            w.Content = view;

            w.Visibility = 0;
        }