private void createToolStripMenuItem_Click(object sender, EventArgs e) { data = new FileData(); richTextBox1.Text = ""; InitializeHandlers(data); }
private void InitializeHandlers(FileData data) { data.DidUpdateContent += OnContentUpdated; }