FindLayout() public static method

public static FindLayout ( String name ) : SuperPutty.Data.LayoutData
name String
return SuperPutty.Data.LayoutData
Beispiel #1
0
        bool ValidateLayoutName(string name, out string error)
        {
            LayoutData layout = SuperPuTTY.FindLayout(name);

            if (layout != null)
            {
                error = "Layout exists with same name";
                return(false);
            }

            error = null;
            return(true);
        }