コード例 #1
0
 public ImageControlController(IMainWindow _mainWindowController)
 {
     ClsModel = new ImageControlModel(this);
     PclsImageControlModel.MainWindow = _mainWindowController;
     ClsViewModel        = new ImageControlViewModel(PclsImageControlModel);
     ClsUIObject         = new UIImageControl();
     _ImageStyleResource = new ImageStyleResource();
     PclsImageControlView.DataContext           = PclsImageControlViewModel;
     PclsImageControlViewModel.PropertyChanged += PclsImageControlViewModel_PropertyChanged;
 }
コード例 #2
0
 public ImageControlViewModel(ImageControlModel imageControlModel) : base(imageControlModel)
 {
     PclsImageControlModel.PropertyChanged += _clsImageControlModel_PropertyChanged;
     _blnScrollVisibilityOverride           = false;
 }