public InitUi(InitModel model) { Logger.PageView("Init"); this.model = model; InitializeComponent(); DataContext = model; }
public GitFlowInitSection() { try { model = new InitModel(this); Title = "Recommended actions"; SectionContent = new InitUi(model); UpdateVisibleState(); } catch (Exception e) { MessageBox.Show(e.ToString()); } }