Beispiel #1
0
        private string GetComment(string displayName)
        {
            var dialog = new CommentViewModel()
            {
                DisplayName = displayName,
            };

            if (dialog.ShowDialog() == true)
            {
                return(dialog.Comment);
            }
            return(null);
        }