コード例 #1
0
 public static void TraderEntitlementBack_Click(object e)
 {
     try
     {
         TraderEntitlementMenuVM.ClientMasterWindow_Click(e);
         TraderEntitlement     oTraderEntitlement     = System.Windows.Application.Current.Windows.OfType <TraderEntitlement>().FirstOrDefault();
         TraderEntitlementMenu oTraderEntitlementMenu = System.Windows.Application.Current.Windows.OfType <TraderEntitlementMenu>().FirstOrDefault();
         if (oTraderEntitlementMenu != null)
         {
             oTraderEntitlementMenu.Show();
             oTraderEntitlementMenu.Focus();
             oTraderEntitlement.Hide();
         }
         else
         {
             oTraderEntitlementMenu       = new TraderEntitlementMenu();
             oTraderEntitlementMenu.Owner = Application.Current.MainWindow;
             oTraderEntitlementMenu.Activate();
             oTraderEntitlementMenu.Show();
             oTraderEntitlement.Hide();
         }
     }
     catch (Exception)
     {
         throw;
     }
 }
コード例 #2
0
        private void TraderEntitlementNext_Click(object e)
        {
            try

            {
                TraderEntitlementMenuVM.ClientMasterWindow_Click(e);
            }
            catch (Exception)
            {
                throw;
            }
        }