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(); }
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); }
public User() { Blok = new Bloknot(); }