-
大小: 1.32MB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2023-10-25
- 語言: C#
- 標(biāo)簽: 網(wǎng)絡(luò)編程??
資源簡介
C#網(wǎng)絡(luò)編程高級(jí)篇之網(wǎng)頁游戲輔助程序設(shè)計(jì)代碼包
比較實(shí)用的代碼集合

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Text;
namespace?AsyCallEx112
{
????class?Program
????{????????
????????public?delegate?int?sum(int?a?int?b);//定義一個(gè)執(zhí)行加法的委托
????????
????????public?class?number
????????{
????????????public?int?m?=?4;????????????
????????????public?int?numberAdd(int?a?int?b)??//定義一個(gè)實(shí)現(xiàn)此委托簽名的方法
????????????{
????????????????int?c?=?a?+?b;
????????????????return?c;
????????????}
????????????//定義一個(gè)與.net?framework定義的AsyncCallback委托相對(duì)應(yīng)的回調(diào)方法
????????????public?void?CallbackMethod2(IAsyncResult?ar2)
????????????{
????????????????sum?s?=?(sum)ar2.AsyncState;
????????????????int?number?=?s.EndInvoke(ar2);
????????????????m?=?number;
????????????}
????????}
????????static?void?Main(string[]?args)
????????{
????????????number?num?=?new?number();
????????????sum?numberadd?=?new?sum(num.numberAdd);
????????????AsyncCallback?numberback?=?new?AsyncCallback(num.CallbackMethod2);
????????????numberadd.BeginInvoke(55?33?numberback?numberadd);
????????????Console.WriteLine(“The?sum?is:“);
????????????Console.WriteLine(num.m);
????????????Console.ReadLine();
????????}
????}
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????5612??2012-05-24?11:34??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx110\ThreadEx110\Properties\Resources.resx
?????文件????????249??2012-05-24?11:34??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx110\ThreadEx110\Properties\Settings.settings
?????文件???????1378??2012-05-24?11:34??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx110\ThreadEx110\Properties\AssemblyInfo.cs
?????文件???????2872??2012-05-24?11:34??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx110\ThreadEx110\Properties\Resources.Designer.cs
?????文件???????1096??2012-05-24?11:34??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx110\ThreadEx110\Properties\Settings.Designer.cs
?????文件???????3768??2012-08-17?16:27??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx110\ThreadEx110\ThreadEx102.csproj
?????文件????????492??2012-05-24?11:49??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx110\ThreadEx110\Program.cs
?????文件???????3223??2012-05-25?18:37??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx110\ThreadEx110\Form1.Designer.cs
?????文件???????5814??2012-05-25?18:37??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx110\ThreadEx110\Form1.resx
?????文件???????1573??2012-05-25?19:06??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx110\ThreadEx110\Form1.cs
?????文件????????911??2012-08-17?16:39??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx110\ThreadEx110\ThreadEx102.sln
????..A..H.?????12802??2012-08-17?16:39??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx110\ThreadEx110\ThreadEx102.suo
?????文件????????923??2012-05-24?11:34??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx110\ThreadEx102.sln
????..A..H.?????16384??2012-08-17?16:35??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx110\ThreadEx102.suo
?????文件???????5612??2012-05-24?10:58??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx101\ThreadEx101\Properties\Resources.resx
?????文件????????249??2012-05-24?10:58??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx101\ThreadEx101\Properties\Settings.settings
?????文件???????1378??2012-05-24?10:58??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx101\ThreadEx101\Properties\AssemblyInfo.cs
?????文件???????2872??2012-05-24?10:58??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx101\ThreadEx101\Properties\Resources.Designer.cs
?????文件???????1096??2012-05-24?10:58??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx101\ThreadEx101\Properties\Settings.Designer.cs
?????文件???????4107??2012-05-24?19:54??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx101\ThreadEx101\ThreadEx101.csproj
?????文件???????3213??2012-05-24?11:06??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx101\ThreadEx101\Form1.Designer.cs
?????文件???????5814??2012-05-24?11:06??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx101\ThreadEx101\Form1.resx
?????文件????????803??2012-05-24?11:09??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx101\ThreadEx101\Form1.cs
?????文件???????3210??2012-05-24?20:11??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx101\ThreadEx101\Form2.Designer.cs
?????文件???????5814??2012-05-24?20:11??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx101\ThreadEx101\Form2.resx
?????文件????????530??2012-05-24?20:39??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx101\ThreadEx101\Program.cs
?????文件???????1106??2012-05-24?20:53??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx101\ThreadEx101\Form2.cs
?????文件????????923??2012-05-24?10:58??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx101\ThreadEx101.sln
????..A..H.?????15872??2012-08-17?17:43??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ThreadEx101\ThreadEx101.suo
?????文件???????5612??2012-05-24?22:12??網(wǎng)頁游戲輔助程序設(shè)計(jì)例子\ch01\ProcessEx103\ProcessEx103\Properties\Resources.resx
............此處省略506個(gè)文件信息
評(píng)論
共有 條評(píng)論