コード例 #1
0
        private void StopRecording_Click(object sender, RoutedEventArgs e)
        {
            int ret = 0;

            try
            {
                ret = ETDevice.iV_StopRecording();
                if (ret == 1)
                {
                    logger4.Text = "iV_StopRecording: successfully";
                }
                if (ret != 1)
                {
                    logger4.Text = "iV_StopRecording failed: " + ret;
                }
            }
            catch (System.Exception exc)
            {
                logger4.Text = "iV_StopRecording Exception: " + exc.Message;
            }
        }
コード例 #2
0
        private void stoprecording_Click(object sender, EventArgs e)
        {
            int ret = 0;

            try
            {
                ret = ETDevice.iV_StopRecording();
                if (ret == 1)
                {
                    logger.Text = "iV_StopRecording: recording stopped";
                }
                if (ret != 1)
                {
                    logger.Text = "iV_StopRecording: failed to stop recording: " + ret;
                }
            }
            catch (System.Exception exc)
            {
                logger.Text = "iV_StopRecording Exception: " + exc.Message;
            }
        }