資源簡介
強調“教與學面對面”
主體內容銜接合理,技術要點逐層深入,示例分析圖文并茂,代碼注釋詳盡明晰。
設有多個小欄目,學習更輕松
難點問題隨時“說明”,重點知識及時“提示”,“擴展學習”提升技術。
重視實戰,學以致用
擴展介紹了視頻應用、圖像處理^郵件接發三大應用程序的實戰設計過程,使讀者能學以致用,獨立開發出一些簡單、實用的Windows應用程序。

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Windows.Forms;
namespace?MyTimer
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????}
????????private?void?Form1_Load(object?sender?EventArgs?e)
????????{
????????????button1.Text?=?“啟動“;
????????????button2.Text?=?“復位“;
????????????textBox1.Text?=?“0:00“;
????????????timer1.Interval?=?10;?//精確到0.01秒
????????}
????????int?ms?=?0;
????????int?s?=?0;
????????private?void?timer1_Tick(object?sender?EventArgs?e)
????????{
????????????ms?+=?1;
????????????if?(ms?==?100)
????????????{
????????????????s?+=?1;
????????????????ms?=?0;
????????????}
????????????textBox1.Text?=?s.ToString()?+?“:“?+?ms.ToString(“d2“);
????????}
????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????????if?(timer1.Enabled)
????????????{
????????????????timer1.Enabled?=?false;
????????????????button1.Text?=?“啟動“;
????????????}
????????????else
????????????{
????????????????timer1.Enabled?=?true;
????????????????button1.Text?=?“停止“;
????????????}
????????}
????????private?void?button2_Click(object?sender?EventArgs?e)
????????{
????????????textBox1.Text?=?“0:00“;
????????????ms?=?0;
????????????s?=?0;
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-11-17?21:48??C#語言Windows程序設計(第二版)_實驗源碼\
?????目錄???????????0??2014-11-15?09:31??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\
?????目錄???????????0??2014-11-15?09:31??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\
?????目錄???????????0??2014-11-15?09:31??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\
?????文件????????3835??2013-05-06?09:57??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\Form1.Designer.cs
?????文件????????1467??2013-05-06?09:57??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\Form1.cs
?????文件????????6011??2013-05-06?09:57??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\Form1.resx
?????文件????????3673??2013-05-06?09:55??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\MyTimer.csproj
?????文件?????????488??2013-05-06?09:54??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\Program.cs
?????目錄???????????0??2014-11-15?09:31??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\Properties\
?????文件????????1350??2013-05-06?09:54??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\Properties\AssemblyInfo.cs
?????文件????????2862??2013-05-06?09:54??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\Properties\Resources.Designer.cs
?????文件????????5612??2013-05-06?09:54??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\Properties\Resources.resx
?????文件????????1090??2013-05-06?09:54??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\Properties\Settings.Designer.cs
?????文件?????????249??2013-05-06?09:54??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\Properties\Settings.settings
?????目錄???????????0??2014-11-15?09:31??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\bin\
?????目錄???????????0??2014-11-15?09:31??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\bin\Debug\
?????文件????????9728??2014-11-15?09:30??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\bin\Debug\MyTimer.exe
?????文件???????30208??2014-11-15?09:30??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\bin\Debug\MyTimer.pdb
?????文件???????22984??2014-11-15?09:30??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\bin\Debug\MyTimer.vshost.exe
?????文件?????????490??2013-03-18?17:00??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\bin\Debug\MyTimer.vshost.exe.manifest
?????目錄???????????0??2014-11-15?09:31??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\obj\
?????目錄???????????0??2014-11-15?09:31??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\obj\x86\
?????目錄???????????0??2014-11-15?09:31??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\obj\x86\Debug\
?????文件????????2855??2014-11-15?09:29??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
?????文件????????7119??2014-11-15?09:24??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????文件?????????304??2013-05-06?09:57??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\obj\x86\Debug\GenerateResource.read.1.tlog
?????文件?????????706??2013-05-06?09:57??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\obj\x86\Debug\GenerateResource.write.1.tlog
?????文件?????????180??2014-11-15?09:30??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\obj\x86\Debug\MyTimer.Form1.resources
?????文件?????????180??2014-11-15?09:30??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\obj\x86\Debug\MyTimer.Properties.Resources.resources
?????文件????????2157??2014-11-15?09:30??C#語言Windows程序設計(第二版)_實驗源碼\Ex1\MyTimer\MyTimer\obj\x86\Debug\MyTimer.csproj.FileListAbsolute.txt
............此處省略537個文件信息
評論
共有 條評論