Here are the examples of the csharp api class Driver.Dialog.GetPageVisibility(int) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
void SetVisiblePage(int p)
if (p < 0 || p > 2) return;
page = p;
Page1.Visibility = GetPageVisibility(0);
Page2.Visibility = GetPageVisibility(1);
Page3.Visibility = GetPageVisibility(2);