void mnuCopy_Click(object sender, EventArgs e) { IDocumentForm document = GetDocument(); if (document != null) { document.Copy(); } }
private void MnuCopyClick(object sender, EventArgs e) { IDocumentForm document = this.GetDocument(); document?.Copy(); }