Пример #1
0
 private void cBox_ComparisonOperator_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (cBox_ComparisonOperator.SelectedItem != null && (cBox_ComparisonOperator.SelectedItem.ToString() == "介于" || cBox_ComparisonOperator.SelectedItem.ToString() == "未介于"))
     {
         Panel1.BringToFront();
         TextBox3.Text = "";
     }
     else
     {
         Panel2.BringToFront();
         TextBox1.Text = "";
         TextBox2.Text = "";
     }
 }