Hi,
Did you try putting a breakpoint to the "Console.WriteLine" line?
But if you put a breakpoint at that line and resize the form, the application hangs as soon as it hits the breakpoint.
Did you try putting a breakpoint to the "Console.WriteLine" line?
debugger;
var connect1 = main.SizeChanged.connect(function (sender, e) {
Console.WriteLine("SizeChanged");
});
If you have only a "debugger;" statement at the first line and continue execution after stopping there, it works fine.But if you put a breakpoint at that line and resize the form, the application hangs as soon as it hits the breakpoint.