I'm doing a project where i have to create the GUI programmatically and I'm having problems with the GUI locking whenever it's running any method. I assign a method to a button's event like so:
btnOpenMap.TouchUpInside += OnOpenMap;
And whatever is done in this method is done with the GUI locked.
How can i assign the method to run asynchronously?
Thanks in advance.