public TextSampleForm() { InitializeComponent(); m_recorder = new TextEditor(textBox1); ChainManager.IniParams iniParams = new ChainManager.IniParams(); iniParams.RecordCollection.Add(m_recorder); iniParams.DontRecordWhenStatusError = true; m_chainManager = new ChainManager(iniParams); }
public MultiActorSampleForm() { InitializeComponent(); m_textEdiorRecorder1 = new TextEditor(textBox1); m_textEdiorRecorder2 = new TextEditor(textBox2); ChainManager.IniParams param = new ChainManager.IniParams() { DontRecordWhenStatusError = true, }; param.RecordCollection.Add(m_textEdiorRecorder1); param.RecordCollection.Add(m_textEdiorRecorder2); m_chainManager = new ChainManager(param); CheckUndoRedoStatus(); }
public TextEditRecorder(TextEditor host) { m_host = host; }