Exemple #1
0
        void uc_DoubleClick(object sender, EventArgs e)
        {
            FormSingleFaceAlarmInfo faceSearchInfo = new FormSingleFaceAlarmInfo();

            faceSearchInfo.Init((FaceAlarmInfoV3_1)((ucSingleSearchResult)sender).Tag);
            faceSearchInfo.ShowDialog();
        }
 void p_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     WinFormAppUtil.Controls.PictureBoxEx pic = sender as WinFormAppUtil.Controls.PictureBoxEx;
     if (pic != null && pic.Tag is FaceAlarmInfoV3_1)
     {
         FormSingleFaceAlarmInfo f = new FormSingleFaceAlarmInfo();
         f.Init(pic.Tag as FaceAlarmInfoV3_1);
         f.ShowDialog();
     }
 }