public string Clear()
        {
            try
            {
                MyLog4Net.Container.Instance.Log.DebugWithDebugView("BriefOCX Clear");

                //IVX.Live.Crowd.Framework.Container.Instance.LogOut();
                if (panelEx1.Controls.Count > 0)
                {
                    IVX.Live.MainForm.View.ucPlayBrief brief = panelEx1.Controls[0] as MainForm.View.ucPlayBrief;
                    if (brief != null)
                    {
                        brief.Clear();
                        this.panelEx1.Controls.Clear();
                    }
                }
                IVX.Live.MainForm.Framework.Environment.BriefPlayControler = null;
                ocx_BriefSdk_UnInit();
            }
            catch (SDKCallException ex)
            {
                MyLog4Net.Container.Instance.Log.DebugWithDebugView("BriefOCX Clear error:" + ex.ToString());

                m_isLogin = false;
                return(MakeRetMsg(LVErrorType.Err_Clear, "清理出错"));
            }

            MyLog4Net.Container.Instance.Log.DebugWithDebugView("BriefOCX Clear No_Error");
            return(MakeRetMsg(LVErrorType.No_Error, ""));
        }
 private void Form1_FormClosing(object sender, FormClosingEventArgs e)
 {
     IVX.Live.MainForm.View.ucPlayBrief brief = Controls[0] as View.ucPlayBrief;
     brief.Clear();
     ocx_BriefSdk_UnInit();
 }