private void _buttonQuery_Click(object sender, RoutedEventArgs e) { var dialog = new SelectFromDialog(_gdb.GetMetaTable <int>(_sdb), _sdb, _tbId.Text); dialog.Owner = this; if (dialog.ShowDialog() == true) { _tbId.Text = dialog.Id; } }
private void _buttonQuery_Click(object sender, RoutedEventArgs e) { var dialog = new SelectFromDialog(_gdb.GetMetaTable <int>(_sdb), _sdb, _tbId.Text); dialog.Owner = this; if (dialog.ShowDialog() == true) { _tbId.Text = dialog.Id; } }