目录实践过程效果代码实践过程效果代码public partial class frmEdit : Form { public frmEdit() { InitializeComponent(); } DataBase database = new DataBase(); FrmMain ......
247
0
0
2023-07-13
目录实践过程效果代码实践过程效果代码public partial class Form : Form { public Form() { InitializeComponent(); } #region 实例化类对象及公共变量 private Thread myThread; ......
340
0
0
2023-07-12
目录实践过程效果代码实践过程效果代码public partial class frmSend : Form { public frmSend() { InitializeComponent(); } //对邮件内容进行编码 private static string BaseEncode( ......
230
0
0
2023-07-12
目录实践过程效果代码实践过程效果代码public partial class Form : Form { public Form() { InitializeComponent(); } private string GetFolType() { int Tid = co ......
237
0
0
2023-07-11
目录实践过程效果代码实践过程效果代码public partial class frmSplit : Form { public frmSplit() { InitializeComponent(); } #region 分割文件 /// <summary> /// ......
280
0
0
2023-07-11
目录实践过程效果代码实践过程效果代码public partial class Form : Form { public Form() { InitializeComponent(); } #region 压缩文件及文件夹 /// <summary> /// 递归压 ......
217
0
0
2023-07-11
目录实践过程效果代码实践过程效果代码public partial class Form : Form { public Form() { InitializeComponent(); } public Image ResourceImage; private int ImageWidt ......
221
0
0
2023-07-09
目录实践过程效果代码实践过程效果代码public partial class Form : Form { public Form() { InitializeComponent(); } //建立一个公共类,用于转换汉字 public class ChnToPh { ......
226
0
0
2023-07-09
目录实践过程效果代码实践过程效果代码public partial class Form : Form { public Form() { InitializeComponent(); } #region 调用API [DllImport("user.dll", EntryPoint = ......
228
0
0
2023-07-07
目录实践过程效果代码实践过程效果代码public partial class Form : Form { public Form() { InitializeComponent(); } string strg;//数据库路径 OleDbConnection conn;//数据连接对象 ......
217
0
0
2023-07-07
目录创建WebService项目连接到WebService服务总结 创建WebService项目首先安装下.NET Framework4.6.2-4.7.1开发工具。然后就是新建 ASP.NET Web应用程序 项目。输入项目名称WebServiceDemo选择空,然后先去掉HTTPS配置。项目创建好之后,开始添加asmx文件.添加好之后在添加一个 ......
284
0
0
2023-07-07
目录实践过程效果代码实践过程效果代码public partial class Form : Form { public Form() { InitializeComponent(); } [System.Runtime.InteropServices.DllImport("user.dll", ......
296
0
0
2023-07-06
目录前言一、如何实现1、实现装饰器2、定义附加属性3、加入装饰层二、完整代码三、使用示例总结前言装饰器是wpf中可以浮在控件上面的一种组件,我们通常可以用来实现一些诸如控件拖动点、提示框、自定义鼠标等界面功能。装饰器的用法其实还是比较复杂的,几乎需要完全再cs中编写所有代码,对于样式要求较高的情况下,完全在cs中些控件的样式是比较困难的。为了改变这种状况,我 ......
279
0
0
2023-07-06
目录实践过程效果代码实践过程效果代码public partial class GuageRichTextBox : UserControl { public GuageRichTextBox() { InitializeComponent(); richTextBox.WordWrap = false ......
232
0
0
2023-07-06
目录实践过程效果代码实践过程效果代码public partial class Form : Form { public Form() { InitializeComponent(); } HOOK Hook = new HOOK();//实例化自定义类HOOK public stati ......
229
0
0
2023-07-05