Пример #1
0
        void _bw_send_DoWork(object sender, DoWorkEventArgs e)
        {
            var args = e.Argument as GenMailArgs;

            Gen.Mail(args, sender, e);
        }
Пример #2
0
        private void bw_create_DoWork(object sender, DoWorkEventArgs e)
        {
            var args = e.Argument as GenUsersArgs;

            Gen.Users(args.UserCount, args.DEPath, args.DefaultPassword, sender, e);
        }