private void Mytimer_Tick(object sender, EventArgs e) { timer.Stop(); editOperation.Add_UndoRedo(txtArea.Text); UpdateView(); }