Пример #1
0
 private void btnSelect_Click(object sender, EventArgs e)
 {
     if (bdgTrucks.Current != null)
     {
         TruckForm tf = new TruckForm((truck)bdgTrucks.Current);
         desk.AddTab(tf, "Edição de Caminhão", true);
     }
 }
Пример #2
0
 private void btnSelect_Click(object sender, EventArgs e)
 {
     if (bdgTrucks.Current != null)
     {
         TruckForm tf = new TruckForm((truck)bdgTrucks.Current);
         desk.AddTab(tf, "Edição de Caminhão", true);
     }
 }
Пример #3
0
 private void btnNewTruck_ItemClick(object sender, ItemClickEventArgs e)
 {
     TruckForm tf = new TruckForm(null);
     AddTab(tf, "Novo Caminhão", false);
 }