Form interface Design 01

Source: Internet
Author: User

01. Fluttering Animation Form

SystemInformation.PrimaryMonitorMaximizedWindowSize.Width Get screen width

SystemInformation.PrimaryMonitorMaximizedWindowSize.Height Get screen height

Desktoplocation get the location of the form on the Windows desktop

02. Transparent Animation Form

Form Opacity Properties

03. Using API functions to implement animation forms

API function AnimateWindow () to implement the form left, right, up, down, fade in, slide, or scroll animation effects


Eg:animatewindow (this. handle,2000,aw_hor_positive)

04. Flashing Animation Form

Application of API function FlashWindow

TransparencyKey, dock properties for a form

05. Scrolling Caption Animation form

WindowState Property

TransparencyKey Property

06. Super Girl Cartoon form

Application of the bitmap class encapsulating GDI + bitmaps

Application of the bitmap (), Maketransparent () method of the bitmap class

Forms StartPosition, FormBorderStyle properties apply

Overriding the application of the form OnPaint event


07. Always in the top-most login form

Topmost properties of the form

Message dialog box Show method for MessageBox


08. Round form in the center of the screen

System.Drawing.Drawing2D namespaces

AddEllipse Methods for GraphicsPath objects


09. Translucent T-shaped form

Application of point data

Addpolygon method for GraphicsPath object (can draw polygons)


10. Multi-Document MDI form

IsMdiContainer Properties of the form

Drop-down menu MenuStrip control application

Application of the status bar StatusStrip control

Open dialog box OpenFileDialog and Save dialog SaveFileDialog app

Page Setup dialog box PageSetupDialog and page print control PrintDocument application

App for Print Preview dialog box PrintPreviewDialog

Application of Font dialog box FontDialog

Date-Time Object datetime application

Application of RichTextBox control

Application of Clipboard object clipboard

Application of String Stream object StringReader



Form interface Design 01

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: 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.