public MainForm()
        {
            InitializeComponent();

            MainPage                = new ViewOrderPage(this);
            ExitCommand             = new RelayCommand(Exit);
            OpenClientsTableCommand = new RelayCommand(OpenClientsTable);
            OpenOrdersTableCommand  = new RelayCommand(OpenOrdersTable);
            DataContext             = this;
        }
 private void OpenOrdersTable()
 {
     MainPage = new ViewOrderPage(this);
 }