private string myPointValueHandler(object sender, GraphPane pane, CurveItem curve, int iPt) { PointPair pt = curve[iPt]; BIO.Framework.Core.Evaluation.Results.Result r = pt.Tag as BIO.Framework.Core.Evaluation.Results.Result; if (r != null) { return(r.getMatchingScore(this.getMethod()) + " " + r.TemplateRecord.BiometricID.PersonID + " x " + r.TestedRecord.BiometricID.PersonID); } return("???"); }
bool zgc_MouseDownEvent(ZedGraphControl sender, MouseEventArgs e) { GraphPane myPane = sender.GraphPane; CurveItem c; int index; if (myPane.FindNearestPoint(new PointF(e.X, e.Y), out c, out index)) { BIO.Framework.Core.Evaluation.Results.Result r = c[index].Tag as BIO.Framework.Core.Evaluation.Results.Result; if (r != null) { /* * TBS.Database.Forms.RecordMatchDetailForm form = new TBS.Database.Forms.RecordMatchDetailForm(r.TemplateRecord, r.CurrentRecord); * form.Size = new Size(1100, 670); * //TBS.Database.Forms.RecordDetailForm form = new TBS.Database.Forms.RecordDetailForm(r.CurrentRecord); * form.ShowDialog();*/ return(true); } } return(false); }