private void PlayLocal()
 {
     if (currentChooseVideoUrl == null)
     {
         PanManager.ShowToast("您还没选择视频");
         return;
     }
     PanManager.OpenPanel <VideoPlayPanel>(PanelName.VideoPlayPanel, currentChooseVideoUrl);
     currentChooseItem.isOn = false;
     currentChooseVideoUrl  = null;
     PanManager.AllHidenWithout(PanelName.VideoPlayPanel);
 }
    private void PlayAllNet()
    {
        if (currentChooseVideoUrl == null)
        {
            PanManager.ShowToast("您还没选择视频");
            return;
        }
        AdminMessage msg = new AdminMessage();

        msg.Type                      = DataType.AdminEvent;
        msg.Data.Control              = ControlState.Play;
        msg.Data.Progress             = 0;
        msg.Data.Resource.Id          = currentChooseVideoId;
        msg.Data.Resource.Uri         = currentChooseVideoUrl;
        msg.Data.Resource.FileType.Id = currentChooseFileType;
        msg.Data.Resource.Md5         = currentChooseMd5;
        NetManager.SendMessage(Util.ObjectToJson(msg));
        PanManager.OpenPanel <VideoPlayPanel>(PanelName.VideoPlayPanel, currentChooseVideoUrl);
        currentChooseItem.isOn = false;
        currentChooseVideoUrl  = null;

        PanManager.AllHidenWithout(PanelName.VideoPlayPanel);
    }