public Page_Output() { InitializeComponent(); parent.currentPage = OpenPseudonymiser.MainWindow_TNG.Page.ChooseTarget; parent.SetPageHeader(parent.currentPage); parent.EnableBack(); parent.DisableNext(); parent.DisableFinish(); ValidatePage(); }
MainWindow_TNG parent = (MainWindow_TNG)Application.Current.Windows[1]; // because the (hidden) licence window is alway index 0 public Page_Columns() { InitializeComponent(); parent.currentPage = OpenPseudonymiser.MainWindow_TNG.Page.ChooseColumns; parent.SetPageHeader(parent.currentPage); parent.EnableBack(); parent.DisableNext(); parent.DisableFinish(); // binding doesnt seem to work from XAML, so doing it in code lvColumns.ItemsSource = parent.ColumnCollection; ValidatePage(); }
public Page_Salt() { InitializeComponent(); cvsKeyServerDetails.Visibility = Visibility.Hidden; btnLogin.Visibility = Visibility.Visible; //lblSelectedSaltFile.Visibility = Visibility.Hidden; cmbSaltFilesFromKeyServer.Visibility = Visibility.Hidden; cvsKeyServer.Visibility = System.Windows.Visibility.Hidden; parent.currentPage = OpenPseudonymiser.MainWindow_TNG.Page.ChooseSalt; parent.SetPageHeader(parent.currentPage); vbProgress.Visibility = System.Windows.Visibility.Hidden; lblProgress.Visibility = System.Windows.Visibility.Hidden; parent.EnableBack(); parent.DisableNext(); parent.DisableFinish(); ValidatePage(); }