• 大小: 983KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-31
  • 语言: C#
  • 标签: C#  波形  

资源简介

C#波形图,有源代码,可根据需求添加功能,第一次写C#,适合初学者

资源截图

代码片段和文件信息

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 YBChart
{
    public partial class Form1 : Form
    {
        private Random r;

        public Form1()
        {
            InitializeComponent(); 
        }

        private void Form1_Load(object sender EventArgs e)
        {
            r = new Random();
        }

        private void timer1_Tick_1(object sender EventArgs e)
        {
            statusChart1.Value = r.Next(80);
            listBox1.Items.Add(statusChart1.Value.ToString());
            
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-09-25 10:45  YBChart\
     目录           0  2018-09-25 10:45  YBChart\YBChart控件\
     文件       24576  2012-08-08 10:37  YBChart\YBChart控件\Nobi.StatusChart.dll
     目录           0  2018-09-25 10:45  YBChart\YBChart测试\
     目录           0  2018-09-25 10:45  YBChart\YBChart测试\.vs\
     目录           0  2018-09-25 10:45  YBChart\YBChart测试\.vs\YBChart\
     目录           0  2018-09-25 10:45  YBChart\YBChart测试\.vs\YBChart\v15\
     文件       26624  2018-09-25 10:40  YBChart\YBChart测试\.vs\YBChart\v15\.suo
     目录           0  2018-09-25 10:45  YBChart\YBChart测试\.vs\YBChart\v15\Server\
     目录           0  2018-09-25 10:45  YBChart\YBChart测试\.vs\YBChart\v15\Server\sqlite3\
     文件           0  2018-09-25 10:34  YBChart\YBChart测试\.vs\YBChart\v15\Server\sqlite3\db.lock
     文件      507904  2018-09-25 10:40  YBChart\YBChart测试\.vs\YBChart\v15\Server\sqlite3\storage.ide
     目录           0  2018-09-25 10:45  YBChart\YBChart测试\Backup\
     目录           0  2018-09-25 10:45  YBChart\YBChart测试\Backup\YBChart\
     文件        3236  2012-08-15 17:40  YBChart\YBChart测试\Backup\YBChart\Form1.Designer.cs
     文件         715  2012-08-15 17:40  YBChart\YBChart测试\Backup\YBChart\Form1.cs
     文件        6008  2012-08-15 17:40  YBChart\YBChart测试\Backup\YBChart\Form1.resx
     文件         488  2012-08-15 17:52  YBChart\YBChart测试\Backup\YBChart\Program.cs
     目录           0  2018-09-25 10:45  YBChart\YBChart测试\Backup\YBChart\Properties\
     文件        1370  2012-08-13 17:44  YBChart\YBChart测试\Backup\YBChart\Properties\AssemblyInfo.cs
     文件        2864  2012-08-13 17:44  YBChart\YBChart测试\Backup\YBChart\Properties\Resources.Designer.cs
     文件        5612  2012-08-13 17:44  YBChart\YBChart测试\Backup\YBChart\Properties\Resources.resx
     文件        1092  2012-08-13 17:44  YBChart\YBChart测试\Backup\YBChart\Properties\Settings.Designer.cs
     文件         249  2012-08-13 17:44  YBChart\YBChart测试\Backup\YBChart\Properties\Settings.settings
     文件        3983  2012-08-15 17:52  YBChart\YBChart测试\Backup\YBChart\YBChart.csproj
     文件         911  2012-08-13 17:45  YBChart\YBChart测试\Backup\YBChart.sln
     文件       40580  2018-09-25 10:33  YBChart\YBChart测试\UpgradeLog.htm
     目录           0  2018-09-25 10:45  YBChart\YBChart测试\YBChart\
     文件        3348  2018-09-25 10:36  YBChart\YBChart测试\YBChart\Form1.Designer.cs
     文件         821  2018-09-25 10:36  YBChart\YBChart测试\YBChart\Form1.cs
     文件        6008  2018-09-25 10:36  YBChart\YBChart测试\YBChart\Form1.resx
............此处省略98个文件信息

评论

共有 条评论