private void syslogSource_CurrentChanged(object sender, EventArgs e) { try { if (fProcessing || syslogSource.Current == null) { return; } databases.baseDS.sysLogRow logRow = (databases.baseDS.sysLogRow)((DataRowView)syslogSource.Current).Row; investorEd.Text = ""; if (!logRow.IsinvestorCodeNull()) { databases.tmpDS.investorRow row = DataAccess.AppLibs.FindAndCache_Investor(logRow.investorCode); if (row != null) { investorEd.Text = row.displayName; } } } catch (Exception er) { this.ShowMessage(er.Message); } }
public static void InitData(databases.baseDS.sysLogRow row) { row.type = 0; row.description = ""; }