I am developing one windows bases application where I want to give options to users to set their favorites tabs, from which they can easily access any windows forms. Please suggest any idea, how to do it.
I hope your application have any database.
you can follow below approach if suited to you application:
1. Create a table to store link for favorites form for users. you can use columns: favid, favformdisplayname, favformobjname, userid(forgien key)
2. Provide any checkbox or button on each form to add it to favorite. whenever user click on it, fire a query to insert (favid, favformdisplayname, favformobjname, userid) in table to store favorites for user. It will be good if you use checkbox as on unchecking you can delete the entry from favorite table.
3. On favorite tab, you should fire select query to retrieve favorite form name on the basis of userid. Display the result on favorite tab and provide link for each row. On clicking any of these link open the respective form.
4. Also on favorite tab, you can provide checkbox or delete button for every favorite form to remove it.
Hope it will help. You an improve it as per you need.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)