public TextEditor(ControlBase parent) : base(parent, new XmlStringSource(Xml)) { m_XmlChangedEventArgs = new XmlChangedEventArgs(); m_Timer = new Timer(); m_Timer.Elapsed += TimerElapsed; m_Timer.Interval = 1500; m_Timer.IsOneTime = true; }
private void OnXmlChanged(ControlBase sender, XmlChangedEventArgs args) { SetXml(args.Xml); }