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
Post a Comment