public LMECarryPositionDetail()
 {
     InitializeComponent();
     ModuleName = "LMEPositionSetting";
     VM = new LMECarryPositionDetailVM();
     BindData();
 }
 public LMECarryPositionDetail(int id, PageMode pageMode)
     : base(pageMode)
 {
     InitializeComponent();
     ModuleName = "LMEPositionSetting";
     VM = new LMECarryPositionDetailVM(id);
     BindData();
 }
 public LMECarryPositionDetail(LMECarryPositionDetailVM vm)
 {
     InitializeComponent();
     ModuleName = "LMEPositionSetting";
     if (vm == null)
         return;
     VM = vm;
     BindData();
 }