If btnAppCDTFlash.Visible = False And btnAppProvision.Visible = false Then
btnEDL.Left = pnlflshproducts.Width / 2 - (btnEDL.Width + btnFlashAPP.Width + 20dip)/2
btnFlashAPP.Left = btnEDL.Right + 10dip
Else
btnAppProvision.Left = pnlflshproducts.Width / 2 - (btnAppProvision.Width + btnEDL.Width + btnFlashAPP.Width + btnAppCDTFlash.Width + 20dip)/2
btnEDL.Left = btnAppProvision.Right + 10dip
btnFlashAPP.Left = btnEDL.Right + 10dip
btnAppCDTFlash.Left = btnFlashAPP.Right + 10dip
End If