Removes implicit types
This commit is contained in:
parent
33f5e77a24
commit
04b4cfe75b
261 changed files with 1329 additions and 1329 deletions
|
|
@ -399,7 +399,7 @@ namespace Server.Engines.Reports
|
|||
resChart.Items.Add( "Logged Out", countLogged );
|
||||
resChart.Items.Add( "Unresolved", countUnres );
|
||||
|
||||
return new PieChart[]{ staffChart, resChart };
|
||||
return new[]{ staffChart, resChart };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -347,7 +347,7 @@ namespace Server.Engines.Reports
|
|||
float oh = item.SweepSize;
|
||||
float of = 9.5f;
|
||||
|
||||
PointF[] pts = new PointF[]
|
||||
PointF[] pts = new[]
|
||||
{
|
||||
new PointF( ox, oy ),
|
||||
new PointF( ox + ow, oy ),
|
||||
|
|
@ -358,13 +358,13 @@ namespace Server.Engines.Reports
|
|||
new PointF( ox + of + ow, oy + of + oh )
|
||||
};
|
||||
|
||||
graph.FillPolygon( barBrush, new PointF[]{ pts[2], pts[3], pts[6], pts[5] } );
|
||||
graph.FillPolygon( barBrush, new[]{ pts[2], pts[3], pts[6], pts[5] } );
|
||||
|
||||
using ( SolidBrush ltBrsh = new SolidBrush( System.Windows.Forms.ControlPaint.Light(item.ItemColor,0.1f) ) )
|
||||
graph.FillPolygon( ltBrsh, new PointF[]{ pts[0], pts[2], pts[5], pts[4] } );
|
||||
graph.FillPolygon( ltBrsh, new[]{ pts[0], pts[2], pts[5], pts[4] } );
|
||||
|
||||
using ( SolidBrush drkBrush = new SolidBrush( System.Windows.Forms.ControlPaint.Dark(item.ItemColor,0.05f) ) )
|
||||
graph.FillPolygon( drkBrush, new PointF[]{ pts[0], pts[1], pts[3], pts[2] } );
|
||||
graph.FillPolygon( drkBrush, new[]{ pts[0], pts[1], pts[3], pts[2] } );
|
||||
|
||||
graph.DrawLine( pen, pts[0], pts[1] );
|
||||
graph.DrawLine( pen, pts[0], pts[2] );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue