1. Simply call external program files (EXE file, batch processing, etc.), just the following line of codeSystem.Diagnostics.Process.Start ("Application file full path");2. If you want to wait for the calling external program to complete before
[State mode] State Pattern, statepattern
Let's first design a scenario where the beverage vending machine will design its sales process.
In the flowchart, we can regard this process as several states: coin status, select the beverage status, sales
C # differences between delegate and event,
In general, a delegate is a class that maintains a field internally and points to a method. An event can be considered as a delegate type variable. Multiple delegates or methods can be registered or
C # Close the first Form window and open another new window method
Many people ask how to close a FORM and open another new Form. The most serious problem is that when performing login verification, You need to close yourself after successfully
Helped the company's personnel MM to make a payroll split tool, mm splitIntroduction
Occasionally, at lunch time, I said that I had to work overtime for more than 8 o'clock. I copied and pasted the Excel content manually. The company has about 150
Concepts that must be known about the essence of a set-linked list
If you want to have an essential understanding of collections (series), linked lists are a concept that must be understood. This article mainly includes:
● Origins and definitions
Decorator mode that comes to mind when playing football, and decorator mode when playing football
Recently, I played a 9-person game. In the first half of the game, we used a poor defensive effect. In the second half, we took the initiative to take
C # collection Operators
1. String concatenation operator ("+ ")
The Character String concatenation operator connects two strings to form a new character string. It appears in the Program ("prompt character" + variable), which serves as a character
Delegate and event (1), delegate eventI personally think that the most important essence of c # is its delegation.
To be honest, it is now the era of c #5.0, and c #6 will soon come out. As a c #1 delegate, it has long been encapsulated by more
Dbf engineering mode connection (vfp c #),
First, download the "Microsoft ole db Provider for Visual FoxPro 9.0" Driver from the official Microsoft website.
After the download is complete, get "VFPOLEDBSetup. msi"
Double-click to install vfpoledb.
Basic concepts of Events-Beginning Visual C #,
A trigger condition is required for an event, such as timed occurrence, Mouse clicking, and the event itself. Therefore, the simplest events-related example is as follows:
// Time trigger class
C # programming to search for text in Excel documents,
With the experience of programming and searching text in Word documents, it is not difficult to implement this function in Excel.
Open the Excel VBA help to view the Excel object model. It is
Simple use of Json data parsing, json data parsing
Simply remember the simple and practical Json parsing:
Scenario: Json data uploaded from the background to the client, similar:
string jsonObject="{'Name':'Jack','Age':25}";string jsonArray =
ASP. NET vNext and monovnext, the next-generation cloud environment Web development framework compatible with Mono
Microsoft announced at the TechEd conference in May 12, 2014 that it would release a preview of the next-generation ASP. NET Framework
Transactions are used in the stored procedure. transactions are used in the stored procedure.
I. Simple Syntax of transactions used in Stored Procedures
It is very important to use transactions in the stored procedure. Using data can maintain the
C # export the data displayed in the dataGridView to Excel (ultra-simplified edition)
Using System; using System. collections. generic; using System. linq; using System. text; using Microsoft. office. interop; using Microsoft. office. interop. excel;
Practical ASP. NET shared folder access (including detailed operation steps), practical asp.net
Reprinted: http://www.cnblogs.com/dudu/archive/2012/03/27/asp_net_share_folder.html
Blog to find (http://zzk.cnblogs.com) index files take up too much
In programming, hexadecimal conversion
(Binary, octal, decimal, hexadecimal)
Binary is composed of 0 and 1
[Decimal to binary] For example, if 23 is written as binary 10111
23/2 = 11 + 1
11/2 = 5 1
5/2 = 2 1
2/2 = 1 0
Therefore, the binary value for
C # programming practices-help my wife calculate the maternity leave plan,Summary
During lunch break at noon today, I chatted with my wife. My wife has to take maternity leave in a few days. She asked me on the Internet to help her count how to ask
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.