示例#1
0
        static string GetSplitContainerState(SplitContainer splitContainer)
        {
            Hashtable table = new Hashtable();

            table["ratio"]       = splitContainer.GetSplitterState().ToString();
            table["orientation"] = splitContainer.Orientation == Orientation.Vertical ? "v" : "h";
            return(splitContainer.GetType().ToString() + ":" + StringUtil.BuildParameterString(table));
        }