예제 #1
0
 public MoreInfoControl(IMoreInfoControlContext context, PluginManager.SupportPackage.FarmSummary farmSummary,
                        PluginManager.SupportPackage.NintexProductData nintexProductData)
 {
     _context           = context;
     _farmSummary       = farmSummary;
     _nintexProductData = nintexProductData;
 }
예제 #2
0
        public FarmSummaryControl(PluginManager.SupportPackage.FarmSummary farmSummary, PluginManager.SupportPackage.NintexProductData nintexProductData)
        {
            InitializeComponent();

            DatabaseVersion.Text = farmSummary.SPDatabaseVersion;
            DatabaseName.Text    = farmSummary.SPDatabaseName;
            DBServerName.Text    = farmSummary.SPDatabaseServer;
            moreInfoControl1.SetContext(new FarmSummaryMoreInfo());
            moreInfoControl1.SetFarmSummary(farmSummary);
            moreInfoControl1.SetNintexProductData(nintexProductData);
        }
        public EmailSettingControl(PluginManager.SupportPackage.FarmSummary farmSummary)
        {
            InitializeComponent();

            EnableIncomingValue.Text          = farmSummary.EmailSetting.IncomingEmail.EnableIncoming.ToString();
            UseAutoSettingsValue.Text         = farmSummary.EmailSetting.IncomingEmail.UseAutomaticSettings.ToString();
            ServiceModeValue.Text             = farmSummary.EmailSetting.IncomingEmail.DirectoryManagementService.ServiceMode;
            AcceptFromAuthenticatedValue.Text =
                farmSummary.EmailSetting.IncomingEmail.DirectoryManagementService.AcceptFromAuthenticatedUsersOnly
                .ToString();
            AllowCreateDistributionValue.Text =
                farmSummary.EmailSetting.IncomingEmail.DirectoryManagementService
                .AllowCreateDistributionGroupsFromSharePointSites.ToString();
            AcceptMailFromAllValue.Text =
                farmSummary.EmailSetting.IncomingEmail.SafeEmailServers.AcceptMailFromAllMailServer.ToString();
            CharSetValue.Text = farmSummary.EmailSetting.OutgoingEmail.CharacterSet;
        }
예제 #4
0
 public void SetFarmSummary(PluginManager.SupportPackage.FarmSummary farmSummary)
 {
     _farmSummary = farmSummary;
 }
예제 #5
0
 public MoreInfoControl(IMoreInfoControlContext context, PluginManager.SupportPackage.FarmSummary farmSummary)
 {
     _context     = context;
     _farmSummary = farmSummary;
 }