示例#1
0
        internal static string GetPaneValuesAttribute(PaneValues pv)
        {
            string result = "topLeft";

            switch (pv)
            {
            case PaneValues.BottomLeft:
                result = "bottomLeft";
                break;

            case PaneValues.BottomRight:
                result = "bottomRight";
                break;

            case PaneValues.TopLeft:
                result = "topLeft";
                break;

            case PaneValues.TopRight:
                result = "topRight";
                break;
            }

            return(result);
        }
示例#2
0
        internal static string GetPaneValuesAttribute(PaneValues pv)
        {
            string result = "topLeft";
            switch (pv)
            {
                case PaneValues.BottomLeft:
                    result = "bottomLeft";
                    break;
                case PaneValues.BottomRight:
                    result = "bottomRight";
                    break;
                case PaneValues.TopLeft:
                    result = "topLeft";
                    break;
                case PaneValues.TopRight:
                    result = "topRight";
                    break;
            }

            return result;
        }