03 2015 档案

摘要:喜欢看C#的童鞋,这里有个工具,你们可以自己转换:http://converter.telerik.com/想达到这个效果,首先新建一个新的项目。在项目名字上面右击,新增一个类,类名为:TableLayoutPanelEx.vb。 然后只要复制下面的代码到类中即可。Public Class Tabl... 阅读全文
posted @ 2015-03-30 17:27 Youjun 阅读(2267) 评论(1) 推荐(1)
摘要:private void textBox1_TextChanged(object sender, EventArgs e) { DataGridViewCellStyle style = new DataGridViewCellStyle(); ... 阅读全文
posted @ 2015-03-27 17:36 Youjun 阅读(222) 评论(0) 推荐(0)
摘要:foreach (Screen scr_loopVariable in Screen.AllScreens){Screen scr = scr_loopVariable;double height = scr.Bounds.Height / this.CreateGraphics().DpiY;do... 阅读全文
posted @ 2015-03-26 11:03 Youjun 阅读(154) 评论(0) 推荐(0)
摘要:Public Shared Function CheckForInternetConnection() As Boolean Try Using client = New WebClient() Using stream = client.OpenRead(... 阅读全文
posted @ 2015-03-26 11:02 Youjun 阅读(119) 评论(0) 推荐(0)
摘要:只需要一个Form,将背景色调成黑色即可,另加三个Timer。代码如下:Option Strict OnImports System.IOImports System.Drawing.Drawing2DPublic Class Form1 Dim WallPapersImages As New... 阅读全文
posted @ 2015-03-26 10:25 Youjun 阅读(223) 评论(0) 推荐(0)