Ejemplo n.º 1
0
        public void AddFlight()
        {
            AddFlightViewModel viewModel = new AddFlightViewModel(new CrudManager(), this);

            AddFlightPage addFlightPage = new AddFlightPage(viewModel);

            m_mainWindow.Navigate(addFlightPage);
        }
Ejemplo n.º 2
0
        public AddFlightPage(AddFlightViewModel viewModel)
        {
            DataContext = viewModel;

            InitializeComponent();
        }