コード例 #1
0
        void mnuChangeVisibility_Click(object sender, EventArgs e)
        {
            IDocumentForm content = GetDocument();

            if (content != null)
            {
                content.ChangeVisibility();
            }
        }
コード例 #2
0
        private void MnuChangeVisibilityClick(object sender, EventArgs e)
        {
            IDocumentForm content = this.GetDocument();

            content?.ChangeVisibility();
        }