private async void pi_edit_MouseUp(object sender, MouseButtonEventArgs e)
        {
            if (null == this.grid_data.SelectedItem)
            {
                return;
            }
            var data = this.grid_data.SelectedItem as AddCustomerInfoDTO;

            SAssert.MustTrue(null != data, string.Format("绑定数据异常!"));

            var dialog = new EditCustomerInfoPanel();

            dialog.Init(data);
            var result = await dialog.SmothShow();

            if (result)
            {
                var editInfo = dialog.EditInfo;
                if (null != editInfo)
                {
                    // 在Edit层已经校验过
                    //if(editInfo.CheckValid())
                    this.PostAsync("api/AddCustomerInfo", editInfo, new HttpResponseHandler(this.CommOpResponseCommHandler <BaseOpResult>));
                }
            }
        }
        private async void btn_add_Click(object sender, RoutedEventArgs e)
        {
            var dialog = new EditCustomerInfoPanel();
            var result = await dialog.SmothShow();

            if (result)
            {
                var editInfo = dialog.EditInfo;
                if (null != editInfo)
                {
                    // 在Edit层已经校验过
                    //if(editInfo.CheckValid())
                    this.PostAsync("api/AddCustomerInfo", editInfo, new HttpResponseHandler(this.CommOpResponseCommHandler <BaseOpResult>));
                }
            }
        }