public AccountOffForm(string id, string eq_asset, string eq_name) { InitializeComponent(); text_asset.Text = eq_asset; text_eqname.Text = eq_name; globleId = id; DataSet ds_offType = null; Account acc = new Account(); ds_offType = acc.queryOffType(); InitComboBox(combo_offType, ds_offType, "id", "off_typename"); }