Esempio n. 1
0
 public frmProductFeatures(Guid guid, bool isShowMode)
 {
     InitializeComponent();
     cls = FeatureBussines.Get(guid);
     grpAccount.Enabled = !isShowMode;
     btnFinish.Enabled  = !isShowMode;
 }
Esempio n. 2
0
 public static WebFeature Get(Guid guid)
 {
     try
     {
         var prd     = FeatureBussines.Get(guid);
         var mapList = Mappings.Default.Map <WebFeature>(prd);
         return(mapList);
     }
     catch (Exception ex)
     {
         WebErrorLog.ErrorInstence.StartErrorLog(ex);
         return(null);
     }
 }