c# - Getting handle of hidden form -


i need open form hidden, need form handle able send messages it.

currently using following code prevent form show up:

protected override void setvisiblecore(bool value) {     if (!ishandlecreated && value)     {         base.createhandle();         value = false;     }     base.setvisiblecore(value); } 

it's working fine. problem when request handle form, shows , no longer hidden:

string handle = this.handle.tostring(); 

of course can set this.hide(), short moment, form showing.

is there way start , keep form hidden, while still able handle it?


Comments

Popular posts from this blog

php - Zend Framework / Skeleton-Application / Composer install issue -

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -