Exemplo n.º 1
0
        private void Hyperlink_ProductNumber_Click(object sender, RoutedEventArgs e)
        {
            var lnk = sender as FrameworkElement;

            if (null != lnk)
            {
                CurrentWindow.Navigate(string.Format(ConstValue.IM_ProductMaintainUrlFormat, lnk.Tag.ToString()), null, true);
            }
        }
Exemplo n.º 2
0
        private void hplRegisterSysNo_Click_1(object sender, RoutedEventArgs e)
        {
            //TODO:链接至相应单据维护页面:
            HyperlinkButton btn = sender as HyperlinkButton;

            if (null != btn)
            {
                CurrentWindow.Navigate(String.Format(ConstValue.RMA_RegisterMaintainUrl, btn.CommandParameter), null, true);
            }
        }
 private void Hyperlink_RMANumber_Click(object sender, RoutedEventArgs e)
 {
     if (currentRefund.OrderType == RefundOrderType.RO)
     {
         //跳转到RMA退款单维护页面
         //CurrentWindow.Navigate(ConstValue.RMA_RefundMaintainUrl, currentRefund.RMANumber, true);
         CurrentWindow.Navigate(string.Format(ConstValue.RMA_RefundMaintainUrl, currentRefund.RMANumber), null, true);
     }
     else if (currentRefund.OrderType != RefundOrderType.RO_Balance)
     {
         //跳转到订单维护页面
         CurrentWindow.Navigate(string.Format(ConstValue.SOMaintainUrlFormat, currentRefund.RMANumber), null, true);
         //CurrentWindow.Navigate(ConstValue.SOMaintainUrlFormat, currentRefund.RMANumber, true);
     }
 }
 private void Hyperlink_SOSysNo_Click(object sender, RoutedEventArgs e)
 {
     //跳转到订单维护页面
     CurrentWindow.Navigate(string.Format(ConstValue.SOMaintainUrlFormat, currentRefund.SOSysNo), null, true);
     //CurrentWindow.Navigate(ConstValue.SOMaintainUrlFormat, currentRefund.SOSysNo, true);
 }