Recommend several screenshot tools

巴扎黑
Release: 2017-06-12 15:30:26
Original
1322 people have browsed it

When using the screenshot function of QQ, do you think its cursor is cool? Today I will talk about how to apply a custom cursor and use the QQ screenshot cursor in our screenshot tool. Open resources: Switch to the file resource view: Open the resource file directory and copy the cursor file to this directory: Download the required cursor file: C# software development example. Customize the cursor file used in your own screenshot tool. Select the Resources directory. , refresh, and display the cursor file just copied in: select the cursor file and drag it to the file view of the resource: the first letter of the word in the resource resource name is changed to uppercase. Cursor preview: Add private variables in the Form1 class: #region Custom cursor System.Windows.Forms.Cursor cursorCross =&

1. 10 Example Tutorials of Screenshot Function

Recommend several screenshot tools

Introduction: When using the screenshot function of QQ, do you think its cursor is cool? Today I will talk about how to apply a custom cursor and use the QQ screenshot cursor in our screenshot tool. Open resources: Switch to the file resource view: Open the resource file directory and copy the cursor file to this directory: Download the required cursor file: C# software development example. Customize the cursor file used in your own screenshot tool. Select the Resources directory. , refresh, and display the cursor file just copied in: select the cursor file and drag it to the file view of the resource: the word in the resource resource name...

2. C# Development Example-Customized Screenshot Tool (10) Include the mouse pointer shape in the screenshot

Recommend several screenshot tools

# #Introduction: When writing a help document, if the captured picture also has a mouse pointer shape, it will look more intuitive and friendly. Next, let’s talk about how to include the mouse pointer shape in the screenshot. Previous article: C# software development example. Customize your own screenshot tool (9) Use a custom cursor to add the structure CURSORINFO to the cursor when taking a QQ screenshot: [StructLayout(LayoutKind.Sequential)] struct CURSORINFO {

3. C# Development Example-Customized Screenshot Tool (9) Using a custom cursor and the cursor when taking QQ screenshots (picture)

Recommend several screenshot tools

Introduction: When using QQ’s screenshot function, do you think its cursor is cool? Today I will talk about how to apply a custom cursor and use the QQ screenshot cursor in our screenshot tool. Open the resource: switch to the file resource view: open the resource file directory, copy the cursor file to this directory: select the Resources directory, refresh, display the cursor file just copied in: select the cursor file, drag it to the file view of the resource : Resource The first letter of the word in the resource name is changed to uppercase. Cursor preview: Add private variables in the Form1 class:

4. C# Development Example-Customized Screenshot Tool (8) Add Keyboard Operation Screenshot Function Code Example

Recommend several screenshot tools

Introduction: Previous article: C# software development examples. Customize your own screenshot tool (7) Add Although the magnifying glass function has been added, it is still not easy to position accurately at the pixel level. It is still difficult to change the position of one or two pixels when operating with the mouse. Handle keyboard press events /// /// Handle keyboard press events /// Used to implement the following functions: /// When the user presses the Esc key, exit the screenshot process;

5. C# Development Example-Customized Screenshot Tool (7) Code Example for Adding the Magnifying Glass Function

Recommend several screenshot tools

Introduction: Previous article: C# software development example. Customize your own screenshot tool (6) Add configuration management function. Since you may need to accurately capture a certain part when taking a screenshot, you need the function of a magnifying glass, so capture it like this It is easier to locate the location of the screenshot. Add a PictureBox and set the name attribute to "pictureBox_zoom"; add the following code in the "Form1_Load" event handler: //Set the size of the magnifying glass this.pictureBox_zoom.Widt

6. C# Development Example-Customized Screenshot Tool (6) Detailed Explanation of Adding Configuration Management Function (Picture and Text)

Recommend several screenshot tools

Introduction: To achieve the flexibility of user configuration, the program needs to add configuration management functions. Here, the .NET application configuration file app.config is used to save the configuration information. The .NET Framework provides a good way to read and write configuration files. support. To implement the configuration file reading function, you need to reference the System.Configuration namespace. Provide source code download, source and truth.

7. C# Development Example-Customized Screenshot Tool (5) Optimization for flickering and freezing when dragging

Recommend several screenshot tools

#Introduction: Due to a mistake during implementation, the area redrawing technology of the main form was not used, but a Label component was used to display the interception. image area, so when dragging to make the interception area smaller or taking a reverse screenshot, flickering and freezing will be more serious. Here are some targeted optimizations to address these two issues. Enable double buffering public Form1() { InitializeComponent(); //

8. C# Development Example-Customized Screenshot Tool (4) Basic Screenshot Function Implementation Code

Recommend several screenshot tools

Introduction: Implementation principle: The function of basic screenshots mainly relies on responding to mouse presses and mouse movements of the main form , the function of several events is implemented when the mouse is raised. The captured picture area is displayed using the "Label" component, and the "Paint" method of the "Label" component needs to be re-implemented. Left-click to start taking a screenshot, right-click to cancel the screenshot, double-click the left mouse button to complete the screenshot, and save the captured image to the Windows clipboard.

9. C# Development Example-Customized Screenshot Tool (3) Graphical Introduction to Tray Icon and Menu Implementation

Recommend several screenshot tools

Introduction: Overview Adding the tray icon function is mainly to add menu functions. You can manage programs through the tray icon; the tray menu includes "open the save directory, record Flash Animation, recording GIF animation, 5-second delayed screenshot, screenshot, settings, exit" and other functions. System Tray The system tray is a special area, usually at the bottom of the desktop, where users can access running programs at any time. In Microsoft Windows, the system tray often refers to the status area of ​​the taskbar; on the Gnome desktop, it often refers to the bulletin board area; on the KDE desktop, it refers to the system tray

##10. C# Development Example-Customized Screenshot Tool (2) Create Project, Register Hotkeys, and Display the Screenshot Main Window

Recommend several screenshot tools

##Introduction: C# software development examples. Customize your own screenshot tool (2) Create a project, register hot keys, and display the screenshot main window to implement the hot key function. You need to use Windows API to register the hot key: RegisterHotKey function. Define a system-wide hotkey. Function prototype: BOOL RegisterHotKey (HWND hWnd, int id, UINT fsModifiers, UINT vk); Cancel hotkey registration: UnregisterHotKey This function releases the hotkey previously registered by the calling thread. Get the hotkey ID: GlobalAddAtom only works with desktop applications. Add a

to the global atom table

The above is the detailed content of Recommend several screenshot tools. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template