摘要: http://blog.csdn.net/russell_tao/article/details/7090033 阅读全文
posted @ 2011-12-27 12:44 晴天有时下鱼 阅读(106) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/orbit 阅读全文
posted @ 2011-12-27 12:43 晴天有时下鱼 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 算法系列之九:计算几何与图形学有关的几种常用算法(二) 分类: 算法系列 2011-12-25 23:04 1149人阅读 评论(5) 收藏 举报3.6 用矢量的叉积判断直线段是否有交 矢量叉积计算的另一个常用用途是直线段求交。求交算法是计算机图形学的核心算法,也是体现速度和稳定性的重要标志,高效并且稳定的求交算法是任何一个CAD软件都必需要重点关注的。求交包含两层概念,一个是判断是否相交,另一个是求出交点。直线(段)的求交算法相对来说是比较简单的,首先来看看如何判断两直线段是否相交。 常规的代数计算通常分三步,首先根据线段还原出两条线段... 阅读全文
posted @ 2011-12-27 12:40 晴天有时下鱼 阅读(408) 评论(0) 推荐(0) 编辑
摘要: http://topic.csdn.net/u/20111209/10/c16e6119-b450-45f4-862d-952d16ce0241.html 阅读全文
posted @ 2011-12-27 12:31 晴天有时下鱼 阅读(124) 评论(0) 推荐(0) 编辑
摘要: C#截屏2011-07-06 23:02using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Diagnostics;using System.Runtime.InteropServices ;using System.IO;using System.Media;namespace BaiheTest{ pub 阅读全文
posted @ 2011-12-27 12:00 晴天有时下鱼 阅读(322) 评论(0) 推荐(0) 编辑
摘要: C# Flash 交互程序开发可以尝试以下关键字进行搜索查找其他资料 关键字(C#, FLASH, winform,flash嵌入C# ,FLASH 开发UI界面 ) 要在c# winform程序里嵌入FLASH,其实就是直接引用Flash的ocx控件。 那你就需要使用“COM 组件” Shockwave Flash Object。不过这个"Flash.ocx"控件不能直接在“COM 组件”窗口中找到.。 需要我们手动添加,选择菜单中的“工具”--“自定义工具箱”,打开“自定义工具箱”窗口,在“COM 组件”中点击“浏览”键,然后选择“c:\\WINNT(WINDOWS)\ 阅读全文
posted @ 2011-12-27 11:57 晴天有时下鱼 阅读(224) 评论(0) 推荐(0) 编辑
摘要: C#制作鼠标可以穿透的窗体2011-11-11 2:54转载自 skyeah最终编辑 skyeah把窗体的FormBorderStyle设为FormBorderStyle.None using System.Runtime.InteropServices; private const uint WS_EX_LAYERED = 0x80000; private const int WS_EX_TRANSPARENT = 0x20; private const int GWL_STYLE = (-16); private const int GWL_EXSTYLE = (-20); pri... 阅读全文
posted @ 2011-12-27 11:56 晴天有时下鱼 阅读(280) 评论(0) 推荐(0) 编辑
摘要: WPF中UI线程更新2011-11-11 16:11WPF中UI线程队列由Dispatcher来管理和调度,所以当用户线程中更新UI时,必须通过Dispatche来调度,下面这个小例子将给用户展示如何在用户线程中更新当前的时间.前台的XAML代码如下:<Windowx:Class="ThreadInvoke.Window1"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/ 阅读全文
posted @ 2011-12-27 11:55 晴天有时下鱼 阅读(275) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Runtime.InteropServices;namespace wangwangmsg{ public partial class Form1 : Form, IMessageFilter { public Form1() { InitializeCom 阅读全文
posted @ 2011-12-27 11:53 晴天有时下鱼 阅读(316) 评论(0) 推荐(0) 编辑