public override void ExportToXml(CLCIXML xml) /* ============================================================ * Function : ExportToXml * Description : Saves a string representation of the * container (normally the virtual size) and * all objects to "stra". * Access : Public * * Return : void * Parameters : CStringArray& stra - The array to fill * * Usage : Call to save the data of the editor to a * XML. * * ============================================================*/ { xml.new_group("screen", true); xml.new_attribute("image", DiagramKey.ImageToBase64(this.Image, ImageFormat.Png)); xml.new_attribute("bg", ColorTranslator.ToWin32(this.BackColor).ToString()); xml.new_attribute("borderbg", ColorTranslator.ToWin32(this.BorderColor).ToString()); xml.new_attribute("interchardelay", this.InterCharDelay.ToString()); xml.new_attribute("sensitivity", this.Sensitivity.ToString()); xml.new_attribute("touchdelay", this.TouchDelay.ToString()); xml.new_attribute("macro1", this.Macro1.ToString()); xml.new_attribute("macro2", this.Macro2.ToString()); xml.new_attribute("macro3", this.Macro3.ToString()); xml.new_attribute("macro4", this.Macro4.ToString()); xml.new_attribute("macro5", this.Macro5.ToString()); xml.new_attribute("count", m_objs.GetSize().ToString()); xml.back_to_parent(); m_objs.ExportToXml(xml); this.Modified = false;; // SetModified(FALSE); }