Hi guys welcome to twitter's fun channel
Today I am going to teach number loading system using C sharp document
Here if you enter the number here on this text box Here if you enter 40
Here you can notice that the number which you are loading is 440 See
Let's enter the number as 10 You can notice that the number loading is 10
See 1 2 3 is loading Ok This kind of system how to do is C sharp
Let's close the home And let's open the new home Here What I am going to do is here
First I need one label control And I need one relevant export code label control Here
First I am going to change the name as Enter the number
Enter the number Enter the number Here This one for entering the numbers
This one for loading the numbers So I need one control This is a flip box control
I select I pick the tool from the tool box List box
Here this one is a list box Just go like this I need buttons Here
The buttons This one for load
Another one for pin There are two buttons one for load and another one for create a list Ok
So let's load the number Here You have already studied this stuff earlier
When you are writing a loop If you want to display the number 1 to 10
What is this concept we are usually using Using special loop Ok
You can use it in this scenario You can use while loop or do while loop
Full loop or whatever it is You can load a number The same concept we have to use it
Ok if you load the number 1 to 10 or another You have to use the concept loop Ok
So here first I have to equal into the First I am going to get the variable number
Then equal into the appropriate For a relevant text box So this text box I am going to equal
Here I create the variable number I equal into this particular text box
Then the user enter a number here 50 or 56 It automatically put it in the variable number
Now number will be 56 Then This will be here 48 I am creating another variable
Let's say A Starting from starting position will be 1 here This one is going to be the condition
This one will be the initialization value Starting from 1 here The condition is
A less than or equal to this number So A mean this one
If it is less than or equal to this number This condition is true
After that This one Now The number will be placed
Then particular Text box controls So Let box item Item .add
So here I call this variable here That is This is how it is Ok Next
Run the program I forgot to write the clear button also Double click on this After Box.item.clear
Clear This is true Let's click load Here the number will be loaded from
2 to 12 Starting from position 1 Ending position 12 Let's click clear
And again enter number 100 and click load You can see number will be loaded Ok
This is simple system I made in C sharp If you like my channel please subscribe me
Thank you for watching