Beispiel #1
0
        private void terminarGrabacion()
        {
            aviStream.Close();
            aviManager.Close();

            inicializado = false;
            grabando     = false;
            Console.WriteLine("SERVICIO TERMINADO");
        }
Beispiel #2
0
 private void button3_Click(object sender, EventArgs e)
 {
     i = 0;
     aviStream.Close();
     aviManager.Close();
     pictureBox1.Image = null;
     file            = null;
     button2.Enabled = false;
     button4.Enabled = false;
 }
Beispiel #3
0
 public void Dispose()
 {
     if (!isDisposed)
     {
         isDisposed = true;
         recordTimer.Dispose();
         stream.Close();
         aviManager.Close();
     }
 }