예제 #1
0
 public void Userregister(string name, string address, string batch, string email)
 {
     UseRe.setCropImage(userImage);
     UseRe.GetFilenumber();
     UseRe.RenameFile();
     UseRe.RegisterUserDetails(name, address, batch, email);
     UseRe.StoreFile();
 }
        public void Userregister(string name, string address, string batch, string email, List <int> subjects, Image[] studentFaces)
        {
            UseRe.RegisterUserDetails(name, address, batch, email, subjects);

            for (int i = 0; i < studentFaces.Length; i++)
            {
                UseRe.setCropImage((Bitmap)studentFaces[i]);
                UseRe.RenameFile(i);
                UseRe.StoreFile();
            }
        }