public Checker(string[] mails, MailChecker form, bool sendToYahoo, string hostname = "", string from = "") { _sendToYahoo = sendToYahoo; _from = from; _hostname = hostname; _uiForm = form; _mails = mails; }
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(); }
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; }