public void LoadData()
{
if (_representedObject == null)
return;
textName.Text = _representedObject.Name;
textPriority.Number = _representedObject.Priority;
textLowerIPAddress.Text = _representedObject.LowerIP;
textUpperIPAddress.Text = _representedObject.UpperIP;
checkAllowSMTP.Checked = _representedObject.AllowSMTPConnections;
checkAllowPOP3.Checked = _representedObject.AllowPOP3Connections;
checkAllowIMAP.Checked = _representedObject.AllowIMAPConnections;
checkRequireSMTPAuthLocalToLocal.Checked = _representedObject.RequireSMTPAuthLocalToLocal;
checkRequireSMTPAuthLocalToExternal.Checked = _representedObject.RequireSMTPAuthLocalToExternal;
checkRequireSMTPAuthExternalToLocal.Checked = _representedObject.RequireSMTPAuthExternalToLocal;
checkRequireSMTPAuthExternalToExternal.Checked = _representedObject.RequireSMTPAuthExternalToExternal;
checkAllowDeliveiesFromL2L.Checked = _representedObject.AllowDeliveryFromLocalToLocal;
checkAllowDeliveiesFromL2R.Checked = _representedObject.AllowDeliveryFromLocalToRemote;
checkAllowDeliveiesFromR2L.Checked = _representedObject.AllowDeliveryFromRemoteToLocal;
checkAllowDeliveiesFromR2R.Checked = _representedObject.AllowDeliveryFromRemoteToRemote;
checkSpamProtection.Checked = _representedObject.EnableSpamProtection;
checkAntiVirus.Checked = _representedObject.EnableAntiVirus;
checkExpires.Checked = _representedObject.Expires;
dateTimeExpiresTime.Value = Convert.ToDateTime(_representedObject.ExpiresTime);
EnableDisable();
}