public ConfigurationView(Controller controller) { InitializeComponent(); _controller = controller; Model = ConfigurationDependencyInjection.Resolve<IConfiguration>(); _credentialsView.Model = Model.Credentials; _sourceControlView.Model = Model.SourceControlConfig; _issuesTrackingView.Model = Model.IssuesTrackingConfig; _codeReviewView.Model = Model.CodeReviewConfig; }
public MainWindow() { InitializeComponent(); Controller = new Controller(this); }
public LoginView(Controller controller) { InitializeComponent(); Controller = controller; MainGrid.DataContext = new ConfigurationViewModel(); }