Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FilterViewModel" /> class.
 /// </summary>
 /// <param name="parent">The parent.</param>
 public FilterViewModel(object parent)
     : base(parent)
 {
     Types = new ObservableCollection<TypeViewModel>();
     Statuses = new ObservableCollection<StatusViewModel>();
     Priorities = new ObservableCollection<PriorityViewModel>();
     _issuesViewModel = parent as IssuesViewModel;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MainViewModel" /> class.
 /// </summary>
 /// <param name="board">The board.</param>
 public MainViewModel(Board board)
 {
     _board = board;
     Dashboard = new DashboardViewModel(this, board);
     Issues = new IssuesViewModel(this, board);
     Configuration = new ConfigurationViewModel(this, board);
     CreateIssue = new CreateIssueViewModel(this, board);
     EditIssue = new EditIssueViewModel(this, board);
     ShowIssue = new ShowIssueViewModel(this, board);
     _current = Dashboard;
     _backPage = Dashboard;
     _current.IsNavigated = true;
 }
Ejemplo n.º 3
0
 public IssuesView(IssuesViewModel model)
 {
     InitializeComponent();
     DataContext = model;
 }