Exemple #1
0
		public void SetActivePanel(pnlTreeNode Panel) {
			if (mLastPanel != null) {
				if (mLastPanel == Panel)
					return;
				panelControls.Controls.Clear();
			}

			panelControls.Controls.Add(Panel);
			mLastPanel = Panel;
		}
Exemple #2
0
        public void SetActivePanel(pnlTreeNode Panel)
        {
            if (mLastPanel != null)
            {
                if (mLastPanel == Panel)
                {
                    return;
                }
                panelControls.Controls.Clear();
            }

            panelControls.Controls.Add(Panel);
            mLastPanel = Panel;
        }