Some learning jobs in C #

Source: Internet
Author: User

: HTTP://PAN.BAIDU.COM/S/1DEGCJDF

Including:

Implement QQ rotation form function

Instead of "Rotate by angle", the stereo rotation is achieved. Realize QQ rotation form function, the window is irregular image, turn on the rotation 180 degrees display. Originally only 1 forms can be rotated directly, but because the form blur transparent shadow rotation cannot be processed, it is displayed in 2 form order: First, the first form intercepts the screen as the background of the form, rotates, and then opens the second form display, closing the 1th form. 2 forms are images, display the same, the 2nd one more click, the first is just the image display and rotation. Principle: Actually makes the cube rotates, adds the image on the cube surface, the mouse clicks the judgment position to respond, the preceding example writes about the graphical form the click Operation already has the complete example. The directory contains the DLL's source code and example, is the rotation of the cube, according to this example, modified DLL code was compiled again. This DLL source code and example is simple, can be directly applied to your program inside, can achieve three-dimensional rotation, tilt rotation and so on. If the image in the program is inverted or misplaced, adjust the angle rotateflip (ROTATEFLIPTYPE.ROTATE90FLIPXY); Time is limited, the program is written in a more humble, the display effect of self-modification adjustment added.

File Management daemon

This program does not have practical use, only for the study reference. The program is 64-bit, for 32-bit, view the Word document in the attachment. The program only uses: Panel, PictureBox two components, and custom scroll, textbox. None of the others. The database is SQL2008, and the database user password modifies the contents of the static public void Init_sqlservercommand () of the MsgList.cs file according to your configuration; the attachment contains the database file, which is attached to the SQL2008 to be used. Scocket in the program "Configuration Management" settings for your IP, port, configuration complete exit Restart program to take effect; The client can be used to recompile based on this IP, port modification. Audio, video using VLC MediaPlayer DLL, for the latest version 2.26, available in the format: string[] Video_type = new string[60] {". 3g2", ". 3pg", ". 3gp2", ". 3GPP", ". AMV", ". asf", ". avi", ". Bik", ". DivX", ". DRC", ". DV", ". F4V", ". flv", ". GVi", ". Gfx", ". m1v", ". m2v", ". m2t", ". M2ts", ". m4v", ". MKV ",". mov ",". Mp2 ",". MP2V ",". mp4 ",". mp4v ",". Mpe ",". Mpeg ",". Mpeg1 ",". MPEG2 ",". MPEG4 ",". mpg ",". Mpv2 ",". MTS ",". MTV ",". MXF ",". Mxg ",". Nsv ",". Nuv ",". Ogg ",". OGM ",". Ogv ",". OGX ",". PS ",". Rec ",". Rm ",". rmvb ",". RPL ",". Thp ",". Tod "," . ts ",". TTs ",". Txd ",". Vob ",". Vro ",". WebM ",". Wm ",". wmv ",". Wtv ",". Xesc "}; string[] Audio_type = new string[58]  {". 3ga", ". A52", ". AAC", ". AC3", ". ADT", ". Adts", ". AIF", ". aifc", ".", ". Aiff", ". Amr", ". ",". Aob ",". Ape ",". AWB ",". Caf ",". DTS ",". Flac ",". It ",". Kar ",". m4a ",". M4B ",". M4P ",". M5P ",". Mid ",". Mka ",". MLP ",". MoD ",". MPa ",". Mp1 ",". Mp2 ",". mp3 ",". MPC ",". MPGA ",". Mus ",". Oga ",". Ogg ",". Oma ",". Opus ", ". Qcp", ". Ra", ". Rmi", ". S3m", ". Sid", ". SPX", ". ThD", ". Tta", ". VOC", ". Vqf", ". W64", ". wav", ". wma", ". WV", ". Xa", ". XM", ". WebM ",". Wm ",". wmv ",". Wtv ",". Xesc "}; Keep the uppercase folders and plugins, res folders in the Bin folder. Server, the client has been cut, only to do learning. Other detailed instructions in the attached Word document. Just beginner's practice, relatively humble, for reference only.

NVLC Sample Source code

Know what it is. Compile WinForm Demo and change it to any CPU. NLog.dll no source, but there is no use, the program can be removed.

Page pagination Image display

Only PictureBox a control in the window. In the program, you can write more than 500 strings, then display the page numbers, display the records on the page, and adjust the number of displays. Mouse click, location is based on the location. All pictures show, fast, no delay, more smooth than button and other components display. Picture in the Res folder, you can adjust the processing, calculate the coordinates of the location on it. If there is a problem, modify it yourself.

Login Window Design

Call in Program.cs, the user (160018) password (123456) is correct, enter the main program, error is prompted. The effects of window shading are 2 ways, API (Form1.cs) and transparent shadow Picture (Show_tips.cs). The animated background references the previous example picture file in Bin/res.

Motherboard CPU Graphics Memory HDD _ Fan temperature voltage detection

I can be a master of Lu.

Use Openhardwaremonitor dynamic Library, for open source software, have all source code. This example uses the latest version of 0.8.0.2 to follow its official website update. Non-source DLLs and controls are used with caution. The official demo basically can't see, too much TM cumbersome, do not bother to look at the official demo code, spent a whole day to split the original demo, wrote the basic application of the example, simplified a lot, easier to modify the application to your code inside, the program used in the "Refresh" button, can be rewritten as thread automatic refresh, self-modification. English is not good, if the text and code order wrong, self-reference original modification.

BT Download Client

You can make a thunderbolt on your own.

To implement the BT download client, the component has all the source code and examples, too cumbersome, wrote 1 simple processing download example, the component contains a very rich content, you can learn to write.

Some learning jobs in C #

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.