C# - How to Display another UserControl by Clicking on button in One UserControl

  Рет қаралды 124,747

Code with HuSyN

Code with HuSyN

Күн бұрын

Пікірлер: 96
@assermukas117
@assermukas117 Жыл бұрын
Duuuuude, I have been looking for this video showing how to do this for many days but couldn't find one. Thank you so much🙌🙌
@Dadadadam999
@Dadadadam999 3 жыл бұрын
An instance can be made simpler. :) public partial class Form1 : Form { public static Form1 Instance { get; } public From1() { InitializeComponent(); Instance = this; } //other code } *If the property has only get, then it can be changed only in the class constructor.
@carlmarionmanlapaz4697
@carlmarionmanlapaz4697 5 жыл бұрын
I love how you play with colors and interface
@sem_the_man
@sem_the_man Жыл бұрын
Thank you so much! I'm new to c# and came here just out of curiosity, but ended up learning a lot. I also didnt know you could change the appearence of a button, that will certainly be useful as well
@marcosbarros7095
@marcosbarros7095 4 жыл бұрын
Dude, you're just the best doing such designs. Tks for sharing with us!
@TheByteBit
@TheByteBit 5 жыл бұрын
dude, even if you win the lotto, don't stop making these types of videos; can't express enough how much I've gleaned from them. The music not withstanding, the pace is perfect and the end result is quite eye-catching. If you ever want to add a voiceover to your videos with further explanation, let me know. I'd be glad to help out in any way I can.
@JBilly-zj6xs
@JBilly-zj6xs 4 жыл бұрын
Thanks bro !!!!!!!!!!!! Your knowledge is amazing, I never thought C # WF could do this.
@LuisEduardo-ek4ht
@LuisEduardo-ek4ht 5 жыл бұрын
Many thanks, I have so many problems when I need to make an application with several windows for college, this helped me a lot. I'll be signed up and I'll be waiting for next videos, congratulations for the work.
@DigitalHeadShots
@DigitalHeadShots 4 жыл бұрын
When I select add - User control, I do not have an option to add user control like you do in the video. Am I missing an extension of some sort?
@codingislife6387
@codingislife6387 6 жыл бұрын
So good .. Masha Allah May Allah Loves with u so much (Allah Ap Sa Razi ho)
@codingislife6387
@codingislife6387 6 жыл бұрын
Sir Database Please
@CUiAcademy
@CUiAcademy 6 жыл бұрын
Bro yeh Channel Follow karen bht achi Videos hain Database ki.... Mera Ustad hai... kzbin.info
@codingislife6387
@codingislife6387 6 жыл бұрын
Thanks
@alibarznji2000
@alibarznji2000 5 жыл бұрын
i've been looking for this answer for quite a while, what i don't understand is that why is it that hard to open a UC from another one
@jmpaunlagui845
@jmpaunlagui845 5 жыл бұрын
Without this video my system would take several days to finish, Thank you btw;
@erastuskula5691
@erastuskula5691 4 жыл бұрын
Thanks a lot this is what I was looking for. You helped me.
@babagrilo
@babagrilo 3 жыл бұрын
thanx man its really helped me
@kurdishprogramming4698
@kurdishprogramming4698 2 жыл бұрын
Good 💐💐💐
@oh4094
@oh4094 4 жыл бұрын
Do you have VB.net tutorials, I'm looking for video tutorial. My problem is that how to loop user control using the values coming from a database with image. I'm doing Point of Sale with Inventory System
@CUiAcademy
@CUiAcademy 4 жыл бұрын
I can demonstrate that using C#... I don't have any experience on vb.net
@oh4094
@oh4094 4 жыл бұрын
@@CUiAcademy can you make C# tutorial for that please? By the way I already checked your channel and there's a lot of useful thing in here. I also subscribed to your channel.
@morsheddld
@morsheddld 3 жыл бұрын
3 years back i switched myself vb.net to c# and it worths switching language. I've found less research on vb.net where c# has endless support, research.
@nuwanthilina4940
@nuwanthilina4940 4 жыл бұрын
I have a problem..I am creating a software which is having more user controls. This method is only giving one user control (when pressing back button). I need to change that to go to the recently opened user control. when I add more it gives 'Object reference not set to an instance of an object.' error for back button click event (panelContainer.Controls["UCHome"].BringToFront();). But when I change "UCHome" to the other user control, it works.but after that it does not work for "UCHome". Please help me...
@mahirskula1927
@mahirskula1927 4 жыл бұрын
kzbin.info/www/bejne/hKarlqR-bZapia8 first 2 minutes of video, I had the same problem
@xbxb
@xbxb Жыл бұрын
how about the back button is in the UCHome, not in form1?
@kengthe5949
@kengthe5949 3 жыл бұрын
very nice example! Thank you.
@aimenyaseen853
@aimenyaseen853 4 жыл бұрын
It doesn't help me. Because I have a list of user controls managed by different buttons on form. And I wanted to open one userControl from another by clicking on button. No back button on form is required... pls help...
@CUiAcademy
@CUiAcademy 4 жыл бұрын
Please contact us at info@csharpui.com
@bartomiejbartoszewicz8472
@bartomiejbartoszewicz8472 5 жыл бұрын
Where I can find icons which you use?
@CUiAcademy
@CUiAcademy 5 жыл бұрын
Hi Bartłomiej Bartoszewicz. Please use ICONS8 desktop app for free icons of any color.. :)
@bartomiejbartoszewicz8472
@bartomiejbartoszewicz8472 5 жыл бұрын
@@CUiAcademy Thanks :)
@lalitmehta2115
@lalitmehta2115 4 жыл бұрын
Hi I needed to Mack an mantra mfs100 divise appplition so using c#
@kamranmz
@kamranmz 6 жыл бұрын
you are my "C# Angel" :)
@НиколайТорощин-е6э
@НиколайТорощин-е6э 6 жыл бұрын
Спасибо за видео 👍👍👍👍
@NorbertWebDev
@NorbertWebDev 5 жыл бұрын
Love your tutorials
@AMIRKHAN-dm2fm
@AMIRKHAN-dm2fm 6 жыл бұрын
very nice bro. you are awsome.
@khaled_hossain
@khaled_hossain 6 жыл бұрын
Please make WPF video series .
@CUiAcademy
@CUiAcademy 5 жыл бұрын
sure.. :) :)
@khaled_hossain
@khaled_hossain 5 жыл бұрын
@@CUiAcademy I'm excited about it.
@ghizelreyes6314
@ghizelreyes6314 5 жыл бұрын
Hi! I would like to ask if its possible to show 2 user controls in one form? 1.) A button will display 1 user control in the form. 2.) Then, a button from the recently displayed user control will display the second user control If its okay, can you make a tutorial bout it? Great tutorials by the way! Its helping me a lot :) Keep it up!
@mahirskula1927
@mahirskula1927 4 жыл бұрын
kzbin.info/www/bejne/hKarlqR-bZapia8 first 2 minutes of the video
@delriochristian6339
@delriochristian6339 5 жыл бұрын
I would like to ask what topic of programming is the coding, need to do some research. A reply would be helpful.
@lambsauces
@lambsauces 3 жыл бұрын
Data Sructures & Algorithm
@bojidarkamenski3432
@bojidarkamenski3432 6 жыл бұрын
So nice design and so nice video it is veruy helpful!!! But may I ask one question is there a way for users to post information in our c# app??
@downfall991
@downfall991 5 жыл бұрын
Hey! This is extremly insipiring! I have a personal project that I'm working on and I can't seem to solve this problem. In Form1 I have a button. After clicking this button, the first usercontrol (new.cs) are dynamically loaded in the Panel (container).
@OscarGarcia-up3ph
@OscarGarcia-up3ph 5 жыл бұрын
Can you do the same with ChildForms instead of UserControls?
@PeterPheneX
@PeterPheneX 2 жыл бұрын
Thank you very much
@adenugraha3773
@adenugraha3773 6 жыл бұрын
Its great..! But what's the difference between form and usercontrol?
@CUiAcademy
@CUiAcademy 6 жыл бұрын
User controls are a way of making a custom, reusable component. A user control can contain other controls but must be hosted by a form.Windows forms are the container for controls, including user controls. While it contains many similar attributes as a user control, it's primary purpose is to host controls. Ref: Stackoverflow
@adenugraha3773
@adenugraha3773 6 жыл бұрын
@@CUiAcademy thank you.. 👍
@CuongNguyen-bu3et
@CuongNguyen-bu3et 4 жыл бұрын
the compiler tell my this: System.NullReferenceException: 'Object reference not set to an instance of an object. this error pop up at: Form1.Instance.PnlContainer.Controls["NextPage2"].BringToFront();
@inhtringo9369
@inhtringo9369 4 жыл бұрын
Love you broooooooooooo
@EGYcon
@EGYcon 5 жыл бұрын
can you create a login form in which we can create a user for first time and the user we create will be saved even if we close the program or shut down the computer and an option to change password when we logged in to the dashboard, please
@CUiAcademy
@CUiAcademy 5 жыл бұрын
without using database?
@EGYcon
@EGYcon 5 жыл бұрын
@@CUiAcademy with using database
@CUiAcademy
@CUiAcademy 5 жыл бұрын
@@EGYcon Sure... Please watch my next Video... 😊😊
@EGYcon
@EGYcon 5 жыл бұрын
@@CUiAcademy thank you very much 😍
@serramy6072
@serramy6072 5 жыл бұрын
Nice!! Where you dowload the icons?
@CUiAcademy
@CUiAcademy 5 жыл бұрын
Hi.. Please use icons8 desktop app for free icons of any color... :)
@tiarakp2202
@tiarakp2202 4 жыл бұрын
how can I pass data that has entered in one user control to another user control?
@MrPeter1719
@MrPeter1719 5 жыл бұрын
Nice tutorial, but I have a question. How does the user exit this form, alt + F4?
@808reaper7
@808reaper7 5 жыл бұрын
Do it yourself
@xheptc9612
@xheptc9612 4 жыл бұрын
Can u make tutorial how to Slide Panel Outside Not inside of the Applicaiton
@twitchfabi_xo9943
@twitchfabi_xo9943 5 жыл бұрын
Can u remake the epic games launcher ? I am new and I want to learn more about this :)
@808reaper7
@808reaper7 5 жыл бұрын
12 ?
@bitnetsoftgpl
@bitnetsoftgpl 5 жыл бұрын
Will anyone have the source code of this video? please.
@CUiAcademy
@CUiAcademy 5 жыл бұрын
Hi. Please download the source code from this link: github.com/SaLaaRHuSyN/DisplayUserControlFromAnotherUC
@MaziSaidSo
@MaziSaidSo 5 жыл бұрын
You're incredible
@an_unknowuser
@an_unknowuser 5 жыл бұрын
Hier UserControls1.BringToFront() dont Work for me...need a little help
@karim-sq1sk
@karim-sq1sk 5 жыл бұрын
source code fore this video ??
@CUiAcademy
@CUiAcademy 5 жыл бұрын
Please Download it from this link: github.com/SaLaaRHuSyN/DisplayUserControlFromAnotherUC
@brymussolin2788
@brymussolin2788 5 жыл бұрын
Hello bro can u do one tutorial that can perform crude in user control...tnx
@prodaddy5062
@prodaddy5062 4 жыл бұрын
Can you make another video on this without using panel Please
@Ankit-nj6cr
@Ankit-nj6cr 4 жыл бұрын
Video starts at 14:45
@svc6029
@svc6029 6 жыл бұрын
so good
@trendmafiya1326
@trendmafiya1326 5 жыл бұрын
please make next video on displaying processing image on data fetch from database
@an_unknowuser
@an_unknowuser 5 жыл бұрын
Form1UserControl.BringToFront(); Don't Work Need a help...
@elietaillard9944
@elietaillard9944 3 жыл бұрын
What's the solution in WPF ?
@daizwap9454
@daizwap9454 4 жыл бұрын
great work
@phavneesh7454
@phavneesh7454 4 жыл бұрын
In VB we put Name.visible
@amanurrehmansandhu4963
@amanurrehmansandhu4963 5 жыл бұрын
Thanks Brother.
@josemariemojica2474
@josemariemojica2474 4 жыл бұрын
it didnt work with guna ui framework
@renaldballester2943
@renaldballester2943 5 жыл бұрын
thanks really helpful ^_^
@caovantrinhdn
@caovantrinhdn 3 жыл бұрын
thanks
@HasanMalFahl
@HasanMalFahl 6 жыл бұрын
amazing!
@phanhuuthang2479
@phanhuuthang2479 5 жыл бұрын
thank you .
@kavr
@kavr 5 жыл бұрын
amazing
@stefanop5366
@stefanop5366 5 жыл бұрын
where is source code? name?
@soundrogue4472
@soundrogue4472 3 жыл бұрын
okay it looks pretty BUT I just want to be TAUGHT the basics, not the fancy!
@Elzelgator
@Elzelgator 2 жыл бұрын
This video too long tho. Half of the video shows irrelavent button addition.
@achrafmoustahsane1065
@achrafmoustahsane1065 6 жыл бұрын
PERFECT
@quero0
@quero0 5 жыл бұрын
deyum son dawasick
C# CustomList Using UserControl And FlowLayoutPanel
21:37
Chieng
Рет қаралды 121 М.
C# - Custom Notification Form in WinForm App C#
22:19
Code with HuSyN
Рет қаралды 113 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
2,000 People Fight For $5,000,000
24:45
MrBeast
Рет қаралды 31 МЛН
C#/ Modern Flat UI + Font Awesome Icons, Multicolor, Highlight button, WinForm
24:46
C# - YouTube Dashboard Concept for Mac [Guna Ui Framework Demo]
29:50
Code with HuSyN
Рет қаралды 92 М.
C# - Designing Crypto Currency Dashboard in WinForm App
29:31
Code with HuSyN
Рет қаралды 154 М.
React 19: Новые хуки, которые вы ждали
21:13
Владилен Минин
Рет қаралды 8 М.
Creating Reusable Controls - WPF TUTORIALS
17:10
SingletonSean
Рет қаралды 32 М.
C# Tutorial - Dynamically Loading User Control | FoxLearn
7:28
Fox Learn
Рет қаралды 122 М.
The New Outlook is TERRIBLE
20:19
Chris Titus Tech
Рет қаралды 114 М.
C# WPF Tutorial #6 - Custom User Controls
8:56
Kampa Plays
Рет қаралды 57 М.
.NET and C# are in trouble. Here is what I'd do.
10:57
Ed Andersen
Рет қаралды 114 М.