private void AddTracker(Orientation value) { if (value == Orientation.Horizontal) { this._tracker = new HMiniTracker(); this._tracker.Size = new Size(120, 25); // this.Controls.Add(this._tracker); this.ClientSize = new Size(120, 25); } else { this._tracker = new VMiniTracker(); this._tracker.Size = new Size(25, 120); // this.Controls.Add(this._tracker); this.ClientSize = new Size(25, 120); } this._tracker.Dock = DockStyle.Fill; this._tracker.MouseUp += new MouseEventHandler(_tracker_MouseUp); this._tracker.ValueChanged += new ValueChangedEH(_tracker_ValueChanged); }