Esempio n. 1
0
        private void UpdateButtons()
        {
            NfsScanButton.Enabled = SrWizardHelpers.ValidateNfsSharename(NfsServerPathTextBox.Text);
            nfsVersionSelectorTableLayoutPanel.Enabled = radioButtonNfsNew.Checked;

            OnPageUpdated();
        }
Esempio n. 2
0
 private vmpp_archive_target_type GetArchiveTargetType(string path)
 {
     if (SrWizardHelpers.ValidateNfsSharename(path))
     {
         return(vmpp_archive_target_type.nfs);
     }
     if (SrWizardHelpers.ValidateCifsSharename(path))
     {
         return(vmpp_archive_target_type.cifs);
     }
     return(vmpp_archive_target_type.none);
 }
Esempio n. 3
0
        private void NfsServerPathTextBox_TextChanged(object sender, EventArgs e)
        {
            NfsScanButton.Enabled = SrWizardHelpers.ValidateNfsSharename(NfsServerPathTextBox.Text);

            listBoxNfsSRs.Items.Clear();
            panelNfsReattach.Enabled = false;

            if (radioButtonNfsNew.Enabled)
            {
                radioButtonNfsNew.Checked = true;
            }

            UpdateButtons();
        }
Esempio n. 4
0
        private void NfsServerPathTextBox_TextChanged(object sender, EventArgs e)
        {
            NfsScanButton.Enabled = SrWizardHelpers.ValidateNfsSharename(NfsServerPathTextBox.Text);

            listBoxNfsSRs.Items.Clear();
            ToggleReattachControlsEnabledState(false);

            if (radioButtonNfsNew.Enabled)
            {
                radioButtonNfsNew.Checked = true;
            }

            nfsVersion3RadioButton.Enabled = nfsVersion4RadioButton.Enabled = true;

            UpdateButtons();
        }
Esempio n. 5
0
 public override bool EnableNext()
 {
     return(SrWizardHelpers.ValidateNfsSharename(NfsServerPathTextBox.Text) &&
            (radioButtonNfsNew.Checked || listBoxNfsSRs.SelectedIndex > -1));
 }
Esempio n. 6
0
        private void UpdateButtons()
        {
            NfsScanButton.Enabled = SrWizardHelpers.ValidateNfsSharename(NfsServerPathTextBox.Text);

            OnPageUpdated();
        }
Esempio n. 7
0
 public override bool EnableNext()
 {
     return(!passwordFailure1.Visible && SrWizardHelpers.ValidateNfsSharename(NfsServerPathComboBox.Text));
 }