91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 41.7MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-07-17
  • 語言: C#
  • 標簽: c#??VLC??winform??

資源簡介

這里我把VLC視頻調(diào)用組件給弄成了一個可以調(diào)用的功能窗體,只需要調(diào)用里面一個參數(shù)就能實現(xiàn)播放視頻,實例里面有如何將此視頻播放器嵌入到另一個窗體的代碼,代碼里面也有詳細備注功能用途,外觀本人也沒有太多時間去琢磨,播放器界面功能包含:視頻總長展示,視頻當前播放進度,視頻當前音量,視頻當前播放進度調(diào)整功能,視頻當前播放音量調(diào)整功能,視頻暫停、停止、繼續(xù)播放、前進5秒、后退五秒幾個功能。如果覺得控件的外觀有需要修改的小伙伴也可以自行修改

資源截圖

代碼片段和文件信息


using?System;
using?System.Collections.Generic;
using?System.Diagnostics;
using?System.Drawing;
using?System.IO;
using?System.Linq;
using?System.Runtime.InteropServices;
using?System.Text;
using?System.Threading;
using?System.Threading.Tasks;
using?System.Windows.Forms;
//using?Spire.Doc;
using?static?視頻播放器.Model;

namespace?視頻播放器
{
????class?clsPubic
????{
???????
???????
???????
??????
????????///?
????????///?獲取時間戳
????????///?

????????///?
????????public?static?long?GetCurrentTimeUnix()
????????{
????????????TimeSpan?cha?=?(DateTime.Now?-?TimeZone.CurrentTimeZone.ToLocalTime(new?System.DateTime(1970?1?1)));
????????????long?t?=?(long)cha.TotalSeconds;
????????????return?t;
????????}
????????///?
????????///?將時間轉(zhuǎn)為秒
????????///?

????????///?
????????///?
????????public?static?int?TimeToSecond(DateTime?time)
????????{
????????????DateTime?dt?=?Convert.ToDateTime(time);
????????????return?(Convert.ToInt32(dt.Hour)?*?3600)?+?(Convert.ToInt32(dt.Minute)?*?60)?+?Convert.ToInt32(dt.Second);
????????}
????????///?

????????///?在指定的字符串列表CnStr中檢索符合拼音索引字符串

????????///?


????????///?漢字字符串

????????///?相對應的漢語拼音首字母串

????????public?static?string?GetSpellCode(string?CnStr)
????????{

????????????string?strTemp?=?““;

????????????int?iLen?=?CnStr.Length;

????????????int?i?=?0;

????????????for?(i?=?0;?i?<=?iLen?-?1;?i++)
????????????{

????????????????strTemp?+=?GetCharSpellCode(CnStr.Substring(i?1));

????????????}

????????????return?strTemp;

????????}

????????///?
????????///?得到一個漢字的拼音第一個字母,如果是一個英文字母則直接返回大寫字母
????????///?

????????///?單個漢字
????????///?單個大寫字母

????????private?static?string?GetCharSpellCode(string?CnChar)
????????{

????????????long?iCnChar;

????????????byte[]?ZW?=?System.Text.Encoding.Default.GetBytes(CnChar);

????????????//如果是字母,則直接返回

????????????if?(ZW.Length?==?1)
????????????{

????????????????return?CnChar.ToUpper();

????????????}

????????????else
????????????{

????????????????//?get?the?array?of?byte?from?the?single?char

????????????????int?i1?=?(short)(ZW[0]);

????????????????int?i2?=?(short)(ZW[1]);

????????????????iCnChar?=?i1?*?256?+?i2;

????????????}

????????????//?iCnChar?match?the?constant

????????????if?((iCnChar?>=?45217)?&&?(iCnChar?<=?45252))
????????????{

????????????????return?“A“;

????????????}

????????????else?if?((iCnChar?>=?45253)?&&?(iCnChar?<=?45760))
????????????{

????????????????return?“B“;

????????????}
????????????else?if?((iCnChar?>=?45761)?&&?(iCnChar?<=?46317))
????????????{

????????????????return?“C“;

????????????}
????????????else?if?((iCnChar?>=?46318)?&&?(iCnChar?<=?46825))
????????????{

????????????????return?“D“;


?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

????..A..H.?????51712??2019-03-01?16:12??視頻播放器\.vs\視頻播放器\v14\.suo

?????文件????????189??2019-03-01?15:53??視頻播放器\視頻播放器\App.config

?????文件????1325256??2019-01-10?16:55??視頻播放器\視頻播放器\bin\Debug\axvlc.dll

?????文件?????144832??2016-06-01?22:17??視頻播放器\視頻播放器\bin\Debug\libvlc.dll

?????文件????2632640??2016-06-01?22:19??視頻播放器\視頻播放器\bin\Debug\libvlccore.dll

?????文件?????114112??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libaccess_bd_plugin.dll

?????文件??????88512??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libaccess_mms_plugin.dll

?????文件?????122816??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libaccess_realrtsp_plugin.dll

?????文件??????22464??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libattachment_plugin.dll

?????文件?????773478??2016-06-01?22:14??視頻播放器\視頻播放器\bin\Debug\plugins\access\libbluray-j2se-0.9.3.jar

?????文件?????171968??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libcdda_plugin.dll

?????文件?????554944??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libdshow_plugin.dll

?????文件?????265152??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libdtv_plugin.dll

?????文件?????245184??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libdvdnav_plugin.dll

?????文件?????167360??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libdvdread_plugin.dll

?????文件??????55744??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libfilesystem_plugin.dll

?????文件??????98752??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libftp_plugin.dll

?????文件?????127936??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libhttp_plugin.dll

?????文件??????22976??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libidummy_plugin.dll

?????文件??????56768??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libimem_plugin.dll

?????文件????2231744??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\liblibbluray_plugin.dll

?????文件?????728512??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\liblive555_plugin.dll

?????文件??????52672??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\librar_plugin.dll

?????文件?????539072??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\librtp_plugin.dll

?????文件??????29632??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libscreen_plugin.dll

?????文件??????22464??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libsdp_plugin.dll

?????文件?????731584??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libsftp_plugin.dll

?????文件??????25536??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libshm_plugin.dll

?????文件??????49600??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libsmb_plugin.dll

?????文件??????22464??2016-06-01?22:18??視頻播放器\視頻播放器\bin\Debug\plugins\access\libtcp_plugin.dll

............此處省略371個文件信息

評論

共有 條評論