上一页 1 ··· 72 73 74 75 76 77 78 79 80 ··· 101 下一页
摘要: 一、HTML的注释方法<!-- html注释:START -->内容<!-- html注释:END --> 包含在“<!--”与“-->”之间的内容将会被浏览器忽略,且不会显示在用户浏览的最终界面中。 注释的部分虽然浏览器在执行时会忽略,但在浏览器中查看源代码时仍然可以看到 二、CSS的注释方法<s 阅读全文
posted @ 2016-07-19 10:26 龙骑科技 阅读(1037) 评论(0) 推荐(0)
摘要: 导致画面闪烁的关键原因分析: 一、绘制窗口由于大小位置状态改变进行重绘操作时,绘图窗口内容或大小每改变一次,都要调用Paint事件进行重绘操作,该操作会使画面重新刷新一次以维持窗口正常显示。刷新过程中会导致所有图元重新绘制,而各个图元的重绘操作并不会导致Paint事件发生,因此窗口的每一次刷新只会调 阅读全文
posted @ 2016-07-16 16:24 龙骑科技 阅读(18815) 评论(1) 推荐(0)
摘要: 使用using System.Runtime.InteropServices; [DllImport("user32.dll" , EntryPoint = "ShowCursor" , CharSet = CharSet.Auto)] public static extern void ShowC 阅读全文
posted @ 2016-07-16 15:21 龙骑科技 阅读(2068) 评论(0) 推荐(0)
摘要: C#实现GDI+基本图的缩放、拖拽、移动示例代码如下: 阅读全文
posted @ 2016-07-16 14:41 龙骑科技 阅读(3954) 评论(0) 推荐(0)
摘要: 主要是winform窗体中使用了webBrowser控件,webBrowser中调用javascript操作窗体里面的后台方法,使用下面的两句。 this.webBrowser1.ObjectForScripting = this; webBrowser1.Url = new Uri(Path.Co 阅读全文
posted @ 2016-07-16 14:24 龙骑科技 阅读(1949) 评论(0) 推荐(0)
摘要: 图片的拆分 1、保存png图片 using System; using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;us 阅读全文
posted @ 2016-07-16 11:41 龙骑科技 阅读(491) 评论(0) 推荐(0)
摘要: 上一篇中说到了图片的具体产生以及属性,本篇主要是具体的使用,详情案例见下面的具体视图及代码 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System 阅读全文
posted @ 2016-07-15 22:43 龙骑科技 阅读(1122) 评论(0) 推荐(0)
摘要: Image.FrameDimensionsList 属性 .NET Framework 2.0 获取 GUID 的数组,这些 GUID 表示此 Image 中帧的维数。 .NET Framework 2.0 获取 GUID 的数组,这些 GUID 表示此 Image 中帧的维数。 获取 GUID 的 阅读全文
posted @ 2016-07-15 22:27 龙骑科技 阅读(926) 评论(0) 推荐(0)
摘要: 界面 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Win 阅读全文
posted @ 2016-07-09 18:12 龙骑科技 阅读(1309) 评论(0) 推荐(0)
摘要: 1 private void GetIP() 2 { 3 string hostName = Dns.GetHostName();//本机名 4 //System.Net.IPAddress[] addressList = Dns.GetHostByName(hostName).AddressLis 阅读全文
posted @ 2016-07-09 16:16 龙骑科技 阅读(1908) 评论(0) 推荐(0)
上一页 1 ··· 72 73 74 75 76 77 78 79 80 ··· 101 下一页