c# - vs forms , show hidden form on form load -


(.net 3.5 compact) have form hidden(b) . when open new form(a), want display hidden form(b) hidden.

if create button on form(a) , on click event .show() , works fine .

if add ff load event , forms not come front , stays hidden.also tried adding after initializecomponent(); form not come front.

        reg.frmscanner.show(); 

i have read minimize trick here , there no minimize on mobile device

to in foreground use

reg.frmscanner.topmost = true; 

Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -