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

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

            document?.SelectAll();
        }