-
7Zip
This file is part of SevenZipSharp. SevenZipSharp is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. SevenZipSharp is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with SevenZipSharp. If not, see .
- 2022-07-20 00:09:31下载
- 积分:1
-
C# 使用DrawPolygon方法绘制一个多边形
C# 调用Graphics对象的DrawPolygon方法绘制一个多边形,我们用代码定义多边形的每条边:Point point6 = new Point(160, 20); //实例化Point类,注意多边形的每个边都需要定义不同数据。
Point[] myPoints ={ point1, point2, point3, point4, point5, point6 };//创建Point结构数组
//调用Graphics对象的DrawPolygon方法绘制一个多边形
ghs.DrawPolygon(myPen, myPoints);
- 2022-02-03 12:31:32下载
- 积分:1
-
C# 使用Graphics方法生成字符串的验证码图片
C# Graphics方法生成字符串的验证码图片,在C#的程序中生成一个随机生成器 ,然后随机生成字符,然后使用Graphics方法画图片的背景噪音线 定义颜色和字体,画图片的前景噪音点,画图片的边框线等。这是个比较简单的生成验证码的方法,验证码的使用率偏高,因此作为一个C#生成验证码的初级例子,本源码有必要学习研究。
- 2022-02-26 05:51:46下载
- 积分:1
-
activeMQ C++源码
activeMQ C++源码 ,C++写的源代码,网上找到的,分享给大家。
- 2022-09-14 21:05:04下载
- 积分:1
-
C# TXT 文本文件操作函数集代码
Visual C# TXT 文本文件操作函数集代码,可演示以下功能:在文本中查询包含一组指定单词的句子、查找两个文本文件中的不同句子、查找两个文本文件中的相同句子、在CSV文本文件中计算单列平均值、在CSV文本文件中计算多列平均值、将两个不同文本文件联接成新文件。
- 2023-06-02 12:05:03下载
- 积分:1
-
C# 通过存储过程实现员工ID自动编号
C# 实现自动ID,通过存储过程实现员工自动编号,这个在平时的编程中很实用,自动编号使用存储过程来实现,比较高级一些,且数据库需要支持存储过程。
con.Open();
SqlCommand cmd = new SqlCommand();
string strSql = "insert into 员工个人信息 values ( + label6.Text + , + this.textBox2.Text + , + this.textBox3.Text + , + this.textBox5.Text + , + this.textBox4.Text + )";
cmd.CommandText = strSql;
cmd.Connection = con;
cmd.ExecuteNonQuery();
con.Close();
MessageBox.Show("成功添加信息");
this.groupBox1.Enabled = false;
- 2022-05-31 12:11:24下载
- 积分:1
-
某超市进销存管理系统(C++_Oracle开发源码)
某超市进销存管理系统(C++_Oracle开发源码)
- 2022-11-23 22:55:04下载
- 积分:1
-
C# 是行提交方式插入、删除、更新数据库记录
C# 是行提交方式插入、删除、更新数据库记录,本实例小程序主要演示了以行提交方式插入数据库记录、以行提交方式修改数据库记录、以行提交方式删除数据库记录、使用带有列值的Update()方法修改记录、使用带有列值的Delete()方法删除记录、使用带有列值的Insert()方法插入记录,对应的各个功能核心代码如下:
private void button2_Click(object sender, EventArgs e)
{//以行提交方式修改数据库记录(首先以添加新数据源方式新增NorthwindDataSet)
NorthwindDataSet.ShippersRow MyRow;
MyRow = this.northwindDataSet.Shippers.FindByShipperID(1);
MyRow.Phone = "13996060872";
this.shippersTableAdapter.Update(this.northwindDataSet.Shippers);
}
private void button4_Click(object sender, EventArgs e)
{//使用带有列值的Update()方法修改记录
NorthwindDataSetTableAdapters.ShippersTableAdapter MyAdapter =
new MyForm.NorthwindDataSetTableAdapters.ShippersTableAdapter();
MyAdapter.Update("Speedy Express", "13036371686", 1, "Speedy Express", "13996060872");
this.shippersTableAdapter.Fill(this.northwindDataSet.Shippers);
}
private void button3_Click(object sender, EventArgs e)
{//以行提交方式删除数据库记录(首先以添加新数据源方式新增NorthwindDataSet)
Northwi
- 2023-02-24 10:00:04下载
- 积分:1
-
C# SelectedItem选择移动数据项 点菜功能
这是个实用的小功能,在WEB开发时也经常会看到这种功能,将item数据项由左侧移动到右侧,这是一个选择+移动的功能,全部添加到选择的项中,判断是否已经选择了该菜单项,比如本例子利用左右移动SelectItem项实现了点菜功能:
private void button3_Click(object sender, EventArgs e)//移除所有已经选择的菜
{
lbChoose.Items.Clear();
}
private void button1_Click(object sender, EventArgs e)//单个添加到选择的项中
{
if (lbSocure.SelectedIndex != -1)
{
if (!lbChoose.Items.Contains(lbSocure.Text))//判断是否已经选择了该菜
lbChoose.Items.Add(lbSocure.SelectedItem.ToString());//添加选择的菜
else
MessageBox.Show("您已经选择了该菜,请重新选择。");
}
}
- 2022-06-13 08:29:58下载
- 积分:1
-
C# 演示Tile、FlipX、FlipY、FlipXY 四种模式如何实现
C# 演示Tile、FlipX、FlipY、FlipXY 四种模式如何实现,基于WPF的一个C#源代码,可借此源码了解下DrawingBrush()、FlipY、TileMode.FlipXY、TileMode.Tile等众多模式在C#中的代码是如何编写的,源代码在VS2015中可以编译,完整代码请单击下载链接。
- 2022-05-20 04:07:08下载
- 积分:1