Beispiel #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     myConnection.PublishCommentPost(textBox2.Text, ChoosenPost);
     textBox2.Clear();
     ShowAllPost();
 }
Beispiel #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     myConnection.PublishCommentPost(textBox2.Text, SubjectPost);
     textBox2.Clear();
     refreshAllPost();
 }
Beispiel #3
0
 public void TestPublishCommentPost() //need to return true only to values
 {
     Assert.IsTrue(forum.PublishCommentPost("test1", makeTestPost(1)));
     Assert.IsFalse(forum.PublishCommentPost("test1", makeTestPost(2)));
     Assert.IsFalse(forum.PublishCommentPost("test2", makeTestPost(1)));
 }