public RecManagerViewModel() { model = new RecManagerModel(); service = new RecManagerService(model); PopulateListData(); ListViewSizeChangedCommand = new ListViewSizeChanged(); ProcessStartCommand = new StartSystemProcess(); DeleteRecordingCommand = new DeleteRecording(this); RefreshCommand = new RefreshList(this); }
public VideoProcessViewModel() { Model = new VideoProcessModel(); Model.TodoList = new List<TodoListItem> { new TodoListItem("Combining video and audio"), new TodoListItem("Encoding .webm"), new TodoListItem("Generating GIF"), new TodoListItem("Uploading...") }; ProcessStartCommand = new StartSystemProcess(); }