{
if (!ApplicationSettings.EnableNotifyIcon && !chkStartHTTP.Checked)
{
MessageBox.Show("Displaying Notify Icon in system tray is already disabled and you cannot disable http service. Either of one is required to manage the service.", "Advanced FTP Server");
chkStartHTTP.Checked = true;
return;
}
if (txtPasvRangeFrom.Value >= (txtPasvRangeTo.Value - 10))
{
MessageBox.Show("Invalid PASV Port range. Atleast 10 ports must be allowed for PASSIV mode.", "Advanced FTP Server");
return;
}