摘要:本人学生一枚,将自己的平时积累的一些东西分享出来,不知道对不对,对的希望能帮助一些人,不对的还望高手不吝赐教,多多评论,多多指教!
阅读全文
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
阅读全文
摘要:private void txtNo_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == 13) // 判断 按键的事件, 13 表示按下了 回车键 ...
阅读全文
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
阅读全文
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
阅读全文
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Data.SqlClient;using System.Drawing;using Sys...
阅读全文
摘要:int i=dataGridView3.RowCount -1 ; int j; for (j = 0; j < i; j++) { if (textBox1.Text.Trim() ...
阅读全文
摘要:private void myMove() { label2.Left = label2.Left + 20; //当标签移除画面,重新复位 if (label2.Left > this.Width) ...
阅读全文
摘要:public class ZTCD { public static string ZJZ = ""; public static string jg = ""; public static int CD = 0; public s...
阅读全文
摘要:Visual Studio 2005工具箱上右击选择“选择项”,慢慢等...在弹出的“选择工具箱项”选项卡中,点击“浏览”,找到IrisSkin2.dll存放的位置,双击, 你会发现多了个“SkinEngine”,确定。 将公共控件里的“SkinEngine”,拖到窗体上,将皮肤文件*.ssk在“解...
阅读全文
摘要:var source = new AutoCompleteStringCollection(); source.AddRange(new string[] { "110", ...
阅读全文
摘要:/// /// 把label 中的内容重新赋值 /// /// /// /// private void timer1_Tick(object sender, EventArgs e) ...
阅读全文
摘要:private void button1_Click(object sender, EventArgs e) { string text = textBox1.Text; Uri uri = new Uri("http://"+textB...
阅读全文
摘要:private void button1_Click(object sender, EventArgs e) { string s=textBox1.Text.Trim(); int idex = s.IndexOf("\\"); while (s.IndexOf("\\")!=-1) { t...
阅读全文
摘要:private void button1_Click(object sender, EventArgs e) { if (b == false) { b = true; th = ...
阅读全文
摘要:private void pictureBox1_Click(object sender, EventArgs e) { Random r = new Random(); string str = null; ...
阅读全文