Jak skonfigurować Visual Studio 2010, aby wieloliniowe funkcje lambda nie wyglądały brzydko, z całym pustym miejscem po lewej?Automatyczne formatowanie funkcji lambda w Visual Studio 2010
dataView.CellFormatting += (s, e) =>
{
if ((e.ColumnIndex == 1)&&((dataView.SelectedCells.Count == 1)))
{
var scope = Scope.Instance;
var row = dataView.Rows[e.RowIndex];
var variable = row.DataBoundItem as Variable;
if (scope.Variables.Contains(variable))
{
dataView[e.ColumnIndex, e.RowIndex].Style.BackColor =
scope.GetGraph(variable).Color;
}
else
{
dataView[e.ColumnIndex, e.RowIndex].Style.BackColor = Color.White;
}
}
};
nie mogę wyobrazić co próbujesz powiedzieć może przykład fragment (przed i po) pomoże – BoltClock
edytowany.. moje pytanie, to właśnie mam na myśli – Peter17
R #? http://stackoverflow.com/questions/2176429/is-there-a-way-t o-mark-up-code-to-tell-resharper-not-to-format-it – steamer25