示例#1
0
 private void buttonOpenTopicDescription_Click(object sender, EventArgs e)
 {
     foreach (Category category in categories)
     {
         if (category.Title.Equals(listViewTopics.SelectedItems[0].Text))
         {
             FormOpener.OpenForm(new TopicDescriptionForm(localUser, listViewTopics, categories, category));
             break;
         }
     }
 }
示例#2
0
 private void buttonAddTopic_click(object sender, EventArgs e)
 {
     if (string.IsNullOrEmpty(textBoxTopic.Text))
     {
         return;
     }
     FormOpener.OpenForm(new TopicDescriptionForm(localUser, listViewTopics, categories, new Category()
     {
         Title           = textBoxTopic.Text,
         CreatorUsername = localUser.Username
     }));
     textBoxTopic.Clear();
     ResizeColumnWidth();
 }
示例#3
0
 private void Button1_Click_1(object sender, EventArgs e)
 {
     FormOpener.OpenForm(new PostForHelpForm(localUser));
 }
示例#4
0
 private void buttonUserReviews_Click(object sender, EventArgs e)
 {
     FormOpener.OpenForm(new ViewUserReviewsForm(localUser));
 }
示例#5
0
 private void buttonTopicList_Click(object sender, EventArgs e)
 {
     FormOpener.OpenForm(new TopicListForm(localUser));
 }
示例#6
0
 private void ButtonConversations_Click(object sender, EventArgs e)
 {
     FormOpener.OpenForm(new ConversationHistoryForm(localUser));
 }
示例#7
0
 private void ButtonTopic_Click(object sender, EventArgs e)
 {
     FormOpener.OpenForm(new HelpRequestListForm(localUser));
 }