hi
with visuial studio c# i'm doing
form include another forms
the basic form contain #of buttons if button click basic form hide and new one open
all that is ok
the problem:
if any form (basic or others)
closing by (x) in the bar the form close but it still running
does not actually close
iwant solution please by remove bar or another sugguest one.:-/
help me please :icon_smile:
Roulaa
0
Newbie Poster
Recommended Answers
Jump to Postyou can use javascript to stop user from doing what you dont want.
i.e. disable close button of browser.
Jump to Postdoes not actually close
What do you mean by this?
Jump to PostThis means that the application is not closing down and is probably due to the main form being hidden.
When you hide your basic form it is not closed.
When you click on the (x)close button of the other form it closes but I suspect that the main form is …
Jump to Postthank you for help me
but the soloution is not effective
on x click same form return another click same form close and the hidden still work
how i can disable (x) from the Form(not basic)
Jump to PostTo remove the buttons on the title bar of a form set the ControlBox property to false.
However, if you do this then you must make sure that you have some other coding method to close the form.
E.g. a button on form that executes this.Close();
All 18 Replies
Billa Ustad
0
Newbie Poster
nick.crane
342
Veteran Poster
Roulaa
0
Newbie Poster
Roulaa
0
Newbie Poster
nick.crane
342
Veteran Poster
5oo5ah
0
Newbie Poster
Roulaa
0
Newbie Poster
nick.crane
342
Veteran Poster
Roulaa
0
Newbie Poster
nick.crane
342
Veteran Poster
Roulaa
0
Newbie Poster
Roulaa
0
Newbie Poster
nick.crane
342
Veteran Poster
Roulaa
0
Newbie Poster
nick.crane
342
Veteran Poster
Roulaa
0
Newbie Poster
nick.crane
342
Veteran Poster
Roulaa
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.