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); } }
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); } }
private void btnNewTruck_ItemClick(object sender, ItemClickEventArgs e) { TruckForm tf = new TruckForm(null); AddTab(tf, "Novo Caminhão", false); }