Exemplo n.º 1
0
 private void VUE_LOT_Load(object sender, EventArgs e)
 {
     LL = ControllerRq.AskAllLot();
     LP = ControllerRq.AskAllProByLot();
     if (LL.Count() != 0)
     {
         for (int i = 0; i < LL.Count(); i++)
         {
             if (LL[i].NUM_LOT == LP[i].NUM_LOT)
             {
                 ListViewItem lot = new ListViewItem(LL[i].NUM_LOT.ToString());
                 lot.SubItems.Add(LL[i].ADRESSE);
                 lot.SubItems.Add(LL[i].COD_PART.ToString());
                 lot.SubItems.Add(LP[i].NOM_PRO);
                 ListLot.Items.Add(lot);
             }
         }
     }
 }
Exemplo n.º 2
0
 public VUE_PRINT_CHA(GereRequetes Controller1)
 {
     InitializeComponent();
     ControllerRq = Controller1;
     LL           = ControllerRq.AskAllLot();
 }