public OverlayVideoItemViewModel(OverlayVideoItemModel item)
     : this()
 {
     this.FilePath = item.FilePath;
     this.width    = item.Width;
     this.height   = item.Height;
     this.Volume   = item.Volume;
 }
示例#2
0
        public OverlayVideoItemControl(OverlayVideoItemModel item)
        {
            InitializeComponent();

            this.viewModel = new OverlayVideoItemViewModel(item);
        }