c# - Handling LinkClicked event for the richtextbox; the code runs twice inside the event handler -



c# - Handling LinkClicked event for the richtextbox; the code runs twice inside the event handler -

i've windows form richtextbox in it.there link when clicked triggers linkclicked event handler like,

private void textsampleresults_linkclicked(object sender, linkclickedeventargs e) { callsomemethod1; callsomemethod2; }

when started debugging, expecting code within event handler run 1 time started calling callesomethod1 , callsomemethod2 again.in summary, every click, code under event handler executed twice. expected? how create behave code under event handler gets executed once?

c#

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -