I am a student in the university at department of the programming computer. There is project that I have to do. This video has helped me so much. Thank you very much.
You could grab the Location of the form you are hiding and use it to set the location of the new form. But if you want that this location is considered by the WinForms engine you need to set the StartPosition property to FormStartPosition.Manual
I am looking for something in particualr, I am looking for when you close for Example: Form3 it will close Form1 Also and not run on your computer. Any Solutions?
finally, usuful video. Do you have any solution for my nightmare . I have a form set as an MDI container on which I dynamically add buttons. Clicking a button opens a child form. However, the buttons I created appear on top of the child form instead of the child form appearing over (and covering) everything on the parent form.
if your form is closed that means it is disposed and you can't bring it to fron. You have to create it again and then show it. A better solution is hide the form instead of closing it. Check this video. th-cam.com/video/bb5TaLbq9aM/w-d-xo.html hop it helps
I am a student in the university at department of the programming computer. There is project that I have to do. This video has helped me so much. Thank you very much.
Thank you very much my friend, simple tutorial and consicely explained👍
Glad you liked it!
Thanks a lo. Have been looking for this solution
Great work. It's very helpful.
happy to help
thank you sir.
Most welcome
Best video of it's kind. ty!
Thank you so much for saving me a lot of trouble.
Happy to help
Thank you for the great video. You made it very easy to understand and accomplish.
Glad it was helpful!
Thanks for this, but can you tell me how i can Show the second form whit same location of first form in the screen
i hope you anser my question
You could grab the Location of the form you are hiding and use it to set the location of the new form. But if you want that this location is considered by the WinForms engine you need to set the StartPosition property to FormStartPosition.Manual
This solution should work
stackoverflow.com/questions/45513129/how-to-open-new-win-form-in-same-location-as-previous-win-form-c-sharp
@@smartcode9021 Really thank you for your quick reply
@@smartcode9021 But can i ask of somthing. if i put a button its mission is to return to the first form what code will work whit ?
i try this but it dosn't work:
{
FormStart start = new FormStart();
start.DesktopLocation = this.DesktopLocation;
start.Show();
this.Close();
}
Thank you for the video!
Thank you so much! You are a Legend.
Thanks
Thanks
Shukria nawazish bhai :)
thank you so much bruh
welcome
This Was HELPFUL !!!!
.)
thx , good tutorial mate
Hi! Open form2 on loading and no buttom click?
Thank you
Welcome brother.
@@smartcode9021
I subscribed to the channel and liked it
because you are the one who best describes this
Hi, how can I make it so when i click a button it opens the form, then if i click the button again, it closes the form?
i love you
I am looking for something in particualr, I am looking for when you close for Example: Form3 it will close Form1 Also and not run on your computer. Any Solutions?
Same problem did u find any solution?
finally, usuful video. Do you have any solution for my nightmare . I have a form set as an MDI container on which I dynamically add buttons. Clicking a button opens a child form. However, the buttons I created appear on top of the child form instead of the child form appearing over (and covering) everything on the parent form.
Are there any ways that the child form completly cover the parents form?
but I can't go back to my previously closed window. how can I go back?
if your form is closed that means it is disposed and you can't bring it to fron. You have to create it again and then show it. A better solution is hide the form instead of closing it. Check this video.
th-cam.com/video/bb5TaLbq9aM/w-d-xo.html
hop it helps
У меня проблема каждый ден когда открываю компьютер открывается форм1 с пустым екраным потом закрывается незнаю что ето
Чувак, тебе нужно сохранить перед выходом из проекта. В противном случае все будет так, как ты сказал.
Вы выбрали не того собеседника.
thank you for saving me!!! (~ ̄▽ ̄)~
You are most welcome