Desktop sample main windows resize mode -> CanMinimize