private void btnView_Click(object sender, EventArgs e) { if (lBxTOpic.SelectedItem == null) { return; } if (showTopicForm == null) { showTopicForm = new ShowTopic(lBxTOpic.SelectedItem.ToString(), this); } else { showTopicForm.Update(lBxTOpic.SelectedItem.ToString(), this); } this.Hide(); showTopicForm.Show(); }
private void btnBack_Click(object sender, EventArgs e) { showTopicForm.Show(); this.Hide(); }