// Allows updating properties of the host window Form object public void ApplyFormProperties(string formProperties) { JsonConvert.PopulateObject(formProperties, host.GetForm()); }