Ejemplo n.º 1
0
 void ckBaoguang_CheckedChanged(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     DevExpress.XtraTab.XtraTabPage   page  = cJiaTabControl1.SelectedTabPage;
     AxCmCaptureOcxLib.AxCmCaptureOcx photo = (AxCmCaptureOcxLib.AxCmCaptureOcx)page.Controls.Find("axCmCaptureOcx1", true)[0];
     if (ckBaoguang.Checked)
     {
         photo.AutoExposure(1);
     }
     else
     {
         photo.AutoExposure(0);
     }
 }
Ejemplo n.º 2
0
 void btnQuZhaodian_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     DevExpress.XtraTab.XtraTabPage   page  = cJiaTabControl1.SelectedTabPage;
     AxCmCaptureOcxLib.AxCmCaptureOcx photo = (AxCmCaptureOcxLib.AxCmCaptureOcx)page.Controls.Find("axCmCaptureOcx1", true)[0];
     if (btnQuZhaodian.Checked)
     {
         photo.SetDenoise(1);
     }
     else
     {
         photo.SetDenoise(0);
     }
 }
Ejemplo n.º 3
0
 void ckZidong_EditValueChanged(object sender, EventArgs e)
 {
     DevExpress.XtraTab.XtraTabPage   page  = cJiaTabControl1.SelectedTabPage;
     AxCmCaptureOcxLib.AxCmCaptureOcx photo = (AxCmCaptureOcxLib.AxCmCaptureOcx)page.Controls.Find("axCmCaptureOcx1", true)[0];
     CJia.Controls.CJiaCheck          ck    = (CJia.Controls.CJiaCheck)page.Controls.Find("ckZiDong", true)[0];
     if (ckZidong.Checked)
     {
         photo.AutoCrop(1);
         ck.Checked = true;
     }
     else
     {
         photo.AutoCrop(0);
         ck.Checked = false;
     }
 }