上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: /// <summary> /// 连点之间距离公式判断坐标是否在圆内,√[(x1-x2)²+(y1-y2)²] /// </summary> /// <param name="p"></param> /// <param name="f"></param> /// <param name="r"> 阅读全文
posted @ 2022-07-19 11:26 芈璐 阅读(1153) 评论(0) 推荐(0)
摘要: /// <summary> /// 射线法,判断一个坐标点是否在多边形区域内 /// </summary> /// <param name="p"></param> /// <param name="poly"></param> /// <returns></returns> public stri 阅读全文
posted @ 2022-07-19 10:30 芈璐 阅读(593) 评论(0) 推荐(0)
摘要: this.Close(); 只是关闭当前窗口,若不是主窗体的话,是无法退出程序的,另外若有托管线程(非主线程),也无法干净地退出; Application.Exit(); 强制所有消息中止,退出所有的窗体,但是若有托管线程(非主线程),也无法干净地退出; Application.ExitThread 阅读全文
posted @ 2022-07-05 10:38 芈璐 阅读(82) 评论(0) 推荐(0)
摘要: Form Frm2 = new Form2(); Frm2.Show(); Screen[] screens = Screen.AllScreens;//获取当前所有显示屏 int count = screens.Count(); foreach (Form frm in Application.O 阅读全文
posted @ 2022-06-23 10:30 芈璐 阅读(1252) 评论(0) 推荐(0)
摘要: [DllImport("User32.dll")] private static extern bool SetCursorPos(int x, int y); SetCursorPos(intX, intY); 阅读全文
posted @ 2022-06-22 14:32 芈璐 阅读(445) 评论(0) 推荐(0)
摘要: 运用到Graphics类,可以参阅该类的详解。 [DllImport("User32.dll")] public extern static System.IntPtr GetDC(System.IntPtr hWnd); System.IntPtr DesktopHandle = GetDC(Sy 阅读全文
posted @ 2022-06-22 14:30 芈璐 阅读(694) 评论(0) 推荐(0)
摘要: 打开微软商店,搜索TranslucentTB(汉化 by tpxxn) 安装后即可。 阅读全文
posted @ 2022-06-15 17:37 芈璐 阅读(457) 评论(0) 推荐(0)
摘要: TabControl Appearance属性设置FlatButtons ItemSizes属性设置0,1 SizeMode属性设置Fixed 设置前: 设置后: 阅读全文
posted @ 2022-03-24 15:56 芈璐 阅读(705) 评论(0) 推荐(0)
摘要: CREATE TABLE #T (NAME nvarchar(100),ROWS char(20),reserved varchar(18) ,Data varchar(18) ,index_size varchar(18) ,Unused varchar(18) ) GO INSERT #T EX 阅读全文
posted @ 2022-03-20 11:05 芈璐 阅读(1750) 评论(0) 推荐(0)
摘要: select top 50 (total_logical_reads/execution_count) as avg_logical_reads, (total_logical_writes/execution_count) as avg_logical_writes, (total_physica 阅读全文
posted @ 2021-12-10 14:43 芈璐 阅读(340) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页