UltimateZoneBuilder/Source/Core/Controls/StatisticsControl.cs
MaxED 15b2adfe30 Texture Browser Form: swapped foreground and background colors of texture size labels.
Fixed, Texture Browser Form: well, I broke "Tab" key functionality again (in previous commit)...
Maintenance: changed curly braces style to match DB2 one (hopefully not breaking anything in the process...).
Maintenance: changed private method names casing to match DB2 one.
2014-12-03 23:15:26 +00:00

22 lines
618 B
C#

using System.Windows.Forms;
namespace CodeImp.DoomBuilder.Controls
{
public partial class StatisticsControl : UserControl
{
public StatisticsControl()
{
InitializeComponent();
this.Visible = false;
}
public void UpdateStatistics()
{
verticescount.Text = General.Map.Map.Vertices.Count.ToString();
linedefscount.Text = General.Map.Map.Linedefs.Count.ToString();
sidedefscount.Text = General.Map.Map.Sidedefs.Count.ToString();
sectorscount.Text = General.Map.Map.Sectors.Count.ToString();
thingscount.Text = General.Map.Map.Things.Count.ToString();
}
}
}