资源简介
C# 屏幕录像软件(源代码),可以录制屏幕并保存为avi格式的视频文件,另外可以按帧数分割视频文件!默认录制好的文件保存在D盘!

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.OleDb;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ScreenKinescope.ClassFolder;
namespace ScreenKinescope
{
public partial class frmGeneral : Form
{
public frmGeneral()
{
InitializeComponent();
}
baseClass bc = new baseClass();
private void button2_Click(object sender EventArgs e)
{
this.Close();
}
private void button4_Click(object sender EventArgs e)
{
if (this.saveFileDialog1.ShowDialog() == DialogResult.OK)
{
txtPath.Text = ““;
txtPath.Text = saveFileDialog1.FileName;
}
}
private void frmGeneral_Load(object sender EventArgs e)
{
OleDbConnection conn=bc.GetConn();
conn.Open();
OleDbCommand cmd = new OleDbCommand(“select * from tb_VideoPath where ID=1“ conn);
OleDbDataReader sdr = cmd.ExecuteReader();
sdr.Read();
string str = sdr[“strPath“].ToString().Trim();
txtPath.Text = str;
string Mycursor=sdr[“CursorYN“].ToString().Trim();
if (Mycursor == “显示光标“)
{
radioButton1.Checked = true;
}
else
{
radioButton2.Checked = true;
}
conn.Close();
}
private void button1_Click(object sender EventArgs e)
{
if (txtPath.Text == ““)
{ }
else
{
string strUpdate = “update tb_VideoPath set strPath=‘“+txtPath.Text.Trim()+“‘ where ID=1“;
OleDbConnection conn = bc.GetConn();
conn.Open();
OleDbCommand cmd = new OleDbCommand(strUpdate conn);
cmd.ExecuteNonQuery();
string strCursor;
if (radioButton1.Checked)
{
strCursor = “update tb_VideoPath set CursorYN=‘显示光标‘ where ID=1“;
}
else
{
strCursor = “update tb_VideoPath set CursorYN=‘隐藏光标‘ where ID=1“;
}
cmd = new OleDbCommand(strCursorconn);
if (cmd.ExecuteNonQuery() > 0)
{
conn.Close();
this.Close();
}
}
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2011-04-26 14:54 ScreenKinescope\
目录 0 2011-04-26 15:17 ScreenKinescope\ScreenKinescope\
文件 935 2010-01-28 09:29 ScreenKinescope\ScreenKinescope.sln
文件 43008 2011-04-26 15:25 ScreenKinescope\ScreenKinescope.suo
目录 0 2011-04-26 14:54 ScreenKinescope\ScreenKinescope\bin\
目录 0 2011-04-26 14:54 ScreenKinescope\ScreenKinescope\bin\Debug\
文件 45056 2008-07-15 11:01 ScreenKinescope\ScreenKinescope\bin\Debug\AxInterop.SHDocVw.dll
文件 53248 2008-07-15 11:09 ScreenKinescope\ScreenKinescope\bin\Debug\AxInterop.WMPLib.dll
目录 0 2011-04-26 14:54 ScreenKinescope\ScreenKinescope\bin\Debug\Data\
文件 167936 2010-01-29 17:03 ScreenKinescope\ScreenKinescope\bin\Debug\Data\ScreenData.mdb
文件 32768 2011-04-22 14:46 ScreenKinescope\ScreenKinescope\bin\Debug\Interop.sc
文件 131072 2011-04-26 14:55 ScreenKinescope\ScreenKinescope\bin\Debug\Interop.SHDocVw.dll
文件 98304 2008-07-07 13:05 ScreenKinescope\ScreenKinescope\bin\Debug\Interop.WMEncoderLib.dll
文件 290816 2011-04-22 14:46 ScreenKinescope\ScreenKinescope\bin\Debug\Interop.WMPLib.dll
文件 116224 2011-04-26 14:56 ScreenKinescope\ScreenKinescope\bin\Debug\ScreenKinescope.exe
文件 122368 2011-04-26 14:56 ScreenKinescope\ScreenKinescope\bin\Debug\ScreenKinescope.pdb
文件 14328 2011-04-26 15:19 ScreenKinescope\ScreenKinescope\bin\Debug\ScreenKinescope.vshost.exe
文件 490 2007-07-21 01:33 ScreenKinescope\ScreenKinescope\bin\Debug\ScreenKinescope.vshost.exe.manifest
文件 1 2011-04-26 15:09 ScreenKinescope\ScreenKinescope\ClassDiagram1.cd
目录 0 2011-04-26 14:54 ScreenKinescope\ScreenKinescope\ClassFolder\
文件 13730 2008-07-16 10:44 ScreenKinescope\ScreenKinescope\ClassFolder\ba
目录 0 2011-04-26 14:54 ScreenKinescope\ScreenKinescope\ConverrtAviToBmp\
目录 0 2011-04-26 15:25 ScreenKinescope\ScreenKinescope\Data\
文件 167936 2011-04-26 14:58 ScreenKinescope\ScreenKinescope\Data\ScreenData.mdb
文件 2648 2008-07-15 10:24 ScreenKinescope\ScreenKinescope\frmGeneral.cs
文件 7325 2008-07-15 10:24 ScreenKinescope\ScreenKinescope\frmGeneral.Designer.cs
文件 6017 2008-07-15 10:24 ScreenKinescope\ScreenKinescope\frmGeneral.resx
文件 31484 2011-04-26 15:17 ScreenKinescope\ScreenKinescope\frmScreen.cs
文件 24702 2011-04-26 15:17 ScreenKinescope\ScreenKinescope\frmScreen.Designer.cs
文件 30949 2011-04-26 15:17 ScreenKinescope\ScreenKinescope\frmScreen.resx
文件 20383 2008-08-21 14:39 ScreenKinescope\ScreenKinescope\frmVideoManager.cs
............此处省略60个文件信息
相关资源
- 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
- C# 使用ListView控件实现图片浏览器(源
- C#简单窗体聊天程序
评论
共有 条评论