Example #1
0
 public User(string name, string surname, string username, string password, string fileFormat)
 {
     Name       = name;
     Surname    = surname;
     Username   = username;
     Password   = password;
     FileFormat = fileFormat;
     Blok       = new Bloknot();
 }
Example #2
0
        private void SignIn()
        {
            ConsoleKey key;

            while (true)
            {
                Console.WriteLine("Create account : 1    Login : 2");
                key = Console.ReadKey().Key;
                Console.Clear();
                if (key == ConsoleKey.NumPad1)
                {
                    Registration();
                }
                else if (key == ConsoleKey.NumPad2)
                {
                    Login();
                    break;
                }
            }
            Us.Blok.ContList = Bloknot.Load(Us);
        }
Example #3
0
 public User()
 {
     Blok = new Bloknot();
 }