예제 #1
0
 public frmSliderMain(Guid guid, bool isShowMode)
 {
     InitializeComponent();
     cls = SliderBussines.Get(guid);
     grpAccount.Enabled = !isShowMode;
     btnFinish.Enabled  = !isShowMode;
 }
예제 #2
0
 public static WebSlider Get(Guid guid)
 {
     try
     {
         var prd     = SliderBussines.Get(guid);
         var mapList = Mappings.Default.Map <WebSlider>(prd);
         return(mapList);
     }
     catch (Exception ex)
     {
         WebErrorLog.ErrorInstence.StartErrorLog(ex);
         return(null);
     }
 }