internal void IniApp(List <APPID> list) { int x = 0; int y = 0; applist.Clear(); foreach (var v in list) { apppanel ap = new apppanel(v); ap.Online = false; ap.mainpanel.Location = new Point((129 + 5) * x + 5, 29 + (33 + 3) * y + 3); ap.mainpanel.Parent = mainpanel; applist.Add(v, ap); x++; if (x > 6) { x = 0; y++; } } }
internal void IniApp(List<APPID> list) { int x = 0; int y = 0; applist.Clear(); foreach(var v in list) { apppanel ap = new apppanel(v); ap.Online = false; ap.mainpanel.Location = new Point((129 + 5) * x +5 , 29 + (33 + 3) * y + 3); ap.mainpanel.Parent = mainpanel; applist.Add(v, ap); x++; if(x>6) { x = 0; y++; } } }