Click here to Skip to main content
15,890,506 members
Home / Discussions / C#
   

C#

 
GeneralRe: Need C# Tutorial Writers - Will pay Pin
checker_src25-Jul-04 3:39
checker_src25-Jul-04 3:39 
GeneralConsole Applications Pin
Vickie Madigan24-Jul-04 15:33
Vickie Madigan24-Jul-04 15:33 
GeneralRe: Console Applications Pin
Small Rat24-Jul-04 17:53
Small Rat24-Jul-04 17:53 
GeneralRe: Console Applications Pin
Grimolfr25-Jul-04 2:54
Grimolfr25-Jul-04 2:54 
GeneralRe: Console Applications Pin
Vickie Madigan25-Jul-04 17:24
Vickie Madigan25-Jul-04 17:24 
GeneralRe: Console Applications Pin
Grimolfr26-Jul-04 3:54
Grimolfr26-Jul-04 3:54 
GeneralXML Data Pin
Anonymous24-Jul-04 10:16
Anonymous24-Jul-04 10:16 
QuestionHow to prevent WebBrowser control correspond to click event twice after loads html file twice? Pin
nakey_yang24-Jul-04 8:40
nakey_yang24-Jul-04 8:40 
In my windows application,i embed a Com webbrowser control.In DocumentComplete
Event i add thid code:"Event= (HTMLDocumentEvents2_Event)axWebBrowser1.Document;Event.onclick += new mshtml.HTMLDocumentEvents2_onclickEventHandler(ClickEventHandler);" the ClickEventHandler function is defined as :
private bool ClickEventHandler(mshtml.IHTMLEventObj e)
{
MessageBox.Show(e.type + ":" + e.srcElement.tagName);
return true;
}
Now the problem is,when i first load a html file,it work correctly,but when i load a new file again,the MessageBox appear twice,load third file,it appear three time,and so on.So,What can i do to get rid of it,Let the message just appear one time.

I will appreciate you help!
GeneralMicrosoft SQL Server Express Pin
Marlun24-Jul-04 5:30
Marlun24-Jul-04 5:30 
GeneralRe: Microsoft SQL Server Express Pin
Dave Kreskowiak24-Jul-04 9:21
mveDave Kreskowiak24-Jul-04 9:21 
GeneralRe: Microsoft SQL Server Express Pin
Grimolfr25-Jul-04 2:45
Grimolfr25-Jul-04 2:45 
GeneralRe: Microsoft SQL Server Express Pin
Marlun25-Jul-04 6:22
Marlun25-Jul-04 6:22 
GeneralWinforms Controls Pin
Mankayarkarasi24-Jul-04 2:28
Mankayarkarasi24-Jul-04 2:28 
GeneralRe: Winforms Controls Pin
DougW4825-Jul-04 19:36
DougW4825-Jul-04 19:36 
GeneralRe: Winforms Controls Pin
Mankayarkarasi29-Jul-04 0:43
Mankayarkarasi29-Jul-04 0:43 
GeneralBudding Programmer Pin
doctrane23-Jul-04 23:13
doctrane23-Jul-04 23:13 
GeneralRe: Budding Programmer Pin
softp_vc23-Jul-04 23:51
softp_vc23-Jul-04 23:51 
GeneralRe: Budding Programmer Pin
doctrane24-Jul-04 0:46
doctrane24-Jul-04 0:46 
GeneralRe: Budding Programmer Pin
Rocky Moore24-Jul-04 11:04
Rocky Moore24-Jul-04 11:04 
GeneralClosing Form after FormLoad Event Pin
myNameIsRon23-Jul-04 20:47
myNameIsRon23-Jul-04 20:47 
GeneralRe: Closing Form after FormLoad Event Pin
Dave Kreskowiak24-Jul-04 5:05
mveDave Kreskowiak24-Jul-04 5:05 
GeneralRe: Closing Form after FormLoad Event Pin
myNameIsRon25-Jul-04 12:08
myNameIsRon25-Jul-04 12:08 
GeneralHandling e-mail as files Pin
Grimolfr23-Jul-04 18:55
Grimolfr23-Jul-04 18:55 
GeneralRe: Handling e-mail as files Pin
Heath Stewart26-Jul-04 8:01
protectorHeath Stewart26-Jul-04 8:01 
GeneralRe: Handling e-mail as files Pin
Grimolfr26-Jul-04 11:40
Grimolfr26-Jul-04 11:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.