I have created AppConstant.cs file to use different constant values. Now consider an example of Font Size. A variable DefaultFontSize is declared and value of it is being set from database table Setting. Using this DefaultFontSize other font size are defined.
public static double NormalFontSize = CSettingsLocal.GetIntValue("DefaultFontSize", "DefaultFontSize", 10, false); public static double LargeFontSize = NormalFontSize + 14; and so on...
Now I go to Setting Form and change the DefaultFontSize. I want the Font Size in all application screen gets changed however right now it is showing changes only after I close the application and open it again.
How can I make the changes work after saving the setting instead of close and open the application again?