-
The button does not have a doubleclick event.
eventhandler(button1_doubleclick);With this method, the double-click event is not triggered when double-clicked, but rather a double-click event.
It is recommended to use label, select an event (like lightning) in the property, and double-click and doubleclick. The image property can be changed to make it look like a button.
If you must use the button button, you can add a timer, which is named button1 and timer1. Double-click button1 and timer1 to add button1 click and timer1 tick, respectively. Set the interval of timer1 to 100 (i.e. seconds).
If the timer's enabled value is false when you click the button, start the timer, otherwise close the timer and double-click. ** Below:
private void button1_click(object sender, eventargs e)
if(= false;
The following is the content of a double-click event.
Double-click the event to end.
true;If the current time is more than 1 second after the last recording time, the timer is closed and the click event is executed. ** Below:
private void timer1_tick(object sender, eventargs e)
if ( == "")
elseif ((
false;
The following is the content of the click event.
Click End of Event.
-
1. First of all, create a new form as the carrier of button.
2. Then on this form, drag a button from the toolbar.
3. Then select the button and press the silver button, right-click - you can select the attribute from the menu and click it.
4. After clicking, in the open attribute group, find the text attribute, fix the value of the text and modify it to OK.
5. At this time, the button on the interface and the display text will be changed to the content after the correction of the eggplant.
-
1. First of all, create a new form as the carrier of button.
2. Then on this form, drag a button from the toolbar.
3. Then select the button, right-click - you can select the attribute from the menu and click it.
4. After clicking, in the open attribute group, find the text attribute, modify the value of text, and modify it to OK.
5. At this time, the button on the interface and the displayed text will be changed to the modified content.
-
Click on the event, left-click on the designer, and double-click the button. Double-click on an event to go to the Events tab and find mousedoubleclick, click on the event and it will be automatically generated.
-
The right-click properties are onclick() and ondoubleclick() event properties.
-
Double-click the form directly. Is it ready to sign up?
-
Learn about the properties and events of controls, practice them...
I know too much of this kind of problem. All want templates to be auto-generated. >>>More
Select the directory in the references, and after you get the settings right, the directory will be automatically compiled. >>>More
How to automatically generate a wps directory.
1. Open the excel document you want to operate.
2. Press the Ctrl+L key to pop up the Create Table prompt box, and click the OK button in the box. >>>More
The automatic generation method of the catalog. There are two key points: one is the use of "style and formatting" for long documents; The second is the automatic generation of directories. >>>More