private void Form1_Load(object sender, EventArgs e) { var tables = util.LoadTables(); cboxTableNames.DataSource = tables.ToList(); cboxTableNames.DisplayMember = nameof(DbTableInfo.Name); cboxTableNames.ValueMember = nameof(DbTableInfo.Name); webBrowser.ObjectForScripting = this; webBrowser.DocumentText = HtmlUtil.GetHtmlContent("main.html"); }