ComponentFactory.Krypton.Toolkit.RenderStandard.OwningKryptonForm C# (CSharp) Method

OwningKryptonForm() private static method

private static OwningKryptonForm ( Control c ) : KryptonForm
c Control
return KryptonForm
        private static KryptonForm OwningKryptonForm(Control c)
        {
            // Climb chain looking for the Krypton Form instance
            while ((c != null) && !(c is KryptonForm))
                c = c.Parent;

            return c as KryptonForm;
        }
RenderStandard