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