コード例 #1
0
        private async void m_PauseBtn_Click(object sender, RoutedEventArgs e)
        {
            if (mState == State.Started && mISession != null)
            {
                m_PauseBtn.IsEnabled = false;

                m_StopBtn.IsEnabled = true;

                await mISession.pauseSessionAsync();

                m_StartStopBtn.IsEnabled = true;

                mState = State.Paused;
            }
        }