public void StopStream() { if (state == CameraState.STREAMING) { state = CameraState.BUSY; } imageWindow.WriteToConsole("Streaming stopped"); }
private void StopButton_Click(object sender, EventArgs e) { IM.StopStream(); }