protected void Initialize(Node oParentNode) { this.m_oTreemapGenerator = null; this.m_oParentNode = oParentNode; this.m_oNodes = new ArrayList(); this.m_oEmptySpace = new EmptySpace(); }
protected void InitializeWithValidation(string sText, float fSizeMetric, float fColorMetric) { Node.ValidateSizeMetric(fSizeMetric, "Node"); Node.ValidateColorMetric(fColorMetric, "Node"); this.m_oTreemapGenerator = null; this.m_oParentNode = null; this.m_sText = sText; this.m_fSizeMetric = fSizeMetric; this.m_oNodeColor = new NodeColor(fColorMetric); this.m_oTag = null; this.m_sToolTip = null; this.m_oNodes = new Nodes(this); this.m_iPenWidthPx = -1; this.m_bRectangleSet = false; this.m_bRectangleSaved = false; }
public TreemapControl() { this.InitializeComponent(); base.Controls.Add(this.picPictureBox); base.Controls.Add(this.pnlToolTip); this.pnlToolTip.BringToFront(); this.m_oTreemapGenerator = new TreemapGenerator(); this.m_oTreemapGenerator.RedrawRequired += new EventHandler(this.TreemapGenerator_RedrawRequired); this.m_oBitmap = null; this.m_bShowToolTips = true; this.m_bAllowDrag = false; this.m_bIsZoomable = false; this.m_oZoomActionHistoryList = null; this.m_oToolTipTracker = new ToolTipTracker(); this.m_oToolTipTracker.ShowToolTip += new ToolTipTracker.ToolTipTrackerEvent(this.oToolTipTracker_ShowToolTip); this.m_oToolTipTracker.HideToolTip += new ToolTipTracker.ToolTipTrackerEvent(this.oToolTipTracker_HideToolTip); this.m_oLastMouseMovePoint = new Point(-1, -1); this.m_oLastDraggableMouseDownPoint = new Point(-1, -1); base.ResizeRedraw = true; }
/// <summary> /// Initializes a new instance of the EmptySpace class. /// </summary> protected internal EmptySpace() { m_oTreemapGenerator = null; m_fSizeMetric = 0f; }