Load multiple form in the panel using c#.net Tutorial for beginners
Vložit
- čas přidán 25. 07. 2024
- Load multiple forms in the main panel using c#.net this is for beginners
you can download the code below
drive.google.com/file/d/1ngcJ...
Bg Music: www.bensound.com - Věda a technologie
Great work. Reveal the aknowledge with the panels with a easy way. Thanks, was just in your channel that I found whats I was looking for.
Amazing work. Thank u SO much. I was struggling to find out how to create a form inside of another one.
May God bless you, i finally got this part of my project done, thank you.
Thank you so much ! Great work ! It save me a lot of coding time.
I like the runtime because it can make it easier for the developer behind it. The runtime is also a bit of a hassle for the user because the user has to install the runtime to be able to run the program.
Very beautiful. I appreciate you for your efforts and sharing this code with us. I am working on a huge application for my team and I am going to incorporate this design. Thanks again!!
thank you for sharing this great knowledge
Thanks Sir, for sharing this informative video
Thank you for share the example of you
Thanx a lot, it worked for me...
Thankyou soo much..finally i found it......❤❤
works man thank you
Thank you so much! This tutorial is life-saving :-)
Is it possible to get the same result AND have a resizable form? I added a snippet to the main form to be able to resize it. But the effect is gone after loading the inner forms. It would be cool to have an add-on tutorial about this 😀
how do i add more buttons, when i try it just doesnt do anything but there are no errors any help?
Thank you so much you helped ❤😊
is it possible to retain the user inputs in the forms, it resets everywhere when the user moves to another form
ty so much
thank you so much sir
Nice Video, exactly what I needed, appriciat that :)
I'm having an issue with Form in panal size when expanding Form Main.
Does somebody when u try it and open a panel, it opens but when u go and try to close it doesn't close properly?
Great !!
Good exactly
Saved my college final
for me comes an error "The method or operation is not implemented."
Amazing work
TY
is it possible to put passcode before it shown to the panel ?
It seems the "Menu code" is missing in this video (?).
in visual studio 2010 not working
When I run app the form is make big and not compatible with form how can fix that ?please
Check your anchor point
need code
I got a warning for null literal on the
Form f = Form as Form;
Any solution
Did you find any solution ?
Load multiple form in the panel using C++. Please help me
mainpanel is not defined. how can i fix it?
its the panel that you want the forms to load on
Yeeaaah so here is the problem,
its nice to see that the form loads up as normal...
BUT it makes a memory leak.
is there a way how to not make the function cause the memory leak?
(and no Panel.controls.clear() does not work)
I already found a solution about that you can mail me so I can share it to you
@@eachannelearn5811 What is your email?
@@eachannelearn5811 If you solved that problem, Could you please share with me?
rijal
Can i have your e-mail sir?
it's not work
Maybe your just not doing it right ..can u show me the error?
As someone pointed out, "this.mainpanel.controls.clear();" works better than "this.mainpanel.controls.RemoveAt(0);".
Additionally you need to surround the whole loadform method in a try catch statement for it to work.
Ex:
public void loadform(object Form)
{
try
{
if (this.MainPanel.Controls.Count > 0)
{
this.MainPanel.Controls.Clear();
Form f = Form as Form;
f.Dock = DockStyle.Fill;
this.MainPanel.Controls.Add(f);
this.MainPanel.Tag = f;
f.Show();
}
}
catch {
}
}
Hope this helps!
this.mainpanel.Controls.Clear()
is better than
this.mainpanel.Controls.RemoveAt(0)
For the example in the video
RemoveAt(0)
works well
but if you have more complicated Panel ...
tng_patas@dimashardiantoro:27
#onepiece
#redbublle
#quicksillver
#sumarecone