void mnuChangeVisibility_Click(object sender, EventArgs e) { IDocumentForm content = GetDocument(); if (content != null) { content.ChangeVisibility(); } }
private void MnuChangeVisibilityClick(object sender, EventArgs e) { IDocumentForm content = this.GetDocument(); content?.ChangeVisibility(); }