资源简介
Visual Studio 2010——C#的ListBox控件的使用,工程源码。

代码片段和文件信息
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 testListBoxApp
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void btnDelOne_Click(object sender EventArgs e)
{
if (lstGoods.SelectedIndex >= 0)
{
lstGoods.Items.RemoveAt(lstGoods.SelectedIndex);
}
}
private void btnDelAll_Click(object sender EventArgs e)
{
lstGoods.Items.Clear();
}
private void btnAddOne_Click(object sender EventArgs e)
{
if (txtGoodsName.Text != ““)
{
lstGoods.Items.Add(txtGoodsName.Text);
txtGoodsName.Text = ““;
}
else
{
MessageBox.Show(“Please input the Name“);
}
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1380 2013-03-30 09:05 testListBoxApp\testListBoxApp\Properties\AssemblyInfo.cs
文件 5612 2013-03-30 09:05 testListBoxApp\testListBoxApp\Properties\Resources.resx
文件 2876 2013-03-30 09:05 testListBoxApp\testListBoxApp\Properties\Resources.Designer.cs
文件 249 2013-03-30 09:05 testListBoxApp\testListBoxApp\Properties\Settings.settings
文件 1097 2013-03-30 09:05 testListBoxApp\testListBoxApp\Properties\Settings.Designer.cs
文件 1091 2013-03-30 09:24 testListBoxApp\testListBoxApp\Form1.cs
文件 5497 2013-03-30 09:24 testListBoxApp\testListBoxApp\Form1.Designer.cs
文件 495 2013-03-30 09:05 testListBoxApp\testListBoxApp\Program.cs
文件 3687 2013-03-30 09:23 testListBoxApp\testListBoxApp\testListBoxApp.csproj
文件 490 2010-03-17 22:39 testListBoxApp\testListBoxApp\bin\Debug\testListBoxApp.vshost.exe.manifest
文件 11600 2013-03-30 09:37 testListBoxApp\testListBoxApp\bin\Debug\testListBoxApp.vshost.exe
文件 9728 2013-03-30 09:24 testListBoxApp\testListBoxApp\bin\Debug\testListBoxApp.exe
文件 26112 2013-03-30 09:24 testListBoxApp\testListBoxApp\bin\Debug\testListBoxApp.pdb
文件 2152 2013-03-30 09:05 testListBoxApp\testListBoxApp\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
文件 6232 2013-03-30 09:24 testListBoxApp\testListBoxApp\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 180 2013-03-30 09:24 testListBoxApp\testListBoxApp\obj\x86\Debug\testListBoxApp.Form1.resources
文件 180 2013-03-30 09:23 testListBoxApp\testListBoxApp\obj\x86\Debug\testListBoxApp.Properties.Resources.resources
文件 264 2013-03-30 09:24 testListBoxApp\testListBoxApp\obj\x86\Debug\GenerateResource.read.1.tlog
文件 654 2013-03-30 09:24 testListBoxApp\testListBoxApp\obj\x86\Debug\GenerateResource.write.1.tlog
文件 26112 2013-03-30 09:24 testListBoxApp\testListBoxApp\obj\x86\Debug\testListBoxApp.pdb
文件 9728 2013-03-30 09:24 testListBoxApp\testListBoxApp\obj\x86\Debug\testListBoxApp.exe
文件 775 2013-03-30 09:37 testListBoxApp\testListBoxApp\obj\x86\Debug\testListBoxApp.csproj.FileListAbsolute.txt
文件 5817 2013-03-30 09:24 testListBoxApp\testListBoxApp\Form1.resx
文件 884 2013-03-30 09:05 testListBoxApp\testListBoxApp.sln
..A..H. 18944 2013-03-30 09:37 testListBoxApp\testListBoxApp.suo
目录 0 2013-03-30 09:05 testListBoxApp\testListBoxApp\obj\x86\Debug\TempPE
目录 0 2013-03-30 09:05 testListBoxApp\testListBoxApp\obj\x86\Debug
目录 0 2013-03-30 09:05 testListBoxApp\testListBoxApp\bin\Debug
目录 0 2013-03-30 09:05 testListBoxApp\testListBoxApp\obj\x86
目录 0 2013-03-30 09:05 testListBoxApp\testListBoxApp\Properties
............此处省略7个文件信息
- 上一篇:ASP.NET教务管理系统源代码
- 下一篇:数据库课设:教室管理系统
相关资源
- C# OCR数字识别实例,采用TessnetOcr,对
- 考试管理系统 - C#源码
- asp.net C#购物车源代码
- C#实时网络流量监听源码
- C#百度地图源码
- Visual C#.2010从入门到精通配套源程序
- C# 软件版本更新
- C#屏幕软键盘源码,可以自己定制界面
- 智慧城市 智能家居 C# 源代码
- c#获取mobile手机的IMEI和IMSI
- C#实现简单QQ聊天程序
- 操作系统 模拟的 欢迎下载 C#版
- C#写的计算机性能监控程序
- 用C#实现邮件发送,有点类似于outlo
- MVC model层代码生成器 C#
- c#小型图书销售系统
- C# Socket Server Client 通讯应用 完整的服
- c# winform 自动登录 百度账户 源代码
- C#编写的16进制计算器
- C#TCP通信协议
- C# 数据表(Dataset)操作 合并 查询一
- C#语音识别系统speechsdk51,SpeechSDK51L
- 数据库备份还原工具1.0 C# 源码
-
[免费]xm
lDocument 节点遍历C# - EQ2008LEDc#开发实例
- DirectX.Capturec# winform 操作摄像头录像附
- c# 实现的最大最小距离方法对鸢尾花
- C#版保龄球记分代码
- C#自定义控件
- 基于c#的实验室设备管理系统621530
评论
共有 条评论