- 博客(10)
- 收藏
- 关注
转载 c# 画三角形,并填充颜色
目前知道有两种方法:画多边形、GraphicsPath。但是用画多边形的方式画三角形不太好。老画不正的,截图放大就明显了。代码1Pointpoint1=newPoint(0,0);2Pointpoint2=newPoint(11,0);3Pointpoint3=newPoint(5,8);4Point[]pntArr...
2010-11-08 11:31:00
1388
转载 VS 2010 如何配置调试本地.net 4.0源代码
1、下载源代码文件: http://referencesource.microsoft.com/netframework.aspx2、在“选项”中配置如下:(看不懂日文的对比顺序就好了)转载于:https://www.cnblogs.com/fireice/archive/2010/09/13/1824802.html...
2010-09-13 10:41:00
161
转载 删除数据库中所有表的数据
SQL SERVER 2005中删除数据库中所有表的数据的SQL语句:EXECUTE sp_msforeachtable 'delete from ?'或者:EXECUTEsp_msforeachtable'truncatetable?'转载于:https://www.cnblogs.com/fireice/archive/2009/08/18/1548787.html...
2009-08-18 13:14:00
139
转载 winForm 控件命名规则(转)
数据类型 数据类型简写 标准命名举例Label lbl lblMessageLinkLabel llbl llblTodayButton btn btnSaveTextBox txt txtNameMainMenu mmnu mmnuFileCheckBox...
2009-07-16 11:19:00
185
转载 EXCEL 2007 隔行与隔列求和
1、隔行求和假设数据放在A1:A20,则=SUM(IF(MOD(ROW(A1:A20),2)=1,A1:A20))按ctrl+shift+enter结束,将其转换为数组函数。2、隔列求和假设数据放在A1:H1,则=SUM(IF(MOD(COLUMN(A1:H1),2)=1,A1:H1))按ctrl+shift+enter结束,将其转换为数组函数。转载于:https://www.cnb...
2009-07-08 17:06:00
265
转载 面向对象:多态
本程序目的在于识别与实现多态。Code1usingSystem;2usingSystem.Text;3classProgram4{5staticvoidMain(string[]args)6{78//这种方式并非多态9Tigertg=newTiger();10Consol...
2009-06-22 22:04:00
81
转载 动态规划算法据序偶原理求解0/1背包问题(C++实现)
可程序根据序偶原理,应用动态规划算法求解。 Code1//说明:本程序有一定代码冗余,若分割为多个函数的形式会使程序简洁明了。2#include<iostream>3usingnamespacestd;4#include<queue>5#include<stack>67constintN=5;...
2009-05-02 22:00:00
991
转载 C#编程访问数据库测试程序
CodeusingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Data;usingSystem.Data.SqlClient;usingSystem.Configuration;namespaceCSharpBegining{class...
2009-05-02 21:43:00
80
转载 C#控件台字符(串)读取
1.输入字符:1intreadValue;2charcharacter;3readValue=System.Console.Read();4character=(char)readValue; //隐式类型转换.5System.Console.Write(character);2.输入字符串:(1)方法一: 1stringst...
2009-05-02 21:34:00
136
转载 C# MD5加密类
Code1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Text;4usingSystem.Security.Cryptography;56namespaceArchives7{8publicstaticclassEncryptio...
2009-05-02 21:21:00
99
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人