Esempio n. 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);
        }