Ejemplo n.º 1
0
 private void TVQuestions_BeforeSelect(object sender, TreeViewCancelEventArgs e)
 {
     RTBText.Clear();
     CB1.Checked = CB2.Checked = CB3.Checked = CB4.Checked = false;
     RTB1.Clear();
     RTB2.Clear();
     RTB3.Clear();
     RTB4.Clear();
 }
Ejemplo n.º 2
0
 private void TVQuestions_BeforeSelect(object sender, TreeViewCancelEventArgs e)
 {
     RTBText.Clear();
     CB1.Checked = CB2.Checked = CB3.Checked = CB4.Checked = false;
     RTB1.Clear();
     RTB2.Clear();
     RTB3.Clear();
     RTB4.Clear();
     if (TVQuestions.SelectedNode != null)
     {
         TVQuestions.SelectedNode.BackColor = Color.Transparent;
         TVQuestions.SelectedNode.ForeColor = SystemColors.ControlText;
     }
 }