private void OnExpoValueChange(object sender, EventArgs e) { if (!checkBox1.Checked) { if (toupcam_ != null) { uint n = (uint)trackBar1.Value; toupcam_.put_ExpoTime(n); label1.Text = (n / 1000).ToString() + " ms"; } } }