Beispiel #1
0
 static string GetSplitContainerState(SplitContainer splitContainer)
 {
     Hashtable table = new Hashtable();
     table["ratio"] = GuiUtil.GetSplitterState(splitContainer).ToString();
     table["orientation"] = splitContainer.Orientation == Orientation.Vertical ? "v" : "h";
     return splitContainer.GetType().ToString() + ":" + StringUtil.BuildParameterString(table);
 }
Beispiel #2
0
 static string GetSplitContainerState(SplitContainer splitContainer)
 {
     return splitContainer.GetType().ToString() + ":" + GuiUtil.GetSplitterState(splitContainer).ToString();
 }