Esempio n. 1
0
        private void t_DebugPicture(object sender, DebugPictureEventArgs e)
        {
            debugPictures = e.Pictures;
            int index = 0;

            this.filterPictureBox.Click += delegate(object o, EventArgs clickE) {
                this.filterPictureBox.BeginInvoke(new MethodInvoker(delegate()
                {
                    if (index >= debugPictures.Count)
                    {
                        index = 0;
                    }
                    this.filterPictureBox.Image = debugPictures[index];
                    index++;
                }));
            };
            this.filterPictureBox.Image = debugPictures[index];
            index++;
        }
 private void tracker_DebugPicture(object sender, DebugPictureEventArgs e)
 {
     this.diffDebugPicture.Image = (Image)e.Pictures[0].Clone();
     this.blobDebugPicture.Image = (Image)e.Pictures[2].Clone();
 }