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

Sdílet
Vložit
  • čas přidán 17. 01. 2019
  • Hey Friends, This is SaLaaR HuSyN, Coming back with another video, In this tutorial, we'll learn How to Display another UserControl by Clicking on One button in One UserControl in Visual C#.
    ICONS Application Link: codeinpc.com/download-pichon-...
    ++++++++++++++++++++++++++++++++++++++++++++++++
    Background Music Link:
    +++++++++++++++++++++++++++++++++++++++++++
    Download Source Code:
    codeinpc.com/dynamic-usercont...
    ++++++++++++++++++++++++++++++++++++++++++++
    For Android Ui Tutorials, Please Subscribe Our Channel Android Ui Academy:
    / @androiduiacademy6689
    ++++++++++++++++++++++++++++++++++++++++++++
    if You Have any Query, feel free to contact Us on Facebook:
    / csharpuiacademy
    ++++++++++++++++++++++++++++++++++++++++++++
    Please Subscribe for more Videos
  • Věda a technologie

Komentáře • 96

  • @marcosbarros7095
    @marcosbarros7095 Před 3 lety +3

    Dude, you're just the best doing such designs. Tks for sharing with us!

  • @Dadadadam999
    @Dadadadam999 Před 2 lety +6

    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 Před 4 lety +9

    I love how you play with colors and interface

  • @LuisEduardo-ek4ht
    @LuisEduardo-ek4ht Před 5 lety +2

    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.

  • @assermukas117
    @assermukas117 Před rokem +1

    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🙌🙌

  • @JBilly-zj6xs
    @JBilly-zj6xs Před 3 lety +1

    Thanks bro !!!!!!!!!!!!
    Your knowledge is amazing, I never thought C # WF could do this.

  • @erastuskula5691
    @erastuskula5691 Před 4 lety +1

    Thanks a lot this is what I was looking for. You helped me.

  • @sem_the_man
    @sem_the_man Před 11 měsíci

    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

  • @TheByteBit
    @TheByteBit Před 5 lety +3

    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.

  • @NorbertWebDev
    @NorbertWebDev Před 5 lety

    Love your tutorials

  • @jmpaunlagui845
    @jmpaunlagui845 Před 5 lety +1

    Without this video my system would take several days to finish, Thank you btw;

  • @DigitalHeadShots
    @DigitalHeadShots Před 3 lety +1

    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?

  • @kamranmmmdov55
    @kamranmmmdov55 Před 5 lety +1

    you are my "C# Angel" :)

  • @kengthe5949
    @kengthe5949 Před 3 lety

    very nice example! Thank you.

  • @user-tn3bw1wg8w
    @user-tn3bw1wg8w Před 5 lety +2

    Спасибо за видео 👍👍👍👍

  • @PeterPheneX
    @PeterPheneX Před 2 lety +1

    Thank you very much

  • @babagrilo
    @babagrilo Před 3 lety

    thanx man its really helped me

  • @AMIRKHAN-dm2fm
    @AMIRKHAN-dm2fm Před 5 lety +1

    very nice bro.
    you are awsome.

  • @MaziSaidSo
    @MaziSaidSo Před 5 lety +1

    You're incredible

  • @HasanMalFahl
    @HasanMalFahl Před 5 lety +1

    amazing!

  • @phanhuuthang2479
    @phanhuuthang2479 Před 4 lety +1

    thank you .

  • @amanurrehmansandhu4963

    Thanks Brother.

  • @kurdishprogramming4698

    Good 💐💐💐

  • @svc6029
    @svc6029 Před 5 lety +2

    so good

  • @daizwap9454
    @daizwap9454 Před 4 lety

    great work

  • @caovantrinhdn
    @caovantrinhdn Před 2 lety +1

    thanks

  • @codingislife6387
    @codingislife6387 Před 5 lety +2

    So good .. Masha Allah
    May Allah Loves with u so much (Allah Ap Sa Razi ho)

    • @codingislife6387
      @codingislife6387 Před 5 lety +1

      Sir Database Please

    • @CUiAcademy
      @CUiAcademy  Před 5 lety +1

      Bro yeh Channel Follow karen bht achi Videos hain Database ki.... Mera Ustad hai... czcams.com/users/ProgramInUrdu

    • @codingislife6387
      @codingislife6387 Před 5 lety

      Thanks

  • @inhtringo9369
    @inhtringo9369 Před 3 lety +1

    Love you broooooooooooo

  • @renaldballester2943
    @renaldballester2943 Před 5 lety

    thanks really helpful ^_^

  • @lalitmehta2115
    @lalitmehta2115 Před 3 lety

    Hi I needed to Mack an mantra mfs100 divise appplition so using c#

  • @alibarznji2000
    @alibarznji2000 Před 5 lety +3

    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

  • @kavr
    @kavr Před 4 lety

    amazing

  • @xbxb
    @xbxb Před 10 měsíci

    how about the back button is in the UCHome, not in form1?

  • @downfall991
    @downfall991 Před 5 lety

    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).

  • @bojidarkamenski3432
    @bojidarkamenski3432 Před 5 lety

    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??

  • @OscarGarcia-up3ph
    @OscarGarcia-up3ph Před 4 lety

    Can you do the same with ChildForms instead of UserControls?

  • @CuongNguyen-bu3et
    @CuongNguyen-bu3et Před 3 lety

    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();

  • @ghizelreyes6314
    @ghizelreyes6314 Před 5 lety

    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 Před 3 lety

      czcams.com/video/NuHeqH81vSM/video.html
      first 2 minutes of the video

  • @nuwanthilina4940
    @nuwanthilina4940 Před 4 lety

    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 Před 3 lety

      czcams.com/video/NuHeqH81vSM/video.html
      first 2 minutes of video, I had the same problem

  • @tiarakp2202
    @tiarakp2202 Před 4 lety

    how can I pass data that has entered in one user control to another user control?

  • @trendmafiya1326
    @trendmafiya1326 Před 5 lety

    please make next video on displaying processing image on data fetch from database

  • @achrafmoustahsane1065
    @achrafmoustahsane1065 Před 5 lety +1

    PERFECT

  • @xaxaff2553
    @xaxaff2553 Před 5 lety

    Hier UserControls1.BringToFront() dont Work for me...need a little help

  • @khaled_hossain
    @khaled_hossain Před 5 lety +4

    Please make WPF video series .

  • @aimenyaseen853
    @aimenyaseen853 Před 3 lety +1

    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  Před 3 lety

      Please contact us at info@csharpui.com

  • @brymussolin2788
    @brymussolin2788 Před 5 lety

    Hello bro can u do one tutorial that can perform crude in user control...tnx

  • @xheptc9612
    @xheptc9612 Před 4 lety

    Can u make tutorial how to Slide Panel Outside Not inside of the Applicaiton

  • @xaxaff2553
    @xaxaff2553 Před 5 lety

    Form1UserControl.BringToFront();
    Don't Work
    Need a help...

  • @delriochristian6339
    @delriochristian6339 Před 4 lety

    I would like to ask what topic of programming is the coding, need to do some research. A reply would be helpful.

  • @serramy6072
    @serramy6072 Před 5 lety +1

    Nice!! Where you dowload the icons?

    • @CUiAcademy
      @CUiAcademy  Před 5 lety +1

      Hi.. Please use icons8 desktop app for free icons of any color... :)

  • @prodaddy5062
    @prodaddy5062 Před 4 lety

    Can you make another video on this without using panel Please

  • @adenugraha3773
    @adenugraha3773 Před 5 lety +1

    Its great..!
    But what's the difference between form and usercontrol?

    • @CUiAcademy
      @CUiAcademy  Před 5 lety +1

      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 Před 5 lety

      @@CUiAcademy thank you..
      👍

  • @oh4094
    @oh4094 Před 4 lety +1

    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  Před 4 lety

      I can demonstrate that using C#... I don't have any experience on vb.net

    • @oh4094
      @oh4094 Před 4 lety

      @@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 Před 3 lety

      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.

  • @EGYcon
    @EGYcon Před 5 lety

    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  Před 5 lety +1

      without using database?

    • @EGYcon
      @EGYcon Před 5 lety +1

      @@CUiAcademy with using database

    • @CUiAcademy
      @CUiAcademy  Před 5 lety +1

      @@EGYcon Sure... Please watch my next Video... 😊😊

    • @EGYcon
      @EGYcon Před 5 lety

      @@CUiAcademy thank you very much 😍

  • @bartomiejbartoszewicz8472

    Where I can find icons which you use?

  • @josemariemojica2474
    @josemariemojica2474 Před 4 lety

    it didnt work with guna ui framework

  • @MrPeter1719
    @MrPeter1719 Před 4 lety

    Nice tutorial, but I have a question. How does the user exit this form, alt + F4?

  • @bitnetsoftgpl
    @bitnetsoftgpl Před 5 lety +1

    Will anyone have the source code of this video? please.

    • @CUiAcademy
      @CUiAcademy  Před 5 lety +1

      Hi. Please download the source code from this link: github.com/SaLaaRHuSyN/DisplayUserControlFromAnotherUC

  • @twitchfabi_xo9943
    @twitchfabi_xo9943 Před 5 lety +1

    Can u remake the epic games launcher ? I am new and I want to learn more about this :)

  • @Ankit-nj6cr
    @Ankit-nj6cr Před 4 lety

    Video starts at 14:45

  • @elietaillard9944
    @elietaillard9944 Před 3 lety

    What's the solution in WPF ?

  • @karim-sq1sk
    @karim-sq1sk Před 5 lety +2

    source code fore this video
    ??

    • @CUiAcademy
      @CUiAcademy  Před 5 lety

      Please Download it from this link: github.com/SaLaaRHuSyN/DisplayUserControlFromAnotherUC

  • @phavneesh7454
    @phavneesh7454 Před 3 lety

    In VB we put
    Name.visible

  • @stefanop5366
    @stefanop5366 Před 5 lety

    where is source code? name?

  • @quero0
    @quero0 Před 5 lety

    deyum son dawasick

  • @soundrogue4472
    @soundrogue4472 Před 2 lety

    okay it looks pretty BUT I just want to be TAUGHT the basics, not the fancy!

  • @Elzelgator
    @Elzelgator Před 2 lety

    This video too long tho. Half of the video shows irrelavent button addition.