Skip to content

Commit

Permalink
Fix #5705.
Browse files Browse the repository at this point in the history
  • Loading branch information
ylangisc committed Feb 28, 2011
1 parent e87e1e0 commit 9953a3d
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions source/ch/cyberduck/ui/winforms/InfoForm.cs
Expand Up @@ -871,30 +871,6 @@ private void InitMetadataGrid()
metadataDataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
metadataDataGridView.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells;

metadataDataGridView.CellFormatting += delegate(object sender, DataGridViewCellFormattingEventArgs args)
{
if (null != aclDataGridView.DataSource)
{
if (aclDataGridView.IsCurrentCellInEditMode ||
args.ColumnIndex != 0)
{
return;
}
if (String.IsNullOrEmpty(args.Value as String))
{
args.Value =
((InfoController.UserAndRoleEntry)
aclDataGridView.Rows[args.RowIndex].
DataBoundItem).
getUser().getPlaceholder();
args.CellStyle.ForeColor = Color.Gray;
args.CellStyle.Font = new Font(args.CellStyle.Font,
FontStyle.Italic);
}
}
};


DataGridViewTextBoxColumn nameColumn = new DataGridViewTextBoxColumn();
nameColumn.HeaderText = "Name";
nameColumn.DataPropertyName = MetadataColumName.Name.ToString();
Expand Down

0 comments on commit 9953a3d

Please sign in to comment.