Menu Generator Ver 3 |
. |
(Generates Menu of my Dreams. Written by me in c#) |
Version: 170406Th |
. |
Once upon a time I wanted to have a menu under and/or above every page of threads in Forums, I was visiting in those days, to make navigation in between pages of thread easier. |
. |
My idea then was and still is that, that menu and it's sub-menus will show all page numbers of respective thread in a hierarchy to let user go directly to required page. This type of menu will be specially very useful in any situation where one needs to go to some information through a number in a very long list of numbers eg page number of a thread or record number of a database table etc, in a very long list. |
. |
So I made an application in C# to test it's 'look and feel' myself. And it is looking good to me. |
. |
. |
Following are the screen shots of 'MenuGenerator - 03' application with explanation. |
. |
. |
Application looks like this when it is loaded. |
. |
. |
Menu with 'Menu' text gives two options "Help" and "Exit". 'Help' menu gives three options 'About', 'Purpose' and 'How to Use'. |
. |
. |
Application looks like this when 'About' option of 'Help' menu of 'Menu' menu is selected. It displays some basic information about application. |
. |
. |
Application looks like this when 'Purpose' option of 'Help' menu of 'Menu' menu is selected. It displays text describing purpose of this application. |
. |
. |
Application looks like this when 'How to Use' option of 'Help' menu of 'Menu' menu is selected. It displays information about how one can use this application. |
. |
. |
Application looks like this when 'Generate Indexed Menu' button is clicked and application starts generating 'Indexed' menu. In status line application shows name of count of menuItem generated and time consumed so far. |
. |
. |
Application looks like this when 'Indexed' menu generation completes. In status line it shows how many menus and menuItems were generated and how much time was consumed in doing so. |
. |
. |
Application looks like this when 'Generate Pagination Menu' button is clicked and application starts generating 'Pagination' menu. In status line application shows name and count of menuItem generated and time consumed so far. |
. |
. |
Application looks like this when 'Pagination' menu generation completes. In status line it shows how many menus and menuItems were generated and how much time was consumed in doing so. |
. |
. |
Application looks like this when both 'Indexed' and 'Pagination' menu generation completes. In status lines or both it shows how many menus and menuItems were generated and how much time was consumed in doing so. |
. |
. |
Application looks like this when some menuItems are selected from generated 'Indexed' menu. |
. |
. |
Application looks like this when some menuItems are selected from generated 'Pagination' menu. It clearly shows how easy it is to navigate to any number. And that number can be 'Page number of a thread' or a 'Record number of a database table' or any thing else similar. |
. |
. |
Menu generated by clicking 'Generate Pagination Menu' is the menu I was talking about at start of this blog post and this menu can be seen by clicking 'Pagination' menu. One can reach to any required number between 1 and 100000 by clicking 6 times only or by clicking 2 times, once for opening 'Pagination' menu and once for selecting required number, and hovering 4 times for expanding in between menus. |
. |
. |
Similarly for upper limit of 1000000 (one million) only 7 clicks will take to required number. For upper limit of 1000000000 (one billion) only 10 clicks will take to required number. For upper limit of 1000000000000 (one trillion) only 13 clicks will take to required number. For upper limit of |
100000000000000000000000000000000000000000000000000 |
00000000000000000000000000000000000000000000000000 |
only 101 clicks will take to required number. And so and so on. |
. |
. |
Menu generated by clicking 'Generate Indexed Menu' is added as a bonus in this application and this menu can be seen by clicking 'Indexed' menu. |
. |
. |
Enjoy Complete Source code of application written and compiled in visual studio 2010 Ultimate by me. Download it. Extract it. Read 'ReadMeFirst.txt' file and do as is explained in it. |
Thursday, April 6, 2017
Menu Generator Ver 3 - C Sharp - 170406Th
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment