public PostedFileRoomViewModel(ClientGuard client, string roomName, PostedFilesViewModel parent) : base(parent, false) { this._parent = parent; RoomName = roomName; PostedFiles = new ObservableCollection <PostedFileViewModel>(); }
public PostedFileRoomViewModel(ClientGuard client, string roomName, PostedFilesViewModel parent) : base(parent, false) { this.parent = parent; RoomName = roomName; PostedFiles = new ObservableCollection<PostedFileViewModel>(); }
private void OpenFilesDialog(object obj) { using (var viewModel = new PostedFilesViewModel(this)) { var dialog = new PostedFilesView(); dialog.DataContext = viewModel; dialog.ShowDialog(); } }