Пример #1
0
 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();
 }
Пример #2
0
 private void btnBack_Click(object sender, EventArgs e)
 {
     showTopicForm.Show();
     this.Hide();
 }