private void InitData() { Model = new AboutWindowModel(); Model.Username = UserFunctions.GetFQDN(); Model.AppBuild = AppFunctions.GetAppBuild(); }
public AboutWindow() { InitializeComponent(); var windowModel = new AboutWindowModel(this); this.AcceptButton.Command = windowModel.AcceptCommand; }
public AcceptCommand(AboutWindowModel aboutWindowModel) => windowModel = aboutWindowModel;