Hi... I'm trying to develop an application in C# VS 2005 using Giaule SDK (free edition).
and it seems i do some thing wrong....
if i run the converted C# sample from SDK it works... but when i run my application with almost same code then events are fired... :(
here's my code.
(assuming I have the ontrol on my form and the Util class)
private void Form1_Load(object sender, EventArgs e)
{
MyUtil = new Util();
if(MyUtil.InitializeGrFinger(axGrFingerXCtrl) != GrFingerXLib.GRConstants.GR_OK)
{
MessageBox.Show("Error initializing control");
}
}
private void axGrFingerXCtrl_SensorPlug(object sender, _IGrFingerXCtrlEvents_SensorPlugEvent e)
{
MessageBox.Show("Sensor Plugged");
axGrFingerXCtrl.CapStartCapture(e.idSensor);
}
private void axGrFingerXCtrl_SensorUnplug(object sender, _IGrFingerXCtrlEvents_SensorUnplugEvent e)
{
MessageBox.Show("Sensor Unplugged");
axGrFingerXCtrl.CapStopCapture(e.idSensor);
}
private void axGrFingerXCtrl_FingerDown(object sender, _IGrFingerXCtrlEvents_FingerDownEvent e)
{
MessageBox.Show("Finger Down");
}
private void axGrFingerXCtrl_FingerUp(object sender, _IGrFingerXCtrlEvents_FingerUpEvent e)
{
MessageBox.Show("Finger Up");
}