예제 #1
0
 public void OpenImageFile(String fileName)
 {
     lblSource.Text = "Source: " + System.IO.Path.GetFileName(fileName);
     imageStream = new ImageStreamController(fileName, cmdDeinterlace.Checked);
     lblElapsedTime.Visible = false;
 }
예제 #2
0
        public void StopImageStream()
        {
            isStopped = true;

            cmdPause.Checked = false;
            if (renderTimer != null)
            {
                renderTimer.Stop();
            }

            if (imageStream != null)
            {
                imageStream.StopReading();
            }

            imageStream = null;
        }
예제 #3
0
 public void OpenImageCapture(int streamId)
 {
     imageStream = new ImageStreamController(streamId, cmdDeinterlace.Checked);
     lblSource.Text = "Source: Streaming";
     lblElapsedTime.Visible = true;
 }