Exemplo n.º 1
0
        private void ShowViewClientOrderPage(YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder)
        {
            ViewClientOrderPage viewClientOrderPage = new ViewClientOrderPage(clientOrder);

            viewClientOrderPage.UseThisClientOrder += new ViewClientOrderPage.UseThisClientOrderEventHandler(ViewClientOrderPage_UseThisClientOrder);
            viewClientOrderPage.Back += new ViewClientOrderPage.BackEventHandler(ViewClientOrderPage_Back);
            this.m_PageNavigator.Navigate(viewClientOrderPage);
        }
 private void ButtonViewClientOrder_Click(object sender, RoutedEventArgs e)
 {
     if (this.ListViewClientOrders.SelectedItem != null)
     {
         YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder = (YellowstonePathology.Business.ClientOrder.Model.ClientOrder) this.ListViewClientOrders.SelectedItem;
         ViewClientOrderPage viewClientOrderPage = new ViewClientOrderPage(clientOrder);
         viewClientOrderPage.UseThisClientOrder += new ViewClientOrderPage.UseThisClientOrderEventHandler(ViewClientOrderPage_UseThisClientOrder);
         viewClientOrderPage.Back += new ViewClientOrderPage.BackEventHandler(ViewClientOrderPage_Back);
         this.m_PageNavigator.Navigate(viewClientOrderPage);
     }
     else
     {
         System.Windows.MessageBox.Show("You must select an order to view.");
     }
 }
 private void ButtonViewClientOrder_Click(object sender, RoutedEventArgs e)
 {
     if (this.ListViewClientOrders.SelectedItem != null)
     {
         YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder = (YellowstonePathology.Business.ClientOrder.Model.ClientOrder)this.ListViewClientOrders.SelectedItem;
         ViewClientOrderPage viewClientOrderPage = new ViewClientOrderPage(clientOrder);
         viewClientOrderPage.UseThisClientOrder += new ViewClientOrderPage.UseThisClientOrderEventHandler(ViewClientOrderPage_UseThisClientOrder);
         viewClientOrderPage.Back += new ViewClientOrderPage.BackEventHandler(ViewClientOrderPage_Back);
         this.m_PageNavigator.Navigate(viewClientOrderPage);
     }
     else
     {
         System.Windows.MessageBox.Show("You must select an order to view.");
     }
 }
Exemplo n.º 4
0
 private void ShowViewClientOrderPage(YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder)
 {
     ViewClientOrderPage viewClientOrderPage = new ViewClientOrderPage(clientOrder);
     viewClientOrderPage.UseThisClientOrder += new ViewClientOrderPage.UseThisClientOrderEventHandler(ViewClientOrderPage_UseThisClientOrder);
     viewClientOrderPage.Back += new ViewClientOrderPage.BackEventHandler(ViewClientOrderPage_Back);
     this.m_PageNavigator.Navigate(viewClientOrderPage);
 }