예제 #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;