Exemple #1
0
        void mnuCut_Click(object sender, EventArgs e)
        {
            IDocumentForm document = GetDocument();

            if (document != null)
            {
                document.Cut();
            }
        }
Exemple #2
0
        private void MnuCutClick(object sender, EventArgs e)
        {
            IDocumentForm document = this.GetDocument();

            document?.Cut();
        }