Click here to Skip to main content
15,916,846 members
Home / Discussions / C#
   

C#

 
GeneralRe: MSDN Pin
sreejith ss nair21-May-04 2:54
sreejith ss nair21-May-04 2:54 
GeneralRe: MSDN Pin
Dave Kreskowiak21-May-04 3:01
mveDave Kreskowiak21-May-04 3:01 
GeneralRe: MSDN Pin
Grimolfr21-May-04 4:05
Grimolfr21-May-04 4:05 
GeneralRe: MSDN Pin
Heath Stewart21-May-04 4:18
protectorHeath Stewart21-May-04 4:18 
GeneralOdd threads Pin
Christer Claesson21-May-04 1:20
Christer Claesson21-May-04 1:20 
GeneralRe: Odd threads Pin
Dave Kreskowiak21-May-04 2:59
mveDave Kreskowiak21-May-04 2:59 
GeneralYeah Pin
Christer Claesson21-May-04 3:05
Christer Claesson21-May-04 3:05 
GeneralExtremely odd freak incident. Pin
Christer Claesson21-May-04 3:02
Christer Claesson21-May-04 3:02 
Ok, walking away from java threads and into delegates and threads. Anyhow would work better in theory I guess.

But even though I follow this: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vjsharp/html/vjwlkwalkthroughauthoringsimplemultithreadedcomponentwithvisualj.asp guide more or less exact, I get errors.

VS.NET refuses to use System.Delegate.Combine(eventHandler, eventHandler):

public delegate void FactorialCompleteHandler(double Factorial, double TotalCalculations);<br />
<br />
public FactorialCompleteHandler  FactorialComplete;<br />
<br />
public void add_FactorialComplete(FactorialCompleteHandler e)<br />
{<br />
    FactorialComplete = (FactorialCompleteHandler) System.Delegate.Combine(this.FactorialComplete, e);<br />
}<br />
<br />


That is all of the relevant code from the walkthrough but for some reason it wont work. Gets a:

Cannot find method 'Combine(objectHandler, objectHandler)' in 'System.Delegate'
GeneralRe: Extremely odd freak incident. Pin
Dave Kreskowiak21-May-04 3:04
mveDave Kreskowiak21-May-04 3:04 
GeneralRe: Extremely odd freak incident. Pin
Christer Claesson21-May-04 3:09
Christer Claesson21-May-04 3:09 
GeneralRe: Extremely odd freak incident. Pin
Dave Kreskowiak21-May-04 3:55
mveDave Kreskowiak21-May-04 3:55 
GeneralSolved it! Pin
Christer Claesson21-May-04 4:49
Christer Claesson21-May-04 4:49 
GeneralRe: Solved it! Pin
Dave Kreskowiak21-May-04 8:57
mveDave Kreskowiak21-May-04 8:57 
GeneralCombine Xml's Pin
bertcox20-May-04 23:56
bertcox20-May-04 23:56 
GeneralRe: Combine Xml's Pin
Heath Stewart21-May-04 4:20
protectorHeath Stewart21-May-04 4:20 
GeneralBitmap.Save(&quot;bmpname&quot;,ImageFormat.Gif)'s problem Pin
fu020-May-04 23:50
fu020-May-04 23:50 
GeneralRe: Bitmap.Save(&quot;bmpname&quot;,ImageFormat.Gif)'s problem Pin
fu020-May-04 23:54
fu020-May-04 23:54 
GeneralRe: Bitmap.Save(&quot;bmpname&quot;,ImageFormat.Gif)'s problem Pin
Dave Kreskowiak21-May-04 2:50
mveDave Kreskowiak21-May-04 2:50 
GeneralRe: Bitmap.Save(&quot;bmpname&quot;,ImageFormat.Gif)'s problem Pin
fu021-May-04 16:43
fu021-May-04 16:43 
GeneralRe: Bitmap.Save(&quot;bmpname&quot;,ImageFormat.Gif)'s problem Pin
Dave Kreskowiak21-May-04 17:12
mveDave Kreskowiak21-May-04 17:12 
GeneralWeb service Exception Pin
Cutespn20-May-04 22:56
Cutespn20-May-04 22:56 
GeneralRe: Web service Exception Pin
Dave Kreskowiak21-May-04 2:44
mveDave Kreskowiak21-May-04 2:44 
GeneralRe: Web service Exception Pin
Heath Stewart21-May-04 4:12
protectorHeath Stewart21-May-04 4:12 
GeneralCreating a textbox dynamically!!! Pin
mmxguy20-May-04 22:29
mmxguy20-May-04 22:29 
GeneralRe: Creating a textbox dynamically!!! Pin
Aryadip21-May-04 0:16
Aryadip21-May-04 0:16 

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.