<head>
<title></title>
<script>
var xmlHttp = false;
try {
xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e2) {
xmlHttp = false;
}
}
if (!xmlHttp && typeof XMLHttpRequest != 'undefined') {
xmlHttp = new XMLHttpRequest();
}
function updatePage() {
if (xmlHttp.readyState < 4) {
test1.innerHTML=".";
}
if (xmlHttp.readyState == 4) {
var response = xmlHttp.responseText;
test1.innerHTML=response;
}
}
function callServer() {
var u_name ="a";
if ((u_name == null) || (u_name == "")) return;
var url = "http://www.daxuexy.com/code/top.asp";
xmlHttp.open("GET", url, true);
xmlHttp.onreadystatechange = updatePage;
xmlHttp.send(null);
}
</script>
<link href="main.css" type=text/css rel="stylesheet"/>
</head>
<html>
<body>
<iframe src="http://www.daxuexy.com/test.htm" scrolling=no width=600 height=250 frameborder=0></iframe>
<span id="test1"></span>
<script>
callServer();
</script><TABLE cellSpacing=0 cellPadding=2 bgColor=#FCEBD2 border=0>
<TBODY>
<TR>
<TD class=gl noWrap width="60%"><FONT size=+1><a href="../CatalogCSharp.htm">C# / C Sharp Home </a>» <a href="Catalog2D-Graphics.htm"> 2D Graphics </a>» <b><a href="Drag-and-Draw.htm">[ Drag and Draw ]</b> </a></FONT></TD>
<TD align=right width="10%"><a href="../ScreenShotIndex.htm">Screenshots</a> </TD>
<TD vAlign=center noWrap align=right width="30%">
<FORM style="MARGIN: 2px" name=gs2 method=GET action=http://www.google.com/custom>
<INPUT TYPE=text name=q size=20 maxlength=255 value="">
<INPUT style="FONT-WEIGHT: normal; FONT-SIZE: 90%; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal" type=submit name=sa VALUE="Search in 2D Graphics" >
<INPUT type=hidden name=cof VALUE="S:http://www.java2s.com;AH:center;AWFID:048d0478e57b2768;">
<input type=hidden name=domains value="www.java2s.com">
<input type=hidden name=sitesearch value="www.java2s.com/Code/CSharp/2D-Graphics/" checked>
</FORM>
</TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=2 border=0>
<TBODY>
<TR>
<TD>
<br>
<script type="text/javascript"><!--
google_ad_client = "pub-1130008796007602";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--></script>
<script type="text/javascript"
src="../../../../pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 align=left border=0>
<TBODY>
<TR>
<TD><IMG id=whitespace height=500 src="../../../style/dot_clear.gif" width=8 align=top border=0></TD>
</TR>
<TR>
<TD id=forkbottom> </TD>
</TR>
</TBODY>
</TABLE>
<TABLE style="MARGIN-BOTTOM: 6px; BORDER-BOTTOM: #D9681A 1px solid" cellSpacing=0 cellPadding=2 border=0>
<TBODY>
<TR><td height=30 width="100%"></TD></TR>
<TR>
<td bgcolor="white" >
<font size=+2>Drag and Draw</font>
</TD>
</TR>
</TBODY>
</TABLE>
<TABLE border=0>
<TBODY>
<TR>
<td height=30 width="100%">
</TD>
</TR>
<TR>
<td style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 2px; PADDING-TOP: 2px" width="100%">
</TD>
</TR>
</TBODY>
</TABLE>
<!-- ======================================================== -->
<!-- = Java Sourcecode to HTML automatically converted code = -->
<!-- = Further information: http://www.java2html.de = -->
<table border="0" cellpadding="3" cellspacing="0" bgcolor="#ffffff">
<tr>
<!-- start source code -->
<td nowrap="nowrap" valign="top" align="left">
<code>
<font color="#ffffff"></font><br/>
<font color="#3f7f5f">/*</font><br/>
<font color="#3f7f5f">GDI+ Programming in C# and VB .NET</font><br/>
<font color="#3f7f5f">by Nick Symmonds</font><br/>
<font color="#ffffff"></font><br/>
<font color="#3f7f5f">Publisher: Apress</font><br/>
<font color="#3f7f5f">ISBN: 159059035X</font><br/>
<font color="#3f7f5f">*/</font><br/>
<font color="#ffffff"></font><br/>
<font color="#7f0055"><b>using </b></font><font color="#000000">System;</font><br/>
<font color="#7f0055"><b>using </b></font><font color="#000000">System.IO;</font><br/>
<font color="#7f0055"><b>using </b></font><font color="#000000">System.Drawing;</font><br/>
<font color="#7f0055"><b>using </b></font><font color="#000000">System.Drawing.Drawing2D;</font><br/>
<font color="#7f0055"><b>using </b></font><font color="#000000">System.Drawing.Imaging;</font><br/>
<font color="#7f0055"><b>using </b></font><font color="#000000">System.Collections;</font><br/>
<font color="#7f0055"><b>using </b></font><font color="#000000">System.ComponentModel;</font><br/>
<font color="#7f0055"><b>using </b></font><font color="#000000">System.Windows.Forms;</font><br/>
<font color="#7f0055"><b>using </b></font><font color="#000000">System.Data;</font><br/>
<font color="#ffffff"></font><br/>
<font color="#000000">namespace CustomWindow </font><font color="#000000">{</font><br/>
<font color="#ffffff"> </font><font color="#3f7f5f">/// <summary></font><br/>
<font color="#ffffff"> </font><font color="#3f7f5f">/// </summary></font><br/>
<font color="#ffffff"> </font><font color="#7f0055"><b>public class </b></font><font color="#000000">CustomWindow1 : System.Windows.Forms.Form</font><br/>
<font color="#ffffff"> </font><font color="#000000">{</font><br/>
<font color="#ffffff"></font><br/>
<font color="#ffffff"> </font><font color="#7f0055"><b>private const </b></font><font color="#7f0055"><b>int </b></font><font color="#000000">CLOSEDICON = </font><font color="#990000">0</font><font color="#000000">;</font><br/>
<font color="#ffffff"> </font><font color="#7f0055"><b>private const </b></font><font color="#7f0055"><b>int </b></font><font color="#000000">OPENICON = </font><font color="#990000">1</font><font color="#000000">;</font><br/>
<font color="#ffffff"> </font><font color="#7f0055"><b>private const </b></font><font color="#7f0055"><b>int </b></font><font color="#000000">DRAWICON = </font><font color="#990000">2</font><font color="#000000">;</font><br/>
<font color="#ffffff"> </font><font color="#7f0055"><b>private const </b></font><font color="#7f0055"><b>int </b></font><font color="#000000">DRAGICON = </font><font color="#990000">3</font><font color="#000000">;</font><br/>
<font color="#ffffff"></font><br/>
<font color="#ffffff"> </font><font color="#7f0055"><b>private </b></font><font color="#000000">ImageList mImageList;</font><br/>
<font color="#ffffff"> </font><font color="#7f0055"><b>private </b></font><font color="#000000">GraphicsPath mOriginalPath;</font><br/>
<font color="#ffffff"> </font><font color="#7f0055"><b>private </b></font><font color="#000000">GraphicsPath mSmoothPath;</font><br/>
<font color="#ffffff"> </font><font color="#7f0055"><b>private </b></font><font color="#000000">Point mStartPoint;</font><br/>
<font color="#ffffff"> </font><font color="#7f0055"><b>private </b></font><font color="#000000">Point mLastPoint;</font><br/>
<font color="#ffffff"> </font><font color="#7f0055"><b>private <
没有合适的资源?快使用搜索试试~ 我知道了~
c#实例多个
共1765个文件
htm:1762个
url:2个
bak:1个
需积分: 8 0 下载量 50 浏览量
2007-12-14
16:44:15
上传
评论
收藏 4.44MB RAR 举报
温馨提示
我给大家分享C#,大家参考一下
资源详情
资源评论
资源推荐
收起资源包目录
c#实例多个 (1765个子文件)
AllthecolorsthataresupportedinCaccording.htm.bak 28KB
DragandDraw.htm 176KB
ReadanXMLDocumentanddisplaythefileasaTree.htm 165KB
GridPrinting.htm 101KB
makesanewwindowoutofagraphicspaththathasbeentracedonthisformsspace.htm 95KB
AgentTryout.htm 93KB
DynamicMenu.htm 92KB
ListBoxfontandimage.htm 92KB
ListViewCountryimageandfont.htm 88KB
ImageClass.htm 86KB
ADONETBindingHandlingErrors.htm 84KB
Formfordatainput.htm 84KB
EditorForm.htm 81KB
DrawingShapes.htm 80KB
DockingDemo.htm 79KB
DrawPoly.htm 77KB
MarqueeLabelHost.htm 77KB
ListViewExample.htm 74KB
HotTrackButtonHost.htm 73KB
HexView.htm 71KB
BitmapViewerHost.htm 70KB
GradientDemo.htm 69KB
CatalogCSharp.htm 68KB
ImageZoom1.htm 68KB
MDIandDock.htm 68KB
MDIRelatives.htm 67KB
HTMLSplitWindow.htm 67KB
ComboBoxwithcolorcellrenderer.htm 67KB
DateTimePickerDemo.htm 67KB
IrregularlyShapedFormsdemo1.htm 65KB
ImageFlip.htm 63KB
ClipDraw.htm 63KB
BeginPrint.htm 62KB
CiscoRouter.htm 62KB
ThreadandGUI.htm 62KB
SimpleSNMP.htm 61KB
ChatApplication.htm 60KB
ErrorProviderValidation.htm 59KB
EditableBinding.htm 59KB
SmoothingPaint.htm 58KB
Thismodulecontainstherecursivedescentparserthatrecognizesvariables.htm 57KB
ADONETBindingMultipleControlBinding.htm 57KB
GradientLabelHost.htm 57KB
BitmapDemo.htm 57KB
CustomTreeView.htm 56KB
DataBinding4.htm 55KB
ShapeandTransform.htm 55KB
SMKMediaPlayer.htm 54KB
Formwithlistbutton.htm 53KB
TextFormat.htm 53KB
APOP3emailchecker.htm 52KB
ButtonGenerator.htm 52KB
FontMetrics.htm 52KB
Fontlist.htm 51KB
Helpicon.htm 50KB
DataChecker.htm 50KB
Usingadelegatewithacontainerclasstosortthecollectionandreturnasortedarrayusingdifferentsortcriteria.htm 49KB
MDIform.htm 49KB
ListBoxDemo2.htm 49KB
DrawingSquares.htm 49KB
FormOwnership.htm 49KB
GraphicsProperties.htm 48KB
MenuTextProviderHost.htm 48KB
FontViewer.htm 48KB
illustratestheuseofstrings.htm 47KB
ImplementsamultithreadedWebproxyserver.htm 47KB
Thismodulecontainstherecursivedescentparserthatdoesnotusevariables.htm 47KB
ListBoxBindingUnusualProperties.htm 46KB
CheckBoxStyle.htm 46KB
NewTcpChat.htm 46KB
Drawaline.htm 46KB
GetMacAddress.htm 45KB
DataGridBindingCustomDataGridColumnForm.htm 45KB
AdvancedPingProgram.htm 44KB
FloatingToolbar.htm 44KB
FormatAndParse.htm 44KB
FormAnchor.htm 44KB
PuttheSetclassintoitsownnamespace.htm 44KB
ColorChanger.htm 44KB
BlendAlpha.htm 43KB
Asetclassforcharacters.htm 42KB
LayoutManager.htm 42KB
Thesimplestpolynomialimplementation.htm 42KB
IllustrateshowtoperformINSERTUPDATEandDELETEstatementsusingADONET.htm 41KB
illustratestheuseofDateTimepropertiesandmethods.htm 41KB
DemonstratetheICharQinterfaceAcharacterqueueinterface.htm 41KB
HelpTest.htm 40KB
FormatAndParseImage.htm 40KB
DrawRectangle.htm 39KB
ADONETBindingMasterDetail.htm 39KB
MDIBasics.htm 39KB
DoubleBuffering.htm 38KB
KnownColors.htm 38KB
DelegatesAndEvents2.htm 38KB
SetTextOutputToEventLog.htm 38KB
ArcPieDemo.htm 38KB
MaskedTextBoxHost.htm 37KB
ADONETBindingUnsynchronized.htm 37KB
Locateanassemblydeterminetypesandcreateanobjectusingreflection.htm 37KB
FontAttributes.htm 37KB
共 1765 条
- 1
- 2
- 3
- 4
- 5
- 6
- 18
jiangyu405
- 粉丝: 0
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0