示例#1
0
        private void InitData()
        {
            Model = new AboutWindowModel();

            Model.Username = UserFunctions.GetFQDN();
            Model.AppBuild = AppFunctions.GetAppBuild();
        }
示例#2
0
        public AboutWindow()
        {
            InitializeComponent();

            var windowModel = new AboutWindowModel(this);

            this.AcceptButton.Command = windowModel.AcceptCommand;
        }
示例#3
0
 public AcceptCommand(AboutWindowModel aboutWindowModel) => windowModel = aboutWindowModel;