【发布时间】:2016-09-14 03:18:49
【问题描述】:
private void check_boxes(ref int which_series_a, string wh_bx)
{
// ******************** Checks to see if box is checked **********************
if (wh_bx.Checked == true)
我尝试了this. 和this.Controls,但没有任何效果。
【问题讨论】:
-
wh_bx是控件的ID吗?有什么理由不能传递控件实例本身? -
在不知道
wh_bx包含哪些类型的值以及这些值与表单上的控件对象之间的关系的情况下,很难回答您的问题。
标签: c# string object reference