Callback function in c# - WPF -


i have class define class b:

b b=new b() 

i call function in class b.when tried make function- static- got error cause have in function-

dispatcher.begininvoke... 

is there way it?

why not pass reference of b.

something like

public class {     public a()     {         b b = new b(this);        } }  public class b {     public b(a a)     {      } } 

or make property of b.

something like

public class {     public a()     {         b b = new b                   {                       mya =                   };     } }  public class b {     public mya; } 

Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -