示例#1
0
 /// <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();
 }
示例#2
0
 internal override void ActivatePage(int previousIndex)
 {
     base.ActivatePage(previousIndex);
     wizard = (KeyRecoveryWizard)this.Parent;
     ((KeyRecoveryWizard)this.Parent).WizardButtons = KeyRecoveryWizardButtons.Cancel | KeyRecoveryWizardButtons.Back;
      UpdateSensitivity();
 }
示例#3
0
 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();
 }
示例#5
0
        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();
 }
示例#7
0
 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();
 }
示例#8
0
 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();
 }
示例#9
0
 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();
 }
示例#10
0
        /// <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;
        }
示例#11
0
        /// <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();
 }
示例#13
0
        /// <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();
        }
示例#14
0
        /// <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();
        }
示例#15
0
        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();
        }
示例#16
0
 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();
     }
 }