private void DatabaseRecordsConfiguration_Load(object sender, EventArgs e) { try { General.SetComboBoxItems(TextBox0, General.ComboBoxItemsType.DataTableColumnsItems, "WorkersTable", "Имя"); } catch (Exception) { General.Connection.Close(); } }
private void ShopMaterialsRemove_Load(object sender, EventArgs e) { General.SetComboBoxItems(RecipientTextBox, General.ComboBoxItemsType.FolderFilesToItems, Application.StartupPath + "//CounterpartyAgentsList", ""); }