Example #1
0
        protected override void OnInit(EventArgs e)
        {
            _ruler = getRuler();
            CreateUnits();

            if (!itemsTable.HasControls())
            {
                Visible = false;
            }
            else
            {
                Visible = true;
                Controls.Add(itemsTable);
            }

            base.OnInit(e);
        }