C # winform Development Series-form/window

Source: Internet
Author: User

Form is a very important control in winform development. This article describes how to create a dialog box, load the prompt form, create a QQ prompt box, and create an irregular form (ArticleAnd RelatedCodeCollected from the Internet for your reference only. The copyright belongs to the original author! ).

1. yuweng Column

One of the first summary of csdn: Form Issues

FormThe problem is the most basic problem, becauseWinappProgramThe first contact is it, so the problems that arise in forums are also the most common.Common issues related to form are roughly divided into the following four categories.

The first type of problem: how to control the display sequence of the form;

The second type of problem: how to reference or operate on objects between forms;

Category 3: How to Solve the form uniqueness problem;

Last question: how to properly close a form or program.Read the full text>

 

How to keep a child form with only one instance in MDI

 

Because there are many child forms in MDI, the methods mentioned in my previous article are a little complicated. To adapt to multiple child forms and retain only one instance for each child form, I will replace it with a new method, that is, using the reflection method for processing.Read the full text>


Summary of uniqueness of programs and forms

How to display the progress bar in a mode window

Recently I have read many people asking this question. I used to write a blog about how to control the progress bar in the Child thread. However, in most environments, a pop-up window is required to display the progress bar. You only need to make a slight modification on the basis of the previous settings.Read the full text>

How to use C # as a floating window Program

How to use C # To write a simple login window

Recently, I have been asked on the internet how to perform Window jump. Most of the questions are related to the login window. In fact, since Visual Studio 6, the correct method is to judge the return value of the login window and decide whether to open the main form, so is the same in C.Read the full text>

How to operate controls of the other side between the main form and child form

 

How to operate controls on a form in a child thread

 

How to make your program run only once

 

How to merge the sub-form menu into the main form in the MDI Program

 

How to use C # As a desktop plug-in program

 

In C #, how does one modify a column in the DataGrid in a pop-up window?

 

How to display the DataGrid by page in winform

 

How to deploy a database using C #

 

How to use C # To deploy database resume

 

2. msproject open-source technology

In C #, setting is used to save the location and size of the custom form.

Custom open file dialog box

My first C # program: Address Book address book

When moving, the form automatically attracts you to the border of a form.

C # Hide all windows on the desktop

My Resource Manager

Form property saveder

How to ensure that the form has only one instance in the MDI Application

[Original] How to Prevent window closures

 

 

3. Another Kind Of splashform

Introduction

I have previously published an article on the use of Win32 APIs flash screen csplash-A Splash window class. The following article describes how to implement the same process in. NET Framework.

Prepare Images

Select an image that you like most. Select the part you like as the display part and fill the area with special colors.

4. A splash screen control

Translation
Lloyd Franklin. With Splash Screen Control

Introduction
Looking back, I looked around for examples of splash screen, but I couldn't find an example that fits my needs. I need a simple, reusable, reliable, and secure-No threads or child controls; and I want it to appear immediately at startup and stay on the screen, disappear when necessary. Of course, you can reproduce it at any time. I also see a number of examples based on win form under. net. In this article, I will use system. runtime. interopservices to create a top-level window for inheritance and control classes. I like this solution very much because it is easy to customize.

 

5. [translation] checks whether the control content on the form has changed

Translation

Duncan Edwards Jones. By form changed control

Introduction

This article is a component based on system. componentmodel. iextenderprovider. It allows you to list all controls on the form that have changed the content to determine whether to notify the user to save the changes.

 

6.create an irregular Window project file .rar windowsmovedemo.rar (a window is displayed slowly moving up at the right bottom of the desktop)

7. [translation] No form interface in C ++

[Original translation address]: Http://www.viksoe.dk/code/windowless1.htm

For a long time, Windows applications are based on the GDI/user window structure, which limits many places. When you try to use this built-in control set and then get a very nice application, you will understand this restriction.
A user interface without a form does not use the original Win32 control. Instead, you can customize image display for each control on the screen, including labels, buttons, and list boxes. Using this interface is not the latest: Most of the cool programs start "skin", such as Winamp and MS media player. However, skinning is only suitable for some small applications with few dialogs. If you are working on a database-driven program, you need a fixed framework.

So let's take a look at the Microsoft CRM (http://www.microsoft.com/businesssolutions/crm/) application, I personally think, it is one of the most successful DHTML interfaces (http://blogs.msdn.com/aaronel/articles/230420.aspx. The ms crm interface is very open to Windows XP, but there are also some other cool features, such as a navigation bar, a well-adapted list control and several shadow/gradient panels.

8. The message prompt box (cool) similar to MSN and QQ is displayed on the taskbar to simulate the msnpop dialog box. rar message Task Bar. rar the use of the inventory control file. rar

9. [translation] custom open file dialog box

Customizing openfiledialog in. netBy castortiu

Introduction

This is an open file dialog box that allows you to customize the extension function .. . Net has the openfiledialog class to open the file dialog box, but it is not customized. This control allows you to add custom functions to the. NET openfiledialog class. However, because the openfiledialog class is defined as sealed, you cannot inherit it.

 

10. C # achieve dynamic book turning

Today, when I sorted out university materials, I found my work in a software design competition on campus. The interface was a bit ugly: Hehe, But I still felt happy for my persistence and persistence, if you are interested, you can leave a mailbox to help your younger brother optimize the code. : Angel ~

 

11. Move the Untitled (Border) Form

12. winpopup.rar msn.rar in the pop-up window similar to QQ

13.

14. Similar to QQ qqcatchscreen.rar screencapture.rar webcapture.rar screencapture .rar capturescreen.rar

15.w.rar. rar.

16. Copy the outlook form style outookclone(olaf).zip

17. multi-language switching multi‑ageupd.rar

18. Enter inputbox_src.zip in the dialog box.

19. Customize a dialog box aboutbox_demo-net2-csharp.zip

20. Custom drawing form cballoon_src.zip

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.