private void Form1_Load(object sender, EventArgs e) { #region Form1_Load switch (param[0]) { case "3": this.Text = "Captura: Pulgares"; label1.Text = "Pulgares faltantes:"; clbPulgar.Visible = true; clbDedo.Visible = false; break; case "4": this.Text = "Captura: dedos mano izquierda"; label1.Text = "Dedos faltantes:"; clbPulgar.Visible = false; clbDedo.Visible = true; break; case "5": this.Text = "Captura: dedos mano derecha"; label1.Text = "Dedos faltantes:"; clbPulgar.Visible = false; clbDedo.Visible = true; break; default: this.Text = "Captura"; break; } if (Init_SDK() == false) { return; } if (initDevice() == false) { return; } if (RealScanExtendSDK.RSE_InitSDK() != 0) { MessageBox.Show("Error al inicializar SDK (RSE_SDK.DLL) ", "Error"); return; } _selectedPrevMode = PrevMode.directDraw; SetPreview(); Take_Auto(); #endregion }
private void Form1_Load(object sender, EventArgs e) { #region Form1_Load //RSESDKInfo sdkInfo = new RSESDKInfo(); switch (param[0]) { case "3": this.Text = "Captura: Pulgares"; label1.Text = "Pulgares faltantes:"; clbPulgar.Visible = true; clbDedo.Visible = false; break; case "4": this.Text = "Captura: dedos mano izquierda"; label1.Text = "Dedos faltantes:"; clbPulgar.Visible = false; clbDedo.Visible = true; break; case "5": this.Text = "Captura: dedos mano derecha"; label1.Text = "Dedos faltantes:"; clbPulgar.Visible = false; clbDedo.Visible = true; break; default: this.Text = "Captura"; break; } if (Init_SDK() == false) { return; } if (initDevice() == false) { return; } //RealScanExtendSDK.RSE_InitSDK(); //m_result = RealScanExtendSDK.RS_GetSDKInfo(ref sdkInfo); //RealScanExtendSDK.RSE_CompressWSQ("C:\\TEMP\\HUELLA\\INTERNO_7.BMP", null, 0.75, "C:\\TEMP\\HUELLA\\INTERNO_7.WSQ"); _selectedPrevMode = PrevMode.directDraw; SetPreview(); Take_Auto(); #endregion }