Ejemplo n.º 1
0
        private bool Input()
        {
            if (!CheckInoput())
            {
                return(false);
            }
            FormalUser formalUser = new FormalUser(textBox1.Text, textBox2.Text);
            int        months     = radioButton1.Checked ? 3 : 12;
            string     err;

            if (AdminBLL.AddFormalUser(formalUser, months, out err))
            {
                form.Refresh();
                MessageBox.Show(err);
                return(true);
            }
            MessageBox.Show(err);
            return(false);
        }