/// <summary>
 /// 页面加载事件
 /// </summary>
 /// <param name="sender">事件源</param>
 /// <param name="e">事件参数</param>
 private void Page_Loaded(object sender, RoutedEventArgs e)
 {
     if (!string.IsNullOrEmpty(moldNR))
     {
         ConditionServiceClient conditionclient = new ConditionServiceClient();
         if (!conditionclient.MoldExist(moldNR))
         {
             MessageBox.Show("此磨具不存在");
             return;
         }
         MoldPartInfoServiceClient client          = new MoldPartInfoServiceClient();
         MoldDynamicInfo           moldDynamicInfo = client.GetMoldDynamicInfoByMoldNR(moldNR);
         MoldDynamicInfoGrid.DataContext = moldDynamicInfo;
     }
 }
        /// <summary>
        /// 页面加载事件
        /// </summary>
        /// <param name="sender">事件源</param>
        /// <param name="e">事件参数</param>
        private void Page_Loaded(object sender, RoutedEventArgs e)
        {
            if (!string.IsNullOrEmpty(moldNR))
            {
                ConditionServiceClient conditionclient = new ConditionServiceClient();
                if (!conditionclient.MoldExist(moldNR))
                {
                    MessageBox.Show("此磨具不存在");
                    return;
                }
                MoldPartInfoServiceClient client = new MoldPartInfoServiceClient();
                MoldDynamicInfo moldDynamicInfo = client.GetMoldDynamicInfoByMoldNR(moldNR);
                MoldDynamicInfoGrid.DataContext = moldDynamicInfo;

            }
        }