Home System Tutorial Windows Series Please tell me, I want to use vs2010 to write a windows window application. I hope it can achieve

Please tell me, I want to use vs2010 to write a windows window application. I hope it can achieve

Jan 07, 2024 am 11:34 AM
Desktop program vs2010fo Please tell me, I want to write a wind using vs2010 c in windows vs2010

Excuse me, I want to use vs2010 to write a windows window application. I hope it can achieve

You can install the database on your own computer so that your computer can act as a server.

Other users only need to install this Windows window application and set the database connection string in the configuration file to your IP address.

For example, assume your IP address is 10.10.0.243, the database example is named kaifa, the database is named ftdata, the username is sa, and the password is 123456.

C in VS2010 windows

Add the following code under the InitializeComponent(); statement of the form's constructor

this.Location = new System.Drawing.Point(100, 100);

this.Cursor = System.Windows.Forms.Cursors.Hand;

// Defined on the form, the cursor is displayed as a hand

this.Text = "Transparent WinForm form!";

// Define the title name of the form

this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;

// Define the starting display position of the form to be the middle of the screen

this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;

// The border of the form is of Fixed3D type

this.ForeColor = System.Drawing.SystemColors.Desktop;

//Use the foreground color of the desktop as the foreground color of the form

this.Font = new System.Drawing.Font("宋体", 9);

// Define font type and size

this.BackColor = System.Drawing.Color.Blue;

// Define the background color to be blue

this.ClientSize = new System.Drawing.Size(440, 170);

//Set the size of the form

//The Opacity attribute sets the transparency level of the form, only valid for Windows 2000

this.Opacity = 0.61;

The above is the detailed content of Please tell me, I want to use vs2010 to write a windows window application. I hope it can achieve. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

ReactOS, the Open-Source Windows, Just Got an Update ReactOS, the Open-Source Windows, Just Got an Update Mar 25, 2025 am 03:02 AM

ReactOS 0.4.15 includes new storage drivers, which should help with overall stability and UDB drive compatibility, as well as new drivers for networking. There are also many updates to fonts support, the desktop shell, Windows APIs, themes, and file

Microsoft's New PowerToys Search Is the Missing Feature Windows 11 Needs Microsoft's New PowerToys Search Is the Missing Feature Windows 11 Needs Apr 03, 2025 am 03:53 AM

Microsoft's latest PowerToys update introduces a game-changing search feature reminiscent of macOS' Spotlight. This improved "Command Palette" (formerly PowerToys Run) surpasses the functionality of the Windows R Run command and the task

New to Multi-Monitors? Don't Make These Mistakes New to Multi-Monitors? Don't Make These Mistakes Mar 25, 2025 am 03:12 AM

Multi-monitor setups boost your productivity and deliver a more immersive experience. However, it's easy for a novice to stumble while assembling the setup and make mistakes. Here are some of the most common ones and how to avoid them.

How to Disable Windows 11 Round Corners: 4 Easy Methods! How to Disable Windows 11 Round Corners: 4 Easy Methods! Mar 27, 2025 pm 03:27 PM

This guide provides four methods to remove the rounded corners in Windows 11, restoring the classic square-edged look. While the rounded corners offer a modern aesthetic, some users prefer the sharper look for reasons including improved screenshot a

Windows kb5054979 update information Update content list Windows kb5054979 update information Update content list Apr 15, 2025 pm 05:36 PM

KB5054979 is a cumulative security update released on March 27, 2025, for Windows 11 version 24H2. It targets .NET Framework versions 3.5 and 4.8.1, enhancing security and overall stability. Notably, the update addresses an issue with file and directory operations on UNC shares using System.IO APIs. Two installation methods are provided: one through Windows Settings by checking for updates under Windows Update, and the other via a manual download from the Microsoft Update Catalog.

These Are My Go-To Free Alternatives for Paid Windows Apps These Are My Go-To Free Alternatives for Paid Windows Apps Apr 04, 2025 am 03:42 AM

Many free apps rival their paid counterparts in functionality. This list showcases excellent free Windows alternatives to popular paid software. I firmly believe in using free software unless a paid option offers a crucial, missing feature. These

Why Do Some Keyboards Have Coiled Cables? Why Do Some Keyboards Have Coiled Cables? Mar 27, 2025 pm 09:01 PM

For mechanical keyboard enthusiasts, those intriguing coiled cables are a common sight. But why the coil? Let's delve into the reasons. Coiled Cables: Primarily Aesthetics The main draw of coiled cables is their visual appeal. They enhance the look

The Pixel 9a and Your Non-Private Smart Home: Weekly Roundup The Pixel 9a and Your Non-Private Smart Home: Weekly Roundup Mar 25, 2025 am 03:09 AM

Smart Home Privacy Takes a Blow as Amazon Kills Alexa Local Processing Alexa devices will no longer offer a "do not send voice recordings" setting after March 28th. Future Alexa recordings must be sent to the Amazon cloud, though you can

See all articles