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.
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.
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
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.
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).
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...
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!
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...
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
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();
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 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.
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.
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
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.
I love how you play with colors and interface
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🙌🙌
Dude, you're just the best doing such designs. Tks for sharing with us!
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.
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
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.
Thanks bro !!!!!!!!!!!!
Your knowledge is amazing, I never thought C # WF could do this.
Without this video my system would take several days to finish, Thank you btw;
Thanks a lot this is what I was looking for. You helped me.
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
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?
So good .. Masha Allah
May Allah Loves with u so much (Allah Ap Sa Razi ho)
Sir Database Please
Bro yeh Channel Follow karen bht achi Videos hain Database ki.... Mera Ustad hai... ruclips.net/user/ProgramInUrdu
Thanks
Video starts at 14:45
Спасибо за видео 👍👍👍👍
thanx man its really helped me
very nice example! Thank you.
you are my "C# Angel" :)
Love your tutorials
Thank you very much
very nice bro.
you are awsome.
Love you broooooooooooo
Good 💐💐💐
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).
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??
so good
You're incredible
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...
Please contact us at info@csharpui.com
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!
ruclips.net/video/NuHeqH81vSM/видео.html
first 2 minutes of the video
Please make WPF video series .
sure.. :) :)
@@CUiAcademy I'm excited about it.
how about the back button is in the UCHome, not in form1?
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...
ruclips.net/video/NuHeqH81vSM/видео.html
first 2 minutes of video, I had the same problem
Its great..!
But what's the difference between form and usercontrol?
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
@@CUiAcademy thank you..
👍
Can you do the same with ChildForms instead of UserControls?
Can u make tutorial how to Slide Panel Outside Not inside of the Applicaiton
Where I can find icons which you use?
Hi Bartłomiej Bartoszewicz. Please use ICONS8 desktop app for free icons of any color.. :)
@@CUiAcademy Thanks :)
great work
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();
Hi I needed to Mack an mantra mfs100 divise appplition so using c#
Nice!! Where you dowload the icons?
Hi.. Please use icons8 desktop app for free icons of any color... :)
thank you .
thanks
Thanks Brother.
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
I can demonstrate that using C#... I don't have any experience on vb.net
@@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.
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.
I would like to ask what topic of programming is the coding, need to do some research. A reply would be helpful.
Data Sructures & Algorithm
Hello bro can u do one tutorial that can perform crude in user control...tnx
amazing!
Can you make another video on this without using panel Please
please make next video on displaying processing image on data fetch from database
how can I pass data that has entered in one user control to another user control?
Nice tutorial, but I have a question. How does the user exit this form, alt + F4?
Do it yourself
amazing
Form1UserControl.BringToFront();
Don't Work
Need a help...
source code fore this video
??
Please Download it from this link: github.com/SaLaaRHuSyN/DisplayUserControlFromAnotherUC
Can u remake the epic games launcher ? I am new and I want to learn more about this :)
12 ?
thanks really helpful ^_^
Hier UserControls1.BringToFront() dont Work for me...need a little help
Will anyone have the source code of this video? please.
Hi. Please download the source code from this link: github.com/SaLaaRHuSyN/DisplayUserControlFromAnotherUC
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
without using database?
@@CUiAcademy with using database
@@EGYcon Sure... Please watch my next Video... 😊😊
@@CUiAcademy thank you very much 😍
What's the solution in WPF ?
it didnt work with guna ui framework
In VB we put
Name.visible
where is source code? name?
PERFECT
okay it looks pretty BUT I just want to be TAUGHT the basics, not the fancy!
This video too long tho. Half of the video shows irrelavent button addition.
deyum son dawasick