iSpyApplication.AddCamera.button4_Click C# (CSharp) Method

button4_Click() private method

private button4_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void button4_Click(object sender, EventArgs e)
        {
            var cp = new ConfigureProcessor(CameraControl);
            if (cp.ShowDialog(this)== DialogResult.OK)
            {
                if (CameraControl.Camera != null && CameraControl.Camera.MotionDetector != null)
                {
                    CameraControl.SetDetector();
                }
            }
            cp.Dispose();
        }
AddCamera