C# Lesson 01

shamRox

Well-known member
  • May 25, 2011
    1,200
    198
    63
    ඔන්න මමත් වැවක් පටන් ගත්ත....


    C# Using Panels


    I'm going to teach you how to use C# Controllers to make easier developing your windows form applications and to make it more eye catching...


    So assume you have two Panels in your Form and you have a requirement to show ONE Panel at a time. And want to change to the other Panel when user wants to.


    Step 1-> Create a New Project and Right Click on the Windows Form and Select -> View Code




    Step 2 -> Develop the Code to Visible only one Panel at a time according to the Panel Name we Pass.


    Step 3 -> Then Call the Function with the Panel Name you want to display at the Page Load Event




    Step 4 -> The call the function again the the button click event in the Panel 1 to display the next Panel, and then in the click event of button 2 on the Panel 2 to make visible the Panel 1


    Step 5 -> Run the Project and See Yourself













    Hope you guys had Learned Something.... Meet you Guys soon in another Post.....


    Keep In Touch....



    හොදනම් ඉතින් සලකල යන්න....



    http://itspices.blogspot.com/2012/08/c-how-to-use-controlers-ex-panels.html




    :rofl::rofl::rofl::rofl:
     

    shamRox

    Well-known member
  • May 25, 2011
    1,200
    198
    63
    machan c# programme ekakata SQL server database ekak LAN ekak idala connect karana widiha dannawada.


    Lan eken connect wena hati mama test karala na... mage frnd kenek dannawa... mata pm ekak danna... mama balala deffa kiyannam.....
     

    NUWAN BUWA

    Well-known member
  • Jun 4, 2011
    41,753
    3,131
    113
    44
    යටියන්තොට..
    000201F9.gif