void mnuCut_Click(object sender, EventArgs e) { IDocumentForm document = GetDocument(); if (document != null) { document.Cut(); } }
private void MnuCutClick(object sender, EventArgs e) { IDocumentForm document = this.GetDocument(); document?.Cut(); }