- 博客(6)
- 收藏
- 关注
转载 WinForm中 手动触发Button Click事件
在代码中添入 button1.PerformClick() 即可转载于:https://www.cnblogs.com/emery/archive/2009/05/30/1492169.html
2009-05-30 12:31:00
2053
转载 C#调用exe
using System.Diagnostics; static void Main(string[] args) { Process myProcess = Process.Start("c:\\test\\DIY.exe"); while (!myProcess.HasExited)...
2009-05-25 10:12:00
69
转载 去掉文本中的空格
private void getridofspace() { string new_text = null; OpenFileDialog of = new OpenFileDialog(); of.Filter = "txt文件|*.txt|所有文件|*.*";...
2009-05-12 14:45:00
86
转载 进制转换
public string ConvertString(string value, int fromBase, int toBase){int intValue = Convert.ToInt32(value, fromBase); return Convert.ToString(intValue, toB...
2009-05-12 12:55:00
77
转载 Control - ListView
private System.Windows.Forms.ListView listView1 = new System.Windows.Forms.ListView();listView1.View = View.Details; listView1.FullRowSelect = true;...
2009-05-09 12:55:00
99
转载 KeyEvent
public partial class Form1 :Form{ public Form1() { InitializeComponent(); this.KeyUp += new System.Windows.Forms.KeyEventHandler(deal_key); //registe...
2009-05-09 12:29:00
55
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人