private void btnSelect_Click(object sender, EventArgs e)
 {
     if (bdgDrivers.Current != null)
     {
         DriverForm df = new DriverForm((driver)bdgDrivers.Current);
         desk.AddTab(df, "Edição de Motorista", true);
     }
 }
 private void btnSelect_Click(object sender, EventArgs e)
 {
     if (bdgDrivers.Current != null)
     {
         DriverForm df = new DriverForm((driver)bdgDrivers.Current);
         desk.AddTab(df, "Edição de Motorista", true);
     }
 }
Beispiel #3
0
 private void btnNewDriver_ItemClick(object sender, ItemClickEventArgs e)
 {
     DriverForm df = new DriverForm(null);
     AddTab(df, "Novo Motorista", false);
 }