資源簡介
采用C#編程,模擬簡單的示波器圖形繪制(GDI+畫圖)
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
namespace?示波器
{
????public?partial?class?Form1?:?Form
????{
???????static?int?imax?=?10000;
????????float[]?data?=?new?float[imax];
????????string[]?stime=?new?string[imax];
????????int?num?=?0num1=0;
????????bool?flag?=?false;
????????float?max?min;
????????int[]?rnd?=?{?0?12?3?4?5?6?5?4?3?2?1?};
????????public?Form1()
????????{
????????????InitializeComponent();
????????}
????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????}
????????private?void?monidata()
????????{
????????????if?(num?>=?imax)
????????????{
????????????????flag?=?true;
??????????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????11776??2012-05-04?17:23??示波器\bin\Debug\示波器.exe
?????文件??????26112??2012-05-04?17:23??示波器\bin\Debug\示波器.pdb
?????文件??????14328??2012-05-04?17:23??示波器\bin\Debug\示波器.vshost.exe
?????文件????????490??2012-05-04?17:23??示波器\bin\Debug\示波器.vshost.exe.manifest
?????文件???????2602??2012-05-04?17:22??示波器\Form1.cs
?????文件???????7432??2012-05-04?17:22??示波器\Form1.Designer.cs
?????文件???????6008??2012-05-04?17:22??示波器\Form1.resx
?????文件????????546??2012-05-04?17:23??示波器\obj\Debug\示波器.csproj.FileListAbsolute.txt
?????文件????????847??2012-05-04?17:23??示波器\obj\Debug\示波器.csproj.GenerateResource.Cache
?????文件??????11776??2012-05-04?17:23??示波器\obj\Debug\示波器.exe
?????文件????????180??2012-05-04?17:23??示波器\obj\Debug\示波器.Form1.resources
?????文件??????26112??2012-05-04?17:23??示波器\obj\Debug\示波器.pdb
?????文件????????180??2012-05-04?17:23??示波器\obj\Debug\示波器.Properties.Resources.resources
?????文件????????470??2012-05-04?17:22??示波器\Program.cs
?????文件???????1350??2012-05-04?17:23??示波器\Properties\AssemblyInfo.cs
?????文件???????2868??2012-05-04?17:23??示波器\Properties\Resources.Designer.cs
?????文件???????5612??2012-05-04?17:23??示波器\Properties\Resources.resx
?????文件???????1094??2012-05-04?17:23??示波器\Properties\Settings.Designer.cs
?????文件????????249??2012-05-04?17:23??示波器\Properties\Settings.settings
?????文件???????3350??2012-05-04?17:22??示波器\示波器.csproj
?????文件????????907??2012-05-04?17:22??示波器\示波器.sln
????..A..H.?????12288??2012-05-04?17:23??示波器\示波器.suo
?????目錄??????????0??2012-05-04?17:23??示波器\obj\Debug\TempPE
?????目錄??????????0??2012-05-04?17:23??示波器\bin\Debug
?????目錄??????????0??2012-05-04?17:23??示波器\obj\Debug
?????目錄??????????0??2012-05-04?17:23??示波器\bin
?????目錄??????????0??2012-05-04?17:23??示波器\obj
?????目錄??????????0??2012-05-04?17:23??示波器\Properties
?????目錄??????????0??2012-05-04?17:23??示波器
-----------?---------??----------?-----??----
............此處省略2個文件信息
- 上一篇:OPCClient c#寫的opc客戶端
- 下一篇:LTP.Account
評論
共有 條評論