Skip to content

git clone [email protected]:SeaYJ/MouseClick.git #11778

@zxvedfdfbbb-maker

Description

@zxvedfdfbbb-maker

Type of issue

Typo

Description

[Enter feedback here]
private void Control1_MouseClick(Object sender, MouseEventArgs e) {

System.Text.StringBuilder messageBoxCS = new System.Text.StringBuilder();
messageBoxCS.AppendFormat("{0} = {1}", "Button", e.Button );
messageBoxCS.AppendLine();
messageBoxCS.AppendFormat("{0} = {1}", "Clicks", e.Clicks );
messageBoxCS.AppendLine();
messageBoxCS.AppendFormat("{0} = {1}", "X", e.X );
messageBoxCS.AppendLine();
messageBoxCS.AppendFormat("{0} = {1}", "Y", e.Y );
messageBoxCS.AppendLine();
messageBoxCS.AppendFormat("{0} = {1}", "Delta", e.Delta );
messageBoxCS.AppendLine();
messageBoxCS.AppendFormat("{0} = {1}", "Location", e.Location );
messageBoxCS.AppendLine();
MessageBox.Show(messageBoxCS.ToString(), "MouseClick Event" );
}

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.control.mouseclick?view=windowsdesktop-9.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Windows.Forms/Control.xml

Document Version Independent Id

d0b75ebf-3a8f-502b-fc3f-88f3782e50ac

Platform Id

5e2ee4ec-1c2b-3eb6-142c-8888ec9f8090

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-WinFormsIssues or PRs that relate to WinForms.code-of-conductIndicates issues that are spam, trolling, or anything that violates our code of conductuntriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions