Beispiel #1
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;
 }
 public ShowIssueView(ShowIssueViewModel model)
 {
     InitializeComponent();
     DataContext = model;
 }