Esempio n. 1
0
        public static string ShowWindowDialog(string origComment)
        {
            var cew = new CommentEditWindow();

            cew.txtComment.Text = cew.comment = origComment;
            cew.ShowDialog();
            return(cew.comment);
        }
Esempio n. 2
0
 private void btnComment_Click(object sender, RoutedEventArgs e)
 {
     txtComment.Text = rule.comment = CommentEditWindow.ShowWindowDialog(rule.comment);
 }