public CustomerSystem() { db = new DateBase(); InitializeComponent(); db.SortWithCount(listView1); uid = ""; rate = 0; }
public CustomerSystem(LogIn login, string id) { LoGin = new LogIn(); LoGin = login; db = new DateBase(); InitializeComponent(); db.SortWithCount(listView1); customer = new Customer(id); uid = id; rate = 0; }