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; } } }
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(); }
private void Button1_Click_1(object sender, EventArgs e) { FormOpener.OpenForm(new PostForHelpForm(localUser)); }
private void buttonUserReviews_Click(object sender, EventArgs e) { FormOpener.OpenForm(new ViewUserReviewsForm(localUser)); }
private void buttonTopicList_Click(object sender, EventArgs e) { FormOpener.OpenForm(new TopicListForm(localUser)); }
private void ButtonConversations_Click(object sender, EventArgs e) { FormOpener.OpenForm(new ConversationHistoryForm(localUser)); }
private void ButtonTopic_Click(object sender, EventArgs e) { FormOpener.OpenForm(new HelpRequestListForm(localUser)); }