resize only when needed

hello i want that when i resize the form, the OnResize will activate only when the resize is finished that is when the mouse button is up . How can i do that ? thanks

Loader.
Up arrow icon