client/src/Iri.Modernisation.Controls/ViewModel/NavigationBar/ConsultVideoBookVM.cs
equal
deleted
inserted
replaced
|
1 using System; |
|
2 using System.Net; |
|
3 using System.Windows; |
|
4 using System.Windows.Controls; |
|
5 using System.Windows.Documents; |
|
6 using System.Windows.Ink; |
|
7 using System.Windows.Input; |
|
8 using System.Windows.Media; |
|
9 using System.Windows.Media.Animation; |
|
10 using System.Windows.Shapes; |
|
11 using Iri.Modernisation.Data.Models; |
|
12 using Iri.Modernisation.BaseMVVM.Commands; |
|
13 namespace Iri.Modernisation.Controls.ViewModel |
|
14 { |
|
15 public class ConsultVideoBookVM : BaseMVVM.ViewModel.ViewModel |
|
16 { |
|
17 private VideoBook _videoBook |
|
18 { |
|
19 get |
|
20 { |
|
21 return _videoBook; |
|
22 } |
|
23 set |
|
24 { |
|
25 _videoBook = value; |
|
26 OnPropertyChanged("VideoBook"); |
|
27 } |
|
28 } |
|
29 public VideoBook VideoBook { get; private set; } |
|
30 |
|
31 private String _downloadState { get; set; } |
|
32 |
|
33 public String DownloadState |
|
34 { |
|
35 get |
|
36 { |
|
37 return _downloadState; |
|
38 } |
|
39 set |
|
40 { |
|
41 _downloadState = value; |
|
42 OnPropertyChanged("DownloadState"); |
|
43 } |
|
44 } |
|
45 public ConsultVideoBookVM (VideoBook videoBook) |
|
46 { |
|
47 VideoBook = videoBook; |
|
48 DownloadState = Lang.LangResource.NotDownloadedLabel; |
|
49 InitializeCommands(); |
|
50 } |
|
51 private void InitializeCommands() |
|
52 { |
|
53 } |
|
54 } |
|
55 } |