Exemplo n.º 1
0
        private void trouve_ReservClient()
        {
            try
            {
                BS_Reser.Position = BS_Reser.Find("IdReser", DataSet_Arrivee.Tables["Arrive"].Rows[BS_Arrive.Position]["IdReser"]);

                BS_Client.Position = BS_Client.Find("IdCli", DataSet_Arrivee.Tables["Arrive"].Rows[BS_Arrive.Position]["IdCli"]);
            }
            catch (Exception) { }
        }
Exemplo n.º 2
0
 private void btn_next1_Click(object sender, EventArgs e)
 {
     if (BS_Depart.Position + 1 == BS_Depart.Count)
     {
         BS_Reser.MoveNext();
     }
     else
     {
         BS_Depart.MoveNext();
     }
 }
Exemplo n.º 3
0
 private void btn_previous1_Click(object sender, EventArgs e)
 {
     if (BS_Depart.Position - 1 < 0)
     {
         BS_Reser.MovePrevious();
     }
     else
     {
         BS_Depart.MovePrevious();
     }
 }