This article is a very simple introduction writing a Windows Form application for the
Microsoft.NET framework using C#. The sample application demonstrates how to create and
layout controls on a simple form and the handling of mouse click events. The application
displays a form showing attributes of a file. This form is similar to the properties dialog boX of a
file (Right click on a file and Click on Properties menu item). Since attributes of a file will be
shown, the sample will show how to use File IO operations in .NET framework.
abel Tool Sample
Requires: Visual Basic 6 and MapObjects 2.x
Data: redlands.shp (Redlands sample data set from MO 2.x)
Interactive Labeling Tool
If the check boX is checked, then the mouse down location will search for the closest line, and label it with the street name. If the check boX is not checked, then the mouse down will turn into a pan/zoom tool.
There is a slider bar to control the search tolerance in screen pixels for the labeling.
解決時(shí)鐘問題,acm競(jìng)賽題
A weird clock marked from 0 to 59 has only a minute hand. It won t move until a special coin is thrown into its boX. There are different kinds of coins as your options. However once you make your choice, you cannot use any other kind. There are infinite number of coins of each kind, each marked with a number d ( 0 <= 1000 ), meaning that this coin will make the minute hand move d times clockwise the current time. For example, if the current time is 45, and d = 2. Then the minute hand will move clockwise 90 minutes and will be pointing to 15.
Now you are given the initial time s ( 0 <= s <= 59 ) and the coin s type d. Write a program to find the minimum number of d-coins needed to turn the minute hand back to 0.
XMathLib是一個(gè)通用的3D圖形數(shù)學(xué)庫(kù)。
其中包含兩個(gè)部分:
XMathLib和XGeomLib。分別處理數(shù)學(xué)和幾何運(yùn)算。
數(shù)學(xué)部分包含向量、矩陣、四元數(shù)的運(yùn)算。以及其它的運(yùn)算。
幾何部分包含boX Frustum AABB OBB Ray Line Line-Segment Plan Triangle等的運(yùn)算。
用win32匯編編寫的類木馬的東西,運(yùn)行后在機(jī)子上打開23端口,用telnet登陸,可以運(yùn)行下列命令:
open filename - open the file or program
msg message - place message plainly over screen
boX message - show within a messageboX
cdopen - to open CDROM drive door
cdclose - to close CDROM drive door
bye - terminate connection, handles one user at a time
kill - terminate sparczerver