UserControls are the best and right way to create as many pages as you want in one window.
Пікірлер: 99
@suireyha2 жыл бұрын
Seeing a tech tutorial without dubstep from 2012 is... confronting. Thanks for the video brother
@cabdiraxmaanyousuf64522 жыл бұрын
Thnkz Pro I can't complete By words what you helped me 💟
@eamonburns9597 Жыл бұрын
This was not what I was looking for, but I'm sure I'll use it eventually :)
@PNTDM Жыл бұрын
This really help Thanks a lot
@lucassbersee Жыл бұрын
Thanks :)
@AbdulSamad-fs5is3 жыл бұрын
Thanks man i was very confused while making my Student Management System Project
@brindayoudjeu70592 жыл бұрын
Thanks so much
@anmolsharma88303 жыл бұрын
What is the difference if i use panels instead of user control
@robbevanhoutte18624 жыл бұрын
Helped a lot man! Thanks for the video bro. You did a good job G
@clausleroyvierin34724 жыл бұрын
He did the best job ever dude!
@osempo5 жыл бұрын
Thanks a lot bro, you helped a lot with this video. Do you have a video showing how to actually close and open the pages? not just showing and hiding them. If so yo could help me a lot more. Keep the good work!
@umairsolutions5 жыл бұрын
Thanks for your Feedback, What you are looking for can be done with winform forms. Go to your project and right click on it, then click Add, now add windows form. Say you have two forms form1 and form2. // It will show form1 and you can close it, minimize it, maximize it. this.hide() // hides the current form form1 frm=new form1(); frm.showDialogue(); // It will show second form2 and you can close it, minimize it, maximize it. this.hide() // hides the current form form2 frm2=new form2(); frm2.showDialogue();
@osempo5 жыл бұрын
Do i have to do the rebuild with the forms and then add them as you aded the user controls?
@umairsolutions5 жыл бұрын
No, forms are different from user controols. They will simply added when you right click on your project, click on add, click on windows form application and give name of your form then click add. You can see your added form in the Solution Explorer.
@_sl1de_3 жыл бұрын
Exactly what i was looking for
@saihajmann6622 Жыл бұрын
Very helpful, thank you😀
@pumpkinjack10892 жыл бұрын
Thank you so much this helped me understand user control
@sometrioeng2602 Жыл бұрын
thanks for 'UserControl'
@muhammadhabibalkhairi79463 жыл бұрын
Thank you for the tutorial, this really help me.
@rjevangelista97695 жыл бұрын
Instead of hiding/showing the control. It would be better if you create the instance of the user control programmatically. createInstance(Control module) { var controls = pnlContainer.Controls.ofType(UserControl).ToList(); foreach(var control of controls) { control.Dispose(); } pnlContainer.Controls.Add(module); module.Dock = DockStyle.Fill; } button1_Clicked(Object sender, EventArgs e) { createInstance(new HomeUserControl()); } button2_Clicked(Object sender, EventArgs e) { createInstance(new ManageUserControl()); } button3_Clicked(Object sender, EventArgs e) { createInstance(new SettingUserControl()); }
@kushal6065 Жыл бұрын
thanks
@shaikkausar89152 жыл бұрын
can i rebuild the project in visual studio 2010....if so plz tel meh?????
@micahjaredpaguinto3985 ай бұрын
thank u boss! nice tutorial
@dimitriskosse17272 жыл бұрын
Thanks a lot bro! 👍👍👍👏👏👏👏
@sava4433 жыл бұрын
i got error Severity Code Description Project File Line Suppression State Error CS0120 An object reference is required for the non-static field, method, or property 'Control.Hide()'
@vorapobautomation97603 ай бұрын
How to make main page as template ?
@talesfromdahood Жыл бұрын
Thank you man! - unexperienced guy, me.
@mehrdadakbari17212 жыл бұрын
This could work for small appliances but if you had 20 pages on one window application become very slow and take a lot of ram
@Extravi2 жыл бұрын
Thanks
@collins40135 жыл бұрын
Hi thanks for the video just one question am getting an error cs0117 where it's saying that usercontrol does not contain a definition for hide what might be the problem please help
@chudisoftdev5 жыл бұрын
Collins Kiunjuri80 Check for other possible options by typing the name of the user control and adding a dot at the end (usercontrol1.) Use the suggestions to help yourself. Check others like visible. Thanks
@chudisoftdev5 жыл бұрын
Collins Kiunjuri80 kzbin.info/www/bejne/hquzq3uLjs9nfJY Explains better for visual studio 2019
@___-_-_-_-_-_-_-_-_-___5 жыл бұрын
@@chudisoftdev so spam... btw that video really sucks!
@doreenchemweno4 жыл бұрын
@@chudisoftdev Daamn thanks. Quite helpful
@mosqali19702 жыл бұрын
why i cant find other usercontrols from toolbox?
@KillBill013 жыл бұрын
it work on visual studio 2012 ultimate ?
@naseefvpo99763 жыл бұрын
Thanks a lot..
@z_tock2 жыл бұрын
Instead of using .Show(); And .Hide(); Use .BringToFront(); its more simple unless you need to use those functions instead.
@yuwenlilyhua42625 жыл бұрын
Is there a way to do this but by clicking a cell of a specific column on a gridview instead just a button on the form?
@abdullatheefthiyyattil16754 жыл бұрын
yes\
@sujendrakr.kachhap54364 жыл бұрын
How to save data of all these multiple page by using save button in main form please reply me . How should i do
@MegasXLR4 жыл бұрын
Thanks for this, really helped me with my project :)
@rogertrace41053 жыл бұрын
Sorry to be off topic but does any of you know of a method to get back into an instagram account?? I was stupid forgot my login password. I would love any assistance you can offer me
@jamisondangelo88293 жыл бұрын
@Roger Trace instablaster =)
@rogertrace41053 жыл бұрын
@Jamison Dangelo i really appreciate your reply. I got to the site thru google and im waiting for the hacking stuff now. Looks like it's gonna take quite some time so I will get back to you later when my account password hopefully is recovered.
@rogertrace41053 жыл бұрын
@Jamison Dangelo It did the trick and I actually got access to my account again. Im so happy! Thank you so much, you saved my account :D
@jamisondangelo88293 жыл бұрын
@Roger Trace You are welcome :)
@FlexZone1003 жыл бұрын
Thank you so much man! Worked very well. Btw your channel name is spelt wrong lol.
@dunayqudretli33823 жыл бұрын
Thank you man 👍🏻
@muhammadkathrada84384 жыл бұрын
I need help with some coding. Can I email you my work?
@misteraxolotl3 жыл бұрын
Why when I write "Hide", "Show" and "BringToFrond" I get an error like "does not contain a definition for" ? Please help me
@sarahdadoun68643 жыл бұрын
you need control reference I think. something Like that. make sure you are using windows form app .NET framework
@sylvesteryap4 жыл бұрын
When I changing the size or maximize the windows form, the users form doesn't follow. is there any help for this problem?
@suxufinimcaancabdi94345 жыл бұрын
THanks for the video go forward
@clementguiguet9383 жыл бұрын
hey, can we put a button in a user control and check if this button is press in the main form ?
@EyeOfCthuIhu5 ай бұрын
You can make public event in user control and subscribe to it in main form
@kentlloydjavier460210 ай бұрын
Thanks!
@Cipkia9874 жыл бұрын
Helped a lot thx!
@hafizoktri38476 жыл бұрын
what would happen if I didn't rebuild the project after creating a UserControl?
@umairsolutions6 жыл бұрын
If you did not rebuild, UserControl will not be added in the toolbox. If your usercontrol is not in toolbox, then how can you use it??
@audit29015 жыл бұрын
Awais Mehmood.
@nhopnhap86533 жыл бұрын
thanks a lot
@abolfazl22555 жыл бұрын
Help! it says Usercontrol1 is never assigned to, and will always have its default value null
@umairsolutions5 жыл бұрын
Its not an error, its warning. When you use your Usercontrol1 on your form, then this warning will disappear.
@TheUofastudent5 жыл бұрын
Can you show example of how we would access text boxes in user controls? Having difficulty with that
@chudisoftdev5 жыл бұрын
ThePaintPro check this kzbin.info/www/bejne/hquzq3uLjs9nfJY
@bernardcorpinjr.87544 жыл бұрын
need help. why i need to double tap or click the button before it show?
@Serratsparkwos3 жыл бұрын
Because, i think you used the double-click event, look for the one click event.
@matheuscastro2713 жыл бұрын
thank you
@prod._ak3 жыл бұрын
Dude i have a problem when I can't find my usercontrols in the toolbox ;c
can't do this in vs 2017. usercontrol need to have object declared first. but when object is declared, it still not working
@doreenchemweno4 жыл бұрын
Were you able to find the solution?
@thanisahamed12544 жыл бұрын
thanks
@FaheemSRILANKA6 жыл бұрын
pls tell me how to refresh the user control ?? .. i need to restart the application to refresh :/ .. is there any way to do it whenever we open user control ... to do auto refresh
@umairsolutions6 жыл бұрын
Rebuild your project, it will refresh automatically..
@fgteevroblox36415 жыл бұрын
wow thanks man its work
@umairsolutions5 жыл бұрын
You are Welcome!... Stay connected with us.
@aaliyajaved43164 жыл бұрын
thankxx mann
@martinekmarik15264 жыл бұрын
thx
@chaliiid5 жыл бұрын
Really..
@ronellorico7065 жыл бұрын
After i rebuilt it i cant see my usercontrol in my toolbox help me
@chudisoftdev5 жыл бұрын
Ronel Lorico check this out kzbin.info/www/bejne/hquzq3uLjs9nfJY
@anarchist62044 жыл бұрын
tysm
@sparky97054 жыл бұрын
You spelt 'Academy' wrong in your name.
@renantomisaki15164 жыл бұрын
You spelled 'spelled' wrong in your comment.
@sparky97054 жыл бұрын
@@renantomisaki1516 That's because not everyone in the world lives in America.
@marjo99524 жыл бұрын
@@sparky9705 Doesn't that apply to him as well?
@sparky97054 жыл бұрын
@@marjo9952 There are two things I know in this world, one of them is that 'Academy' is spelt incorrectly in this guy's channel name by the standards of any country in the world and the other is that Renan Tomisaki's brain needs immediate medical intervention to treat the deformities causing him to be so utterly retarded and autistic that everyone in his life hates him and wishes he would move to Afghanistan.
@crec112544 жыл бұрын
what the fuck i cant see them in toolbox
@exogendesign45822 жыл бұрын
Such an ugly work. Hiding/Showing Control won't update the control and only create unnecessary memory from multiple control drawing together. You should use offtype and unload them when not in used. This way you are validating any update if those user control has dynamic data and at the same time keeping the memory as optimal as possible.