xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 308KB
    文件類(lèi)型: .rar
    金幣: 2
    下載: 1 次
    發(fā)布日期: 2021-07-26
  • 語(yǔ)言: C#
  • 標(biāo)簽: TCP/IP??C#??server??

資源簡(jiǎn)介

C#源碼,基于TCP/IP 的通信server和client的簡(jiǎn)單實(shí)例 ,基于winform,適合新手下載學(xué)習(xí)體會(huì),親測(cè)可用。 平臺(tái)vs2013

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Threading.Tasks;
using?System.Windows.Forms;
using?System.IO;
using?System.Media;
namespace?_01復(fù)習(xí)
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????}
????????//用來(lái)存儲(chǔ)音樂(lè)文件的全路徑
????????List?listSongs?=?new?List();
????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????????OpenFileDialog?ofd?=?new?OpenFileDialog();
????????????ofd.title?=?“請(qǐng)選擇音樂(lè)文件“;
????????????ofd.InitialDirectory?=?@“C:\Users\SpringRain\Desktop\Music“;
????????????ofd.Multiselect?=?true;
????????????ofd.Filter?=?“音樂(lè)文件|*.wav|所有文件|*.*“;
????????????ofd.ShowDialog();
????????????//獲得我們?cè)谖募A中選擇所有文件的全路徑
????????????string[]?path?=?ofd.FileNames;
????????????for?(int?i?=?0;?i?????????????{
????????????????//將音樂(lè)文件的文件名加載到ListBox中
????????????????listBox1.Items.Add(Path.GetFileName(path[i]));
????????????????//將音樂(lè)文件的全路徑存儲(chǔ)到泛型集合中
????????????????listSongs.Add(path[i]);
????????????}
????????}


????????///?
????????///?實(shí)現(xiàn)雙擊播放
????????///?

????????///?
????????///?
????????///?
????????SoundPlayer?sp?=?new?SoundPlayer();
????????private?void?listBox1_DoubleClick(object?sender?EventArgs?e)
????????{
???????????
????????????sp.SoundLocation=listSongs[listBox1.SelectedIndex];
????????????sp.Play();
????????}
????????///?
????????///?點(diǎn)擊下一曲
????????///?

????????///?
????????///?
????????private?void?button3_Click(object?sender?EventArgs?e)
????????{
????????????//獲得當(dāng)前選中歌曲的索引
????????????int?index?=?listBox1.SelectedIndex;
????????????index++;
????????????if?(index?==?listBox1.Items.Count)
????????????{
????????????????index?=?0;
????????????}
????????????//將改變后的索引重新的賦值給我當(dāng)前選中項(xiàng)的索引
????????????listBox1.SelectedIndex?=?index;
????????????sp.SoundLocation?=?listSongs[index];
????????????sp.Play();
????????}


????????///?
????????///?點(diǎn)擊上一曲
????????///?

????????///?
????????///?
????????private?void?button2_Click(object?sender?EventArgs?e)
????????{
????????????int?index?=?listBox1.SelectedIndex;
????????????index--;
????????????if?(index?????????????{
????????????????index?=?listBox1.Items.Count-1;
????????????}
????????????//將重新改變后的索引重新的賦值給當(dāng)前選中項(xiàng)
????????????listBox1.SelectedIndex?=?index;
????????????sp.SoundLocation?=?listSongs[index];
????????????sp.Play();
????????}
????}
}

?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----

?????文件???????3797??2014-05-26?09:03??0505.Net基礎(chǔ)\01復(fù)習(xí)\01復(fù)習(xí).csproj

?????文件????????187??2014-05-26?09:00??0505.Net基礎(chǔ)\01復(fù)習(xí)\App.config

?????文件??????10240??2014-05-26?09:39??0505.Net基礎(chǔ)\01復(fù)習(xí)\bin\Debug\01復(fù)習(xí).exe

?????文件????????187??2014-05-26?09:00??0505.Net基礎(chǔ)\01復(fù)習(xí)\bin\Debug\01復(fù)習(xí).exe.config

?????文件??????26112??2014-05-26?09:39??0505.Net基礎(chǔ)\01復(fù)習(xí)\bin\Debug\01復(fù)習(xí).pdb

?????文件??????24224??2017-08-11?20:02??0505.Net基礎(chǔ)\01復(fù)習(xí)\bin\Debug\01復(fù)習(xí).vshost.exe

?????文件????????187??2014-05-26?09:00??0505.Net基礎(chǔ)\01復(fù)習(xí)\bin\Debug\01復(fù)習(xí).vshost.exe.config

?????文件????????490??2017-03-19?05:00??0505.Net基礎(chǔ)\01復(fù)習(xí)\bin\Debug\01復(fù)習(xí).vshost.exe.manifest

?????文件???????3076??2014-05-26?09:36??0505.Net基礎(chǔ)\01復(fù)習(xí)\Form1.cs

?????文件???????3922??2014-05-26?09:35??0505.Net基礎(chǔ)\01復(fù)習(xí)\Form1.Designer.cs

?????文件???????5817??2014-05-26?09:35??0505.Net基礎(chǔ)\01復(fù)習(xí)\Form1.resx

?????文件???????2428??2017-08-11?20:03??0505.Net基礎(chǔ)\01復(fù)習(xí)\obj\Debug\01復(fù)習(xí).csproj.FileListAbsolute.txt

?????文件????????977??2014-05-26?09:36??0505.Net基礎(chǔ)\01復(fù)習(xí)\obj\Debug\01復(fù)習(xí).csproj.GenerateResource.Cache

?????文件???????2211??2014-05-26?09:03??0505.Net基礎(chǔ)\01復(fù)習(xí)\obj\Debug\01復(fù)習(xí).csprojResolveAssemblyReference.cache

?????文件??????10240??2014-05-26?09:39??0505.Net基礎(chǔ)\01復(fù)習(xí)\obj\Debug\01復(fù)習(xí).exe

?????文件??????26112??2014-05-26?09:39??0505.Net基礎(chǔ)\01復(fù)習(xí)\obj\Debug\01復(fù)習(xí).pdb

?????文件????????865??2014-05-26?09:00??0505.Net基礎(chǔ)\01復(fù)習(xí)\obj\Debug\DesignTimeResolveAssemblyReferences.cache

?????文件???????8047??2017-08-11?20:02??0505.Net基礎(chǔ)\01復(fù)習(xí)\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

?????文件??????????0??2014-05-26?09:00??0505.Net基礎(chǔ)\01復(fù)習(xí)\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

?????文件??????????0??2014-05-26?09:00??0505.Net基礎(chǔ)\01復(fù)習(xí)\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

?????文件??????????0??2014-05-26?09:00??0505.Net基礎(chǔ)\01復(fù)習(xí)\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

?????文件????????180??2014-05-26?09:36??0505.Net基礎(chǔ)\01復(fù)習(xí)\obj\Debug\_01復(fù)習(xí).Form1.resources

?????文件????????180??2014-05-26?09:03??0505.Net基礎(chǔ)\01復(fù)習(xí)\obj\Debug\_01復(fù)習(xí).Properties.Resources.resources

?????文件????????521??2014-05-26?09:00??0505.Net基礎(chǔ)\01復(fù)習(xí)\Program.cs

?????文件???????1340??2014-05-26?09:00??0505.Net基礎(chǔ)\01復(fù)習(xí)\Properties\AssemblyInfo.cs

?????文件???????2870??2014-05-26?09:00??0505.Net基礎(chǔ)\01復(fù)習(xí)\Properties\Resources.Designer.cs

?????文件???????5612??2014-05-26?09:00??0505.Net基礎(chǔ)\01復(fù)習(xí)\Properties\Resources.resx

?????文件???????1096??2014-05-26?09:00??0505.Net基礎(chǔ)\01復(fù)習(xí)\Properties\Settings.Designer.cs

?????文件????????249??2014-05-26?09:00??0505.Net基礎(chǔ)\01復(fù)習(xí)\Properties\Settings.settings

?????文件???????2595??2014-05-26?09:37??0505.Net基礎(chǔ)\02線(xiàn)程和進(jìn)程的復(fù)習(xí)\02線(xiàn)程和進(jìn)程的復(fù)習(xí).csproj

............此處省略205個(gè)文件信息

評(píng)論

共有 條評(píng)論