发博文
博文
(2011-12-18 00:41)
标签:

娱乐

阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
(2011-12-18 00:41)
标签:

娱乐

阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
(2011-12-18 00:41)
标签:

娱乐

阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
(2011-12-18 00:41)
标签:

娱乐

阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
(2011-12-18 00:35)
标签:

娱乐

阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
标签:

身高

杂谈

分类: 他山石

 

阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
标签:

it/科技

程序

杂谈

分类: 他山石
转自http://blog.sina.com.cn/s/blog_61c463090100ljqa.html

Contains返回偶数在内,否则在外。

public bool Contains(PointF point, PointF[] cornerPoints) {
  int intersections = 0;
  float x0 = point.X;
  float y0 = point.Y;
  for (int i = 1; i < cornerPoints.Length; ++i) {
    if (DoesIntersect(point, cornerPoints[i], cornerPoints[i - 1]))
      ++intersections;
  }
  if (DoesIntersect(point, cornerPoints[cornerPoints.Length - 1],
                                                cornerPoints[0]))
    ++intersections;
  return (intersections % 2 != 0);
阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
标签:

solidworks

api

it

分类: 原创

下面是由SW插件开发模板自动产生的文件(C#):


阅读  ┆ 评论  ┆ 转载 ┆ 收藏 

    微软的Windows Server Update Services (WSUS) 3.0 和Windows Sharepoint Services (WSS) 3.0使用了Windows Internal Database,还微软的MSDE桌面数据库,很多人不知道如何来控制它,比如对其进行备份、转移、实施CRUD操作,将方法介绍如下:

    1、先安装 SQL Server Management Studio Express.(http://www.microsoft.com/downloads/zh-cn/details.aspx?familyid=c243a5ae-4bd1-4e3d-94b8-5a0f62bf7796&displaylang=zh-cn),运行SQL Server Management Studio Express。

    2、操作Windows Internal Database

    数据库实例中选取或者输入

    \\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query

    采用集成认证方式;

    即可浏览数据库了。

&nbs

阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
标签:

c

技巧

杂谈

在窗体中加入一个TreeView、RichTextBox、TextBox,布局随便调整吧,双击TreeView加入AfterSelect事件。
用如下代码相应替代,一个简单的资源管理器就有了。
 
using System; 
using System.
阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
  

新浪BLOG意见反馈留言板 不良信息反馈 电话:4006900000 提示音后按1键(按当地市话标准计费) 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 会员注册 | 产品答疑

新浪公司 版权所有