C# Tutorial - Multiple pages on the Form using Panel Control | FoxLearn

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 99

  • @jeppie12
    @jeppie12 8 років тому +85

    why oh why do people think that blaring music in the background of a tutorial, competing with the voice, is a good idea?

    • @Rendon276
      @Rendon276 5 років тому +5

      That's an option. Yet he makes a valid point.

  • @brewjaystudios6108
    @brewjaystudios6108 5 років тому +17

    Fun tip! Mute and put on closed captions, you'll thank me

  • @meloonaticmelons
    @meloonaticmelons 7 років тому +13

    It is actually a lot simpler than I expected! Wow Thanks!

    • @foxlearn
      @foxlearn  7 років тому

      Thank you so much :)

  • @nikhildusane1129
    @nikhildusane1129 7 років тому +1

    This is awesome... Thank you soo much. I am looking for this since last 1 month. Thanks again

  • @tibi8106
    @tibi8106 5 років тому +5

    Is there a way to edit the controls on a panel after another panel has been laid on it and there are more than 2 panels? Suppose I have 10 panels and now I can’t understand how to edit the controls if there are many panels and in addition they still occupy the entire surface of the form.

    • @beanie-k9m
      @beanie-k9m 2 роки тому

      did you find any solution to this?

    • @oliviafranken718
      @oliviafranken718 3 місяці тому

      1: When you're viewing your form under the "YourProject.cs [Design]" tab, go to the drop down that is at the top of the properties popup located in the bottom right corner of Visual Studio by default.
      2. Select the name of the panel you want to edit. It selects the panel but does not make it visible, and you can tell this because you can resize the panel, see the little four directional arrow to move it around, and the right facing carrot .
      3: Right click on the four directional arrow, and select bring to front. You should be able to edit the panel in peace now.

  • @smartkidsgh2688
    @smartkidsgh2688 2 роки тому +2

    it's not worrking for me 😭😭
    It shows only one panel, which is the last one
    Do I need to change the variable names before it works?

  • @ab_obada5012
    @ab_obada5012 Місяць тому

    Is there any method or a way to hide or, display the panels? The overlapping might be bothering and thanks !

  • @michaelstefanos5461
    @michaelstefanos5461 4 роки тому +2

    What is the name of the music its so relaxing ...

  • @blake5226
    @blake5226 3 роки тому +2

    Nice little video here, I like the simplicity, although I don't like the giant ad at the end that blocks the left portion of the view :/ oh well. Good job.

  • @delidag
    @delidag 2 роки тому

    Thanks for useful video. I like the Fox Learn videos

  • @DiyintheGhetto
    @DiyintheGhetto Рік тому

    hello How can I close the second form in the panel of the first form if it is a borderless second form? So I can open a third form.

  • @TWJRPGGamming
    @TWJRPGGamming 6 років тому +1

    Thx! But how do I modify each panel after all things in this video have been done?

    • @foxlearn
      @foxlearn  6 років тому

      You should modify user control, panel only a container

  • @Kokuen0245
    @Kokuen0245 4 роки тому +1

    No clue if you will reply since this is 5 years old, but, if I don't want next or previous and want a list of buttons like: "Page1", "Page2" and "Page3". How would I go about that?

    • @foxlearn
      @foxlearn  4 роки тому

      OK. Thank you for your suggestion. I'll upload soon !

    • @Kokuen0245
      @Kokuen0245 4 роки тому

      @@foxlearn jeez, thanks for replying and actually helping out!

    • @Kokuen0245
      @Kokuen0245 4 роки тому

      @@foxlearn and if I’m to be more exact with what I’m asking. Say I had a panel and put 5 buttons in it. And I wanted to be able to click a button and make a page appear and just repeat.

  • @sonamu3627
    @sonamu3627 3 роки тому +1

    시청 완료

  • @maheshnigam2994
    @maheshnigam2994 3 роки тому

    thank you for video, it was very useful for me :)

  • @Blessed473
    @Blessed473 4 роки тому +2

    You also have to change the tab index in properties to match the index so if you have two pages its 0 for page 1 and 1 for page 2.. too me 1 day to figure out why it wasnt working

    • @SamirSiddiq
      @SamirSiddiq 6 місяців тому +1

      Thank you so much for the tip, saved me some time

  • @Rüstik_Wüdworks
    @Rüstik_Wüdworks Рік тому

    THANK you so much!!!!

  • @riteshkavankar
    @riteshkavankar 4 роки тому +2

    Background music ❤

  • @vishwanathreddy4301
    @vishwanathreddy4301 7 років тому +1

    it's really good,, come up with more applications. TY

  • @theboss4006
    @theboss4006 3 роки тому

    Oh I'd like a different type of switching. Like a taskbar

  • @yeakleang
    @yeakleang 8 років тому

    nice. that's what i was looking for. thanks.

  • @mgomez00
    @mgomez00 4 роки тому

    The music is beautiful and the voice must belong to an angel. So keep them as they are.

  • @StefaniaMak
    @StefaniaMak 5 років тому

    Is it possible to do this among multiple forms?

  • @SathishKumar-gs4er
    @SathishKumar-gs4er 7 років тому

    Good Explanation.....i struggled with this....Thanks for your useful video....

  • @ricks3754
    @ricks3754 5 років тому +3

    speed 1.5 is the best option to watch this

  • @edmartellregala4580
    @edmartellregala4580 6 років тому

    great video! can you also show a video on how to view data to another panel in datagrid?

  • @DrivenByRichard
    @DrivenByRichard 4 роки тому

    Thanks! it helps me.

  • @fasihuddin2620
    @fasihuddin2620 8 років тому

    what to do if after switching to last page we want to a finish button to close some thing ?
    if u have any video please share its link . and thanks for this video

    • @foxlearn
      @foxlearn  8 років тому

      Hi, You can add a finish button when you click to the last page. You can set even to the finish button. I'll make the tutorial soon. thanks

    • @fasihuddin2620
      @fasihuddin2620 8 років тому

      Ehm .. ! Thank you s]o much but i got it my project is done and thanks for all that help you provide there . Love your videos .

  • @amgappsolution4587
    @amgappsolution4587 6 років тому

    how make them slide out, instead of just plopping out ?

  • @LastMomentMan
    @LastMomentMan 2 роки тому

    When I create two panels, and I put one on the other, even it tach the edge of the other, it will disappear.
    in both, design stage, or executing stage.
    How to solve this issue ?.
    Other issue, how to assign the name of the panel, as a variable, so we can use it in a loop of arrays for example.
    C# is dealing with the array variable as a text not as a panel name.!
    ***
    This is the code:
    string[] AllPanels = new string[] { "pnl_1", "pnl_2", "pnl_3", "pnl_4", "pnl_5", "pnl_6", "pnl_7" };
    int PanelsCount = AllPanels.Count();

    for (int PanelLoop=0; PanelLoop

    • @PigFishYT
      @PigFishYT 2 роки тому

      Thats because you try to use .Location on a string. Try using this code and loop though the list (modified some code i used for pictureboxes)
      List PanelElem = new List ();
      string[] PanelNames = { "Panel1", "Panel2", "Panel3" };
      foreach (string name in PanelNames)
      {
      PanelElem.Add((Panel)Controls.Find(name, true)[0]);
      }

  • @fasihuddin2620
    @fasihuddin2620 8 років тому

    This thing is only working with data grid view not without it . why ?

    • @foxlearn
      @foxlearn  8 років тому

      Hi, What do you mean? can you describe more details? thanks

    • @fasihuddin2620
      @fasihuddin2620 8 років тому

      i tried to add a panel without a data grid but that was not working at that time then I use
      panel.visible= true;
      which worked perfectly .

  • @mrcysa
    @mrcysa 7 років тому

    good video :) no doubt, but what are the name of the songs?

    • @foxlearn
      @foxlearn  7 років тому

      Green Leaves, You can find it in the youtube music library

  • @aboodnimer9097
    @aboodnimer9097 6 років тому

    hi friend
    how to make background image in form mdi parent c#

    • @foxlearn
      @foxlearn  6 років тому

      Thank you for your suggestion !

  • @fellixhudson7737
    @fellixhudson7737 7 років тому

    If panel dock fill ??????? ;)

  • @ansargondal1
    @ansargondal1 9 років тому

    AwSome. Keep it up

  • @hamzajilani2142
    @hamzajilani2142 6 років тому

    its help alot......

  • @MasterRegan
    @MasterRegan 8 років тому

    nice video

  • @mojtabarezaei950
    @mojtabarezaei950 5 років тому

    Thank you soo much

    • @foxlearn
      @foxlearn  5 років тому

      Thank you so much !

  • @sandi3ai
    @sandi3ai 6 років тому

    I have 4 panels and no mather what i do, it skips one (usually the second one).. i changed them from panels 1-4 to panels 5-8 .. becaused i did them all over again.. and still the same problem

    • @6Pope9
      @6Pope9 3 роки тому

      check if you're adding them to the list in the right order

  • @latenightenjoyer
    @latenightenjoyer 9 років тому

    I didn't find it elegant way to achieve this. Works fine, but imagine that later on you have to add another control to Page 1. That would be.. crap, moving all the Pages to get the one from the bottom.

    • @foxlearn
      @foxlearn  9 років тому +1

      +Paweł Duszak Select the panel you want to add control from properties explorer and set BringToFront

    • @beanie-k9m
      @beanie-k9m 2 роки тому

      @@foxlearn select the panel from where? can you add this in the video?

  • @mojtabarezaei950
    @mojtabarezaei950 5 років тому

    Thank you

    • @foxlearn
      @foxlearn  5 років тому

      Thank you so much !

  • @baraaageel3262
    @baraaageel3262 6 років тому

    thanks a lot

    • @foxlearn
      @foxlearn  6 років тому

      You're welcome. Thank you !

  • @teckycloud2642
    @teckycloud2642 8 років тому

    source code where

  • @Omey731
    @Omey731 6 років тому +1

    music was too annoying to make this video useful for me, had to mute it !

  • @softarn5554
    @softarn5554 7 років тому

    can you just send me the source code? i want to compare. :/

    • @vishwanathreddy4301
      @vishwanathreddy4301 7 років тому +2

      hey I am sending the source code to you,, it's easy man.
      using System;
      using System.Collections.Generic;
      using System.ComponentModel;
      using System.Data;
      using System.Drawing;
      using System.Linq;
      using System.Text;
      using System.Threading.Tasks;
      using System.Windows.Forms;
      namespace multiple_pages
      {
      public partial class Form1 : Form
      {
      List listPanel = new List();
      int index;
      public Form1()
      {
      InitializeComponent();
      }
      private void label2_Click(object sender, EventArgs e)
      {
      }
      private void btnprevious_Click(object sender, EventArgs e)
      {
      if (index >0)
      listPanel[--index].BringToFront();
      }
      private void btnnext_Click(object sender, EventArgs e)
      {
      if (index < listPanel.Count-1)
      listPanel[++index].BringToFront();
      }
      private void panel3_Paint(object sender, PaintEventArgs e)
      {
      }
      private void Form1_Load(object sender, EventArgs e)
      {
      listPanel.Add(panel1);
      listPanel.Add(panel2);
      listPanel.Add(panel3);
      listPanel[index].BringToFront();
      }
      }
      }

  • @sethhong8049
    @sethhong8049 6 років тому

    tyyy

  • @des_sun1x
    @des_sun1x 6 років тому

    love u.

  • @alejandroochoaenriquez8743
    @alejandroochoaenriquez8743 7 років тому +4

    the music is bored :/

    • @foxlearn
      @foxlearn  7 років тому +2

      Thank you for your suggestion

    • @westernranchers
      @westernranchers 7 років тому

      Can you please let me know what's the first music is? It is awesome.. I can hear it all day

    • @jack.1.
      @jack.1. 7 років тому

      Fox Learn I thought the music was fine 👍

    • @nrvn999
      @nrvn999 7 років тому +1

      I could play this tutorial whenever I can't sleep at 3 a.m.

  • @Supersixers6
    @Supersixers6 2 роки тому

    ok good ....but you not executed it

  • @НектоЛохматый
    @НектоЛохматый 6 років тому +1

    Thank you, but I'd be glad if you were speaking more.. naturally? Your voice is like radio. And the music was too loud to be backgroud. However, the tutorial was quite useful.

  • @808reaper7
    @808reaper7 5 років тому

    Control

  • @Supersixers6
    @Supersixers6 2 роки тому

    not clearity

  • @koteshmeesala1630
    @koteshmeesala1630 3 роки тому

    Too fast

  • @brendanofthelongwhitecloud8489
    @brendanofthelongwhitecloud8489 8 років тому

    Quit the music and perhaps try some inclination in your voice, is it a computer generated voice or something?