예제 #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);
 }