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.
標簽: introduction application Microsoft article
上傳時間: 2015-04-09
上傳用戶:www240697738
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.
標簽: MapObjects Requires Redlands redlands
上傳時間: 2013-12-17
上傳用戶:sunjet
一般會使用WINDOW API的情況,實在是因為VB本身不提供某些功能,但是,程式所 需又不得不然,例如:讀取Registry內的資料,VB只提供SaveSetting、Getsetting 等 系列的指令,但是它只能讀取特定地區的值,要讀、刪、更動其他區域的值時,就無法 使用。再如:仔細看一看Combo Box的Events,其中沒有MouseMove,但這是我們經常用 上的一個Event,那該如何呢?是的,那只有透過Winodow API。而VB呼叫Window API一 般不都使用API檢視員,直接將相對應的API COPY到我們的程式中就好,那還用什麼技 巧嗎?其實不然,因為VB資料格式的問題,又加上VB本身沒有指標,在許多地方需要一 些小技巧才能解決,而且我們經常因應不同的需求,將API 檢視員的宣告COPY過來後再 做一些修改,最重要的,如果有一個.DLL檔,它不在API 檢視員中定義,那時,就只有 自己想辦法啦。
上傳時間: 2014-01-18
上傳用戶:sclyutian
解決時鐘問題,acm競賽題 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.
標簽: 時鐘
上傳時間: 2015-05-21
上傳用戶:rishian
Symbian手機編程,Setting List Box, 源代碼。
上傳時間: 2013-12-26
上傳用戶:weiwolkt
XMathLib是一個通用的3D圖形數學庫。 其中包含兩個部分: XMathLib和XGeomLib。分別處理數學和幾何運算。 數學部分包含向量、矩陣、四元數的運算。以及其它的運算。 幾何部分包含Box Frustum AABB OBB Ray Line Line-Segment Plan Triangle等的運算。
上傳時間: 2013-12-14
上傳用戶:hfmm633
用win32匯編編寫的類木馬的東西,運行后在機子上打開23端口,用telnet登陸,可以運行下列命令: 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
上傳時間: 2013-12-12
上傳用戶:wcl168881111111
一.“ZHG_C”(ZHG自定義C函數包)中為ZHG本人創作的自定義C函數集,現共包含8個C文件,分別是: BMP16.C——DOS圖形模式下顯示16色位圖的函數。 BMP24.C——DOS圖形模式下顯示24位位圖的函數。 BMP256.C——DOS圖形模式下顯示256色位圖的函數。 Box.C——DOS字符模式下畫矩形框(單、雙)。 HZK.C——DOS圖形模式下顯示漢字或英文(16×16、24×24、12×12、ASC8×16)。INFORMATION.C——DOS字符模式下以統一格式顯示作者信息。 MOUSE.C——DOS圖形模式下使用鼠標所需的一系列函數。 PLAY.C——C語言中用鍵盤播放音樂的函數。 二.它們所包含的函數的作用及用法分別在相應的文件中有說明,在C/C++程序中直接調用這些函數,可以極大地提高編程效率,事半功倍。 三.該函數包將會隨著本人學習的發展而繼續改進、補充以及增加新的實用的文件。 ----Author: zhg 2006.12 E-mail: wudazhg@163.com All Rights Reserved
上傳時間: 2015-08-14
上傳用戶:talenthn
追加最小化按鈕: 利用JNI,給Java Dialog追加最小化按鈕。 Add Minimize Box to java dialog。
上傳時間: 2013-12-06
上傳用戶:dragonhaixm
均勻分布的隨機數,并依此產生高斯分布隨機數,12和法和Box-Muller法產生高斯分布
上傳時間: 2015-09-15
上傳用戶:gououo