SELECT 23/3;
void InputContainerFormControl_Disposed(object? sender, EventArgs e)
{
if (_ctx != null)
{
_ctx.FormContextChangedByUser -= Ctx_FormContextChangedByUser;
}
}
yum install perl
dnf --enablerepo=ol9_codeready_builder install perl-IPC-Run
yum install postgresql15-contrib
[root@pg-dev pgtap-1.2.0]# yum install postgresql14-devel
Last metadata expiration check: 15:53:08 ago on Thu Apr 27 00:40:38 2023.
Package postgresql14-devel-14.7-1PGDG.rhel9.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@pg-dev pgtap-1.2.0]# yum install postgresql15-devel
Last metadata expiration check: 15:53:19 ago on Thu Apr 27 00:40:38 2023.
Error:
Problem: cannot install the best candidate for the job
- nothing provides perl(IPC::Run) needed by postgresql15-devel-15.2-1PGDG.rhel9.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@pg-dev pgtap-1.2.0]#
public static GuiViewObject GetViewInfo(int id) {...}
// Потребителем этой переменной является только обработчик клика, поэтому не важно, что кеш подвисает в случае клика за пределами ячейки
int? _idCache;
void GridControl_CellMouseDown(object? sender, DataGridViewCellMouseEventArgs e)
{
_idCache = null;
_gridControl.CurrentCell = _gridControl[e.ColumnIndex, e.RowIndex];
var idCell = _gridControl.CurrentRow.Cells[AppSettings.IdColumnName];
_idCache = idCell.Value == DBNull.Value ? null : (int)idCell.Value;
if (_idCache.HasValue)
{
_openMenuItem.Visible = true;
_openMenuItem.Click -= Open_Click;
_openMenuItem.Click += Open_Click;
}
}
// Открываем форму
void Open_Click(object? sender, EventArgs e)
{
App.ShowDataRecordForm(_dataDomainName, _idCache);
}
EXECUTE l_cmd INTO l_result USING l_json, l_key;
...'||quote_literal(l_key)||'...
public EntityListForm()
{
InitializeComponent();
var db = App.DbProvider;
if (db.IsConnected)
{
var cmd = ApiAdmin.GetEntityList();
var result = db.Execute<DataTable>(cmd);
entityDataGridView.DataSource = result;
}
}