I have a form with multiple splittConteiners. I have set a default position for the splitters. I allow the user to move the splitters. Before closing the form I store in the app config the splitter distance, width and heigh of all the splitters. When I open the control I Set the splitters to the stored data.
BUT after the load, the position of the splitters is not the same. Any ideas to solve it?
Here is de the code used to save and load the value:
public static int ConsultaSplitterPrincipal
{
get { return int.Parse(ConfigurationManager.AppSettings["SplitterDistancePrincipal"]); }
set { ConfigurationManager.AppSettings.Set("SplitterDistancePrincipal", value.ToString()); }
}