void mnuUndo_Click(object sender, EventArgs e) { IDocumentForm document = GetDocument(); if (document != null) { document.Undo(); } }
private void MnuUndoClick(object sender, EventArgs e) { IDocumentForm document = this.GetDocument(); document?.Undo(); }