How To Open Form2 From Form1 And Hide/Close Form 1 In C# | C# Tutorial

preview_player
Показать описание
#openform2Csharp #Csharptutorial #smartcode

In this simple tutorial I am demonstrating how to open form2 from form1 and how to close or hide form1.
we will perform three different operations.
1. How to open form2 from form1.
2. How to open form2 from form1 and hide form1.
3. How to open from2 from form1 and close form1.

I hope you like the tutorial. Please giva a thumbs upp and do subscribe the #smartcode.
Thanks for watching.

How to open form2 and close form1
How to open form2 and hide form1
work with multiples windows forms
Рекомендации по теме
Комментарии
Автор

Thank you very much my friend, simple tutorial and consicely explained👍

KMZMN
Автор

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.

mehmetaliknk
Автор

Thanks a lo. Have been looking for this solution

enowdalintin
Автор

Thank you for the great video. You made it very easy to understand and accomplish.

jamessoy
Автор

Thank you so much for saving me a lot of trouble.

nesetk
Автор

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

nidal
Автор

Hi! Open form2 on loading and no buttom click?

mywork
Автор

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?

HyperBassYT
Автор

У меня проблема каждый ден когда открываю компьютер открывается форм1 с пустым екраным потом закрывается незнаю что ето

firegeliusthedestroyer
Автор

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?

WillFourTwenty
Автор

but I can't go back to my previously closed window. how can I go back?

jamin
Автор

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.

masslooo