コード例 #1
0
        private void UpdataStatus(View.ucSinglePlayWnd wnd)
        {
            if (InvokeRequired)
            {
                this.Invoke(new Action <View.ucSinglePlayWnd>(UpdataStatus), wnd);
            }
            else
            {
                switch (wnd.VideoStatus)
                {
                case E_VDA_PLAY_STATUS.E_PLAY_STATUS_FINISH:
                case E_VDA_PLAY_STATUS.E_PLAY_STATUS_FAILED:
                    wnd.StopPlayBack();
                    break;

                default:
                    break;
                }
                labelX3.Text = wnd.VideoStatusString;
            }
        }
コード例 #2
0
 private void buttonX3_Click(object sender, EventArgs e)
 {
     currWnd.StopPlayBack();
 }