c# - If form is moving then -


i need alternate value of boolean var.. if form moving myvariable false , if form not moving myvariable true.

i've tried can click in border of app move app , code not work expected 'cause affect if click in clientarea:

private sub form1_mousedown(sender object, e mouseeventargs) handles mybase.mousedown     timer_flag = false end sub private sub form1_mouseup(sender object, e mouseeventargs) handles mybase.mouseup     timer_flag = true end sub 

also i've tried move event , locationchanged... don't know how detect if form moving or not.

i believe post winforms window drag event answered question. elektro hacker, keep work.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -