private void loadVech() { vechSql one = new vechSql("D:\\vechicle.sqlite"); List <string> li = one.getAllVechName(); vech_comBox.Items.Clear(); foreach (var item in li) { vech_comBox.Items.Add(item.ToString()); } }
public vechForm() { m_sql = new vechSql("D:\\vechicle.sqlite"); vechA = new vechSubFormA(this); vechD = new vechSubFormD(this); m_type = formType.vech; m_status = formStatus.noneStaus; InitializeComponent(); goFull(); load(); }