private void pageServer_InputChanged(object sender, EventArgs e)
{
textBoxCustomServer.Enabled = optionCustomServer.Checked;
textBoxFileShare.Enabled = buttonFileShareBrowse.Enabled = optionFileShare.Checked;
pageServer.AllowNext =
optionOfficalServer.Checked ||
(optionCustomServer.Checked && !string.IsNullOrEmpty(textBoxCustomServer.Text) && textBoxCustomServer.IsValid) ||
(optionFileShare.Checked && !string.IsNullOrEmpty(textBoxFileShare.Text) && Path.IsPathRooted(textBoxFileShare.Text));
}