Example #1
0
        public BusinessObjective(Category owner, string name)
        {
            this.owner = owner;
            this.name = name;
            baseObjectiveWidth = owner.Width;
            owner.Controls.Add(this);
            this.Height = baseObjectiveHeight;
            this.Width = Parent.Width;
            this.BackColor = Color.Aquamarine;
            this.Location = FindLocation();

            MakeLabel();
            // objective.Name = name;
               owner.UpdateHeight();
            //owner.Controls.Add(this);
            //this.Location = FindLocation();
        }
Example #2
0
        public BusinessObjective(Category owner, string name)
        {
            this.owner         = owner;
            this.name          = name;
            baseObjectiveWidth = owner.Width;
            owner.Controls.Add(this);
            this.Height    = baseObjectiveHeight;
            this.Width     = Parent.Width;
            this.BackColor = Color.Aquamarine;
            this.Location  = FindLocation();


            MakeLabel();
            // objective.Name = name;
            owner.UpdateHeight();
            //owner.Controls.Add(this);
            //this.Location = FindLocation();
        }
Example #3
0
 public void UpdateHeight()
 {
     this.Height = 20 + baseObjectiveHeight + initiatives.Count * 20;
     //UpdateLocation();
     owner.UpdateHeight();
 }