Inheritance: System.Windows.Forms.Form
Example #1
0
        private void btnComment_Click(object sender, EventArgs e)
        {
            var changeComment = new CommentForm(this.gablarski.CurrentUser.Comment);

            if (changeComment.ShowDialog() == DialogResult.OK)
            {
                this.gablarski.CurrentUser.SetComment(changeComment.Comment);
            }
        }
Example #2
0
		private void btnComment_Click (object sender, EventArgs e)
		{
			var changeComment = new CommentForm (this.gablarski.CurrentUser.Comment);
			if (changeComment.ShowDialog() == DialogResult.OK)
				this.gablarski.CurrentUser.SetComment (changeComment.Comment);
		}