Click here to Skip to main content
15,867,686 members
Home / Discussions / C#
   

C#

 
AnswerRe: Server.Transfer ...? Pin
Shameel1-Aug-12 0:14
professionalShameel1-Aug-12 0:14 
QuestionProblem with BeginReceive () Callback function Pin
tiwal30-Jul-12 23:00
tiwal30-Jul-12 23:00 
QuestionC# Monitoring Project PinPopular
stipy_terbang@yahoo.com30-Jul-12 22:47
stipy_terbang@yahoo.com30-Jul-12 22:47 
AnswerRe: C# Monitoring Project Pin
Wayne Gaylard30-Jul-12 23:10
professionalWayne Gaylard30-Jul-12 23:10 
AnswerRe: C# Monitoring Project Pin
Pete O'Hanlon30-Jul-12 23:16
subeditorPete O'Hanlon30-Jul-12 23:16 
AnswerRe: C# Monitoring Project Pin
OriginalGriff31-Jul-12 22:27
mveOriginalGriff31-Jul-12 22:27 
GeneralClickEventHandler fireing twice !! [SOLVED] Pin
Riadh1s30-Jul-12 22:14
Riadh1s30-Jul-12 22:14 
AnswerRe: ClickEventHandler fireing twice !! Pin
Pete O'Hanlon30-Jul-12 22:25
subeditorPete O'Hanlon30-Jul-12 22:25 
Effectively you are trying to add the same buttons twice. I know that you are adding them to different locations, but you have added it twice (which means you have ended up with 2 Click event handlers for each button). You only need to assign the Click event handler once. This should work:
C#
if (bouton.Click == null) bouton.Click += new Office._CommandBarButtonEvents_ClickEventHandler(Lancement_Formualire_Event);
I've just typed this in the CP editor, so you may need to adjust it.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: ClickEventHandler fireing twice !! Pin
Riadh1s30-Jul-12 22:42
Riadh1s30-Jul-12 22:42 
GeneralRe: ClickEventHandler fireing twice !! Pin
Pete O'Hanlon30-Jul-12 23:00
subeditorPete O'Hanlon30-Jul-12 23:00 
GeneralRe: ClickEventHandler fireing twice !! Pin
Riadh1s30-Jul-12 23:24
Riadh1s30-Jul-12 23:24 
GeneralRe: ClickEventHandler fireing twice !! Pin
Pete O'Hanlon31-Jul-12 0:03
subeditorPete O'Hanlon31-Jul-12 0:03 
GeneralRe: ClickEventHandler fireing twice !! Pin
Riadh1s31-Jul-12 0:24
Riadh1s31-Jul-12 0:24 
GeneralRe: ClickEventHandler fireing twice !! Pin
Pete O'Hanlon31-Jul-12 0:28
subeditorPete O'Hanlon31-Jul-12 0:28 
Questionhow to clear memory Pin
Ronenb30-Jul-12 21:52
Ronenb30-Jul-12 21:52 
AnswerRe: how to clear memory Pin
Eddy Vluggen30-Jul-12 23:40
professionalEddy Vluggen30-Jul-12 23:40 
GeneralRe: how to clear memory Pin
Ronenb30-Jul-12 23:45
Ronenb30-Jul-12 23:45 
AnswerRe: how to clear memory Pin
Eddy Vluggen31-Jul-12 0:10
professionalEddy Vluggen31-Jul-12 0:10 
GeneralRe: how to clear memory Pin
Ronenb31-Jul-12 3:02
Ronenb31-Jul-12 3:02 
AnswerRe: how to clear memory Pin
Eddy Vluggen31-Jul-12 3:12
professionalEddy Vluggen31-Jul-12 3:12 
GeneralRe: how to clear memory Pin
Pete O'Hanlon31-Jul-12 3:13
subeditorPete O'Hanlon31-Jul-12 3:13 
QuestionRe: how to clear memory Pin
Eddy Vluggen31-Jul-12 3:18
professionalEddy Vluggen31-Jul-12 3:18 
AnswerRe: how to clear memory Pin
Pete O'Hanlon31-Jul-12 3:27
subeditorPete O'Hanlon31-Jul-12 3:27 
GeneralRe: how to clear memory Pin
Eddy Vluggen31-Jul-12 5:05
professionalEddy Vluggen31-Jul-12 5:05 
GeneralRe: how to clear memory Pin
Ronenb31-Jul-12 3:21
Ronenb31-Jul-12 3:21 

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.