Exemplo n.º 1
0
        ShowUc items(int r4)
        {
            ShowUc d = new ShowUc();

            d.Name      = " control" + r4.ToString();
            d.Margin    = new Padding(5);
            d.My_click += d_My_click;

            return(d);
        }
Exemplo n.º 2
0
 void ADDCAR(List <carclass> list)
 {
     flpcar.Controls.Clear();
     foreach (carclass s in list)
     {
         ShowUc u = new ShowUc();
         // u.BackColor = System.Drawing.Color.Khaki;
         u.Name = "user" + u;
         u.addd(s);
         u.My_click += d_My_click;
         flpcar.Controls.Add(u);
     }
 }
Exemplo n.º 3
0
 void ADDPART(List <partclass> list)
 {
     flppart.Controls.Clear();
     foreach (partclass p in list)
     {
         ShowUc u = new ShowUc();
         //  u.BackColor = System.Drawing.Color.Khaki;
         u.Name = "user" + u;
         u.adddpart(p);
         u.My_click += d_My_click;
         flppart.Controls.Add(u);
     }
 }
Exemplo n.º 4
0
 void ADDACCESSORIES(List <Accessories_Class> list)
 {
     flp4.Controls.Clear();
     foreach (Accessories_Class a in list)
     {
         ShowUc u = new ShowUc();
         // u.BackColor = System.Drawing.Color.Khaki;
         u.Name = "user" + u;
         u.addaccess(a);
         u.My_click += d_My_click;
         flp4.Controls.Add(u);
     }
 }