public bool Save() { XmlDocument doc = new XmlDocument(); XmlNode node = doc.CreateElement("WFSConfig"); doc.AppendChild(node); XmlUtils.AppendTextNode(node, "LastLogin", LastLogin); XmlUtils.AppendTextNode(node, "HideDisabledActions", Convert.ToString(HideDisabledActions)); doc.Save(optionFile); return(true); }