private void UpdateHeaderRow(PermissionCheckHeaderRow headerRow, PermissionCheckResult checkResult) { Program.AssertOffEventThread(); Program.Invoke(this, delegate { headerRow.SetPermissionCheckInProgress(false); headerRow.UpdateDescription(checkResult); }); }
private PermissionCheckHeaderRow AddHeaderRow(IXenConnection connection) { Program.AssertOffEventThread(); string text = string.Format(Messages.RBAC_WARNING_PAGE_HEADER_ROW_DESC, connection.Session.UserFriendlyName, connection.Session.FriendlyRoleDescription, connection.FriendlyName); PermissionCheckHeaderRow headerRow = new PermissionCheckHeaderRow(text); Program.Invoke(this, delegate { headerRow.SetPermissionCheckInProgress(true); dataGridViewEx1.Rows.Add(headerRow); }); return(headerRow); }
private void UpdateHeaderRow(PermissionCheckHeaderRow headerRow, PermissionCheckResult checkResult) { Program.AssertOffEventThread(); Program.Invoke(this, delegate { headerRow.SetPermissionCheckInProgress(false); headerRow.UpdateDescription(checkResult); }); }
private PermissionCheckHeaderRow AddHeaderRow(IXenConnection connection) { Program.AssertOffEventThread(); string text = string.Format(Messages.RBAC_WARNING_PAGE_HEADER_ROW_DESC, connection.Session.UserFriendlyName, connection.Session.FriendlyRoleDescription, connection.FriendlyName); PermissionCheckHeaderRow headerRow = new PermissionCheckHeaderRow(text); Program.Invoke(this, delegate { headerRow.SetPermissionCheckInProgress(true); dataGridViewEx1.Rows.Add(headerRow); }); return headerRow; }