Example #1
0
        public ucTCPIPPort(int portID)
        {
            InitializeComponent();

            DirtyChecker.SubscribeToChange(this, OnContentChanged);

            if (portID > 0)
            {
                hMailServer.TCPIPPorts ports = APICreator.TCPIPPortsSettings;
                _representedObject = ports.get_ItemByDBID(portID);
                Marshal.ReleaseComObject(ports);
            }

            comboProtocol.AddItem("SMTP", eSessionType.eSTSMTP);
            comboProtocol.AddItem("POP3", eSessionType.eSTPOP3);
            comboProtocol.AddItem("IMAP", eSessionType.eSTIMAP);

            comboConnectionSecurity.AddItems(ConnectionSecurityTypes.Get(true));

            ListSSLCertificates();

            new TabOrderManager(this).SetTabOrder(TabOrderManager.TabScheme.AcrossFirst);

            EnableDisable();
        }
Example #2
0
        public ucProtocolSMTP()
        {
            InitializeComponent();

            DirtyChecker.SubscribeToChange(this, OnContentChanged);

            new TabOrderManager(this).SetTabOrder(TabOrderManager.TabScheme.AcrossFirst);

            comboConnectionSecurity.AddItems(ConnectionSecurityTypes.Get(true));
        }
Example #3
0
        public ucRoute(int routeID)
        {
            InitializeComponent();

            if (routeID > 0)
            {
                hMailServer.Routes routes = APICreator.Routes;
                _representedObject = routes.get_ItemByDBID(routeID);
                Marshal.ReleaseComObject(routes);
            }

            DirtyChecker.SubscribeToChange(this, OnContentChanged);

            new TabOrderManager(this).SetTabOrder(TabOrderManager.TabScheme.AcrossFirst);

            comboConnectionSecurity.AddItems(ConnectionSecurityTypes.Get(true));
            comboConnectionSecurity.SelectedIndex = 0;

            EnableDisable();
        }
Example #4
0
        public formExternalAccount()
        {
            InitializeComponent();

            comboServerType.AddItem("POP3", 1);
            comboServerType.SelectedIndex = 0;

            new TabOrderManager(this).SetTabOrder(TabOrderManager.TabScheme.AcrossFirst);
            Strings.Localize(this);

            textPort.Number = 110;

            DirtyChecker.SubscribeToChange(this, OnContentChanged);

            buttonDownloadNow.Enabled = false;

            comboConnectionSecurity.AddItems(ConnectionSecurityTypes.Get(false));
            comboConnectionSecurity.SelectedIndex = 0;

            EnableDisable();
        }