Esempio n. 1
0
		private void ShowPanel(OptionsPanel panel)
		{
			if(mCurrentPanel != null)
				optionsPanel.Controls.Remove(mCurrentPanel);

			mCurrentPanel = panel;

			if(mCurrentPanel != null)
			{
				optionsPanel.Controls.Add(mCurrentPanel);
				mCurrentPanel.Dock = DockStyle.Fill;
				mCurrentPanel.Show();
			}

			optionsPanel.PerformLayout();
		}