Windows Develop Bookmark and Share   
 index > Windows Forms General > Which method is better for internal paging ?
 

Which method is better for internal paging ?

Dear All,

I have an application where I need to move from page 1 to page 2. I have 2 options. Option 1is that first on load I show all the elements for page1 and invisible allthe elemnts for page2then on click of next button I will hide all the elements for page1 and make visible true for page2. Option 2 is that I load first a form considering it as page1 then on click of next button then I close the first form and pop up a new form considering it as page2. So I would like to know which option is better and optimize ? Thanks.

a.net sukbir  Saturday, January 05, 2008 2:10 PM

Hiļ¼?sukbir

I think therearen't big diffevences between these two options. It depends on how you design the style and the the content of the two pages, If thereisa lot ofinformation in these two pages, the second maybe better,becouse it will be faster to load.If thereis only a little information in these two pages, maybe the first is better.

Best Regards

Gavin

Gavin Jin - MSFT  Tuesday, January 08, 2008 2:50 PM

Hiļ¼?sukbir

I think therearen't big diffevences between these two options. It depends on how you design the style and the the content of the two pages, If thereisa lot ofinformation in these two pages, the second maybe better,becouse it will be faster to load.If thereis only a little information in these two pages, maybe the first is better.

Best Regards

Gavin

Gavin Jin - MSFT  Tuesday, January 08, 2008 2:50 PM

Dear Gavin,

Thank you for your reply. But in my case I guess I must use the second method as my case is the complex version. Thanks once again.

a.net sukbir  Tuesday, January 08, 2008 3:09 PM

You can use google to search for other answers

Custom Search

More Threads

• Screen Refresh taking Forever
• Convert object to int
• jpg
• Shortcut for ToolStripMenuItem
• "Enter"
• Application.Run(...)TargetInvocationException -> OperationCompleted already called
• how to synchronously open Windows Forms / or how to provide a second UI-Thread without creating a new Application
• ListBox can show dropdown list ?
• How to change mouse cursor during a drag & drop operation
• Adding an image to a subitem in a listview