12-21c# Computer blue screen effect (can spoof the trick OH), input and output stream (Streamreader/streamwriter)

Source: Internet
Author: User

First, WinForm computer blue screen effect

The first method: basic operations:

First step: Create a new C # form "Form1";

Step two: In the design window, change its properties:

1) Text property: Cancels the text in the Form1 Text property, and then lets the form name appear blank;

2) Showicon property: Because the WinForm form defaults to the icon, you only need to change the Showicon property to False (the icon is not displayed);

3) StartPosition property: Centerscreen;

4) Formboderstyle property: Set to none; (The border of the form will be removed)

5) BackColor property: Set to Hottrack, (you can also set other colors, here to show the realistic effect, using this color ...) )

The third step: you can add text and other control effects. Here are two pictures. (to show the realistic effect, xiaoqing or recommend the first one is better ...) )

Effect One:

Effect Two:

The second way: to write code (but a bit of trouble oh ...) )

Second, StreamReader (output stream)

--From the hard disk through StreamReader compiled output, read files;

For example: "Open action in the text document"

Three, StreamWriter (input stream)

--documents and so on through the StreamWriter stream to write to the hard disk;

For example: "Save action in text document"

12-21c# Computer blue screen effect (can spoof the trick OH), input and output stream (Streamreader/streamwriter)

Related Article

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.