Пример #1
0
        /// <summary> Raises the copy level event. </summary>
        ///
        /// <param name="sender"> Source of the event. </param>
        /// <param name="e">      Event information to send to registered event handlers. </param>
        private void OnCopyLevel(object sender, EventArgs e)
        {
            if (!UtilityService.Initialize(true))
            {
                return;
            }

            // Set the QuickMaskType and level # to use
            const int Level  = 105;
            var       result = UtilityService.CopyGeometry(QuickMaskType.Wireframe, Level);

            DialogManager.OK(result.ToString(CultureInfo.InvariantCulture) + " entities copied to level " + Level.ToString(CultureInfo.InvariantCulture), string.Empty);
        }