/// <summary> /// Activate Page /// </summary> /// <param name="previousIndex">previous Page</param> internal override void ActivatePage(int previousIndex) { base.ActivatePage(previousIndex); wizard = (KeyRecoveryWizard)this.Parent; ((KeyRecoveryWizard)this.Parent).WizardButtons = KeyRecoveryWizardButtons.Cancel | KeyRecoveryWizardButtons.Back; UpdateSensitivity(); }
internal override void ActivatePage(int previousIndex) { base.ActivatePage(previousIndex); wizard = (KeyRecoveryWizard)this.Parent; ((KeyRecoveryWizard)this.Parent).WizardButtons = KeyRecoveryWizardButtons.Cancel | KeyRecoveryWizardButtons.Back; UpdateSensitivity(); }
internal override void ActivatePage(int previousIndex) { base.ActivatePage(previousIndex); wizard = (KeyRecoveryWizard)this.Parent; emailID.Text = wizard.ExportKeyPage.EmailAddress; exportPath.Text = wizard.ExportKeyPage.ExportPath; ((KeyRecoveryWizard)this.Parent).WizardButtons = KeyRecoveryWizardButtons.Cancel; }
internal override void ActivatePage(int previousIndex) { base.ActivatePage(previousIndex); wizard = (KeyRecoveryWizard)this.Parent; GetLoggedInDomains(); ((KeyRecoveryWizard)this.Parent).WizardButtons = KeyRecoveryWizardButtons.Cancel|KeyRecoveryWizardButtons.Next; domainComboBox.Focus(); }
internal override void ActivatePage(int previousIndex) { base.ActivatePage(previousIndex); wizard = (KeyRecoveryWizard)this.Parent; GetLoggedInDomains(); ((KeyRecoveryWizard)this.Parent).WizardButtons = KeyRecoveryWizardButtons.Cancel | KeyRecoveryWizardButtons.Next; domainComboBox.Focus(); }
internal override void ActivatePage(int previousIndex) { base.ActivatePage(previousIndex); wizard = (KeyRecoveryWizard)this.Parent; ((KeyRecoveryWizard)this.Parent).WizardButtons = KeyRecoveryWizardButtons.Cancel | KeyRecoveryWizardButtons.Back; iFolderAcc.Text = wizard.DomainSelectionPage.SelectedDomain.Name; newPassphrase.Focus(); UpdateSensitivity(); }
internal override void ActivatePage(int previousIndex) { base.ActivatePage(previousIndex); wizard = (KeyRecoveryWizard)this.Parent; selectedDomain = wizard.DomainSelectionPage.SelectedDomain ; this.accountBox.Text = wizard.DomainSelectionPage.SelectedDomain.Name +"-"+ wizard.DomainSelectionPage.SelectedDomain.Host; DisplayRAName(selectedDomain); this.filePath.Text = GetDefaultPath(selectedDomain.Name); UpdateSensitivity(); }
internal override void ActivatePage(int previousIndex) { base.ActivatePage(previousIndex); wizard = (KeyRecoveryWizard)this.Parent; selectedDomain = wizard.DomainSelectionPage.SelectedDomain; this.accountBox.Text = selectedDomain.Name; ((KeyRecoveryWizard)this.Parent).WizardButtons = KeyRecoveryWizardButtons.Back | KeyRecoveryWizardButtons.Cancel; UpdateSensitivity(); p12TextBox.Focus(); }
internal override void ActivatePage(int previousIndex) { base.ActivatePage(previousIndex); wizard = (KeyRecoveryWizard)this.Parent; selectedDomain = wizard.DomainSelectionPage.SelectedDomain; this.accountBox.Text = selectedDomain.Name; this.oneTimePassphrase.Enabled = false; ((KeyRecoveryWizard)this.Parent).WizardButtons = KeyRecoveryWizardButtons.Back | KeyRecoveryWizardButtons.Cancel; this.LocationEntry.Focus(); }
/// <summary> /// Activate Page /// </summary> /// <param name="previousIndex">previous Page</param> internal override void ActivatePage(int previousIndex) { base.ActivatePage(previousIndex); //Get email id and export path from previous page wizard = (KeyRecoveryWizard)this.Parent; emailID.Text = wizard.ExportKeyPage.EmailAddress; exportPath.Text = wizard.ExportKeyPage.ExportPath; ((KeyRecoveryWizard)this.Parent).WizardButtons = KeyRecoveryWizardButtons.Cancel; }
/// <summary> /// Activate Page and perform initialisation operations. /// </summary> /// <param name="previousIndex">previous Page</param> internal override void ActivatePage(int previousIndex) { base.ActivatePage(previousIndex); wizard = (KeyRecoveryWizard)this.Parent; selectedDomain = wizard.DomainSelectionPage.SelectedDomain; this.accountBox.Text = wizard.DomainSelectionPage.SelectedDomain.Name + "-" + wizard.DomainSelectionPage.SelectedDomain.Host; this.oneTimePassphrase.Enabled = false; ((KeyRecoveryWizard)this.Parent).WizardButtons = KeyRecoveryWizardButtons.Back | KeyRecoveryWizardButtons.Cancel; this.LocationEntry.Focus(); }
internal override void ActivatePage(int previousIndex) { base.ActivatePage(previousIndex); wizard = (KeyRecoveryWizard)this.Parent; ((KeyRecoveryWizard)this.Parent).WizardButtons = KeyRecoveryWizardButtons.Cancel | KeyRecoveryWizardButtons.Back; iFolderAcc.Text = wizard.DomainSelectionPage.SelectedDomain.Name + wizard.DomainSelectionPage.SelectedDomain.Host; string domainID = wizard.DomainSelectionPage.SelectedDomain.ID; DomainInformation domainInfo = (DomainInformation)this.simiasWebService.GetDomainInformation(domainID); userName.Text = domainInfo.MemberName; newPassphrase.Focus(); UpdateSensitivity(); }
/// <summary> /// Activate Page /// /// </summary> /// <param name="previousIndex">previous Page</param> internal override void ActivatePage(int previousIndex) { base.ActivatePage(previousIndex); wizard = (KeyRecoveryWizard)this.Parent; selectedDomain = wizard.DomainSelectionPage.SelectedDomain; this.accountBox.Text = wizard.DomainSelectionPage.SelectedDomain.Name + "-" + wizard.DomainSelectionPage.SelectedDomain.Host; //InitialForExport(); ((KeyRecoveryWizard)this.Parent).WizardButtons = KeyRecoveryWizardButtons.Back | KeyRecoveryWizardButtons.Cancel; UpdateSensitivity(); p12TextBox.Focus(); }
/// <summary> /// Activate Page /// </summary> /// <param name="previousIndex">previous Page</param> internal override void ActivatePage(int previousIndex) { base.ActivatePage(previousIndex); // Enable/disable the buttons. wizard = (KeyRecoveryWizard)this.Parent; selectedDomain = wizard.DomainSelectionPage.SelectedDomain; this.accountBox.Text = wizard.DomainSelectionPage.SelectedDomain.Name + "-" + wizard.DomainSelectionPage.SelectedDomain.Host; DisplayRAName(selectedDomain); this.filePath.Text = GetDefaultPath(selectedDomain.Name); UpdateSensitivity(); }
internal override void ActivatePage(int previousIndex) { base.ActivatePage(previousIndex); //display account name wizard = (KeyRecoveryWizard)this.Parent; ((KeyRecoveryWizard)this.Parent).WizardButtons = KeyRecoveryWizardButtons.Cancel | KeyRecoveryWizardButtons.Back; iFolderAcc.Text = wizard.DomainSelectionPage.SelectedDomain.Name + wizard.DomainSelectionPage.SelectedDomain.Host; //display user name string domainID = wizard.DomainSelectionPage.SelectedDomain.ID; DomainInformation domainInfo = (DomainInformation)this.simiasWebService.GetDomainInformation(domainID); userName.Text = domainInfo.MemberName; newPassphrase.Focus(); UpdateSensitivity(); }
private void menuRecoverKeys_Click(object sender, EventArgs e) { KeyRecoveryWizard kr = new KeyRecoveryWizard(this.ifWebService, this.simiasWebService, this.simiasManager); if (kr.GetLoggedInDomains() == true) { kr.ShowDialog(); } else { System.Resources.ResourceManager Resource = new System.Resources.ResourceManager(typeof(FormsTrayApp)); Novell.iFolderCom.MyMessageBox mmb = new MyMessageBox(Resource.GetString("NoLoggedInDomainsText"), Resource.GetString("ResetError"), "", MyMessageBoxButtons.OK, MyMessageBoxIcon.Error); mmb.ShowDialog(); mmb.Dispose(); } }