public MainWindow() { InitializeComponent(); string[] types = { "Binary", "BinaryL", "MS SQL", "MY SQL", "H2", "MONGODB", "CSV", "CSV_L", "JSON", "JSON_L", "XML", "XML_L", "YAML", "YAML_L", "MS SQL EF" }; foreach (string t in types) { SQLSwitcher.Items.Add(t); } tablePanel = new TablePanel("Binary"); }
private void SelectDB(object sender, SelectionChangedEventArgs e) { tablePanel = new TablePanel(SQLSwitcher.SelectedItem.ToString()); tablePanel.ClearTable(dataGrid); }