Esempio n. 1
0
        private void btnCatetoryPropertyEdit_Click(object sender, RoutedEventArgs e)
        {
            //类别属性编辑
            CategoryPropertyMaintainDetail detail = new CategoryPropertyMaintainDetail();

            detail.Dialog = Window.ShowDialog(ECCentral.Portal.UI.IM.Resources.ResCategoryPropertyMaintainDetail.Dialog_EditCategoryProperty, detail, (s, args) =>
            {
                if (args.DialogResult == Newegg.Oversea.Silverlight.Controls.Components.DialogResultType.OK)
                {
                    //dgPropertyQueryResult.Bind();
                }
            }, new Size(450, 350));
        }
Esempio n. 2
0
        private void hyperlinkOperationEdit_Click(object sender, RoutedEventArgs e)
        {
            dynamic categoryProperty = this.dgCategoryPropertyQueryResult.SelectedItem as dynamic;
            int     sysNo            = Convert.ToInt32(categoryProperty.SysNo);
            //类别属性编辑
            CategoryPropertyMaintainDetail detail = new CategoryPropertyMaintainDetail();

            detail.SysNo  = sysNo;
            detail.Dialog = Window.ShowDialog(ECCentral.Portal.UI.IM.Resources.ResCategoryPropertyMaintainDetail.Dialog_EditCategoryProperty, detail, (s, args) =>
            {
                if (args.DialogResult == Newegg.Oversea.Silverlight.Controls.Components.DialogResultType.OK)
                {
                    dgCategoryPropertyQueryResult.Bind();
                }
            }, new Size(450, 350));
        }