Brewmaster.Layout.LayoutHandler.GetPanel C# (CSharp) Method

GetPanel() public static method

public static GetPanel ( Control control ) : IdePanel
control Control
return IdePanel
		public static IdePanel GetPanel(Control control)
		{
			do
			{
				control = control.Parent;
			}
			while (control != null && !(control is IdePanel));

			return control as IdePanel;
		}