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; } }
private void TraderEntitlementNext_Click(object e) { try { TraderEntitlementMenuVM.ClientMasterWindow_Click(e); } catch (Exception) { throw; } }