Esempio n. 1
0
 public Checker(string[] mails, MailChecker form, bool sendToYahoo, string hostname = "", string from = "")
 {
     _sendToYahoo = sendToYahoo;
     _from        = from;
     _hostname    = hostname;
     _uiForm      = form;
     _mails       = mails;
 }
Esempio n. 2
0
        public Export(MailChecker mailChecker)
        {
            _mailChecker = mailChecker;

            var x = _mailChecker.Location.X + (_mailChecker.Width - Width) / 2;
            var y = _mailChecker.Location.Y + (_mailChecker.Height - Height) / 2;

            Location = new Point(Math.Max(x, 0), Math.Max(y, 0));

            _mailChecker.Enabled = false;

            InitializeComponent();
        }
Esempio n. 3
0
        public Loading(MailChecker mailChecker, int size)
        {
            _mailChecker = mailChecker;

            var x = _mailChecker.Location.X + (_mailChecker.Width - Width) / 2;
            var y = _mailChecker.Location.Y + (_mailChecker.Height - Height) / 2;

            Location = new Point(Math.Max(x, 0), Math.Max(y, 0));

            InitializeComponent();

            progressBarLoad.Maximum = size;
        }