winforms - C# Winapp: TextBox is hidden by PictureBox -


i created shooting game, i've got problem end. player loses want show message him. i've tried messagebox, turned in center of screen. want kind of box says "you lost" in center of app. i've got pictureboxes on form , display textbox can't bee seen (only parts of it).

any ideas?

as said in comment, can use

textboxname.bringtofront(); 

to bring control front, if want messagebox appear in middle,

messagebox.show(this, "message"); should work believe messageboxes appear centered on parent default

edit looked (messagebox centering) seems can centre 1 hooking seems little overkill


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -