        {
            ControlsCommands.Unregister(string.Format(@"HKEY_CLASSES_ROOT\CLSID\{{{0}}}", registerType.GUID));
        }

        public override void OnClick()
        {
            IFeature copiedFeature = Editor.UniqueInstance.CopiedFeature;
            if (((copiedFeature != null) && (copiedFeature.Shape.GeometryType == Editor.UniqueInstance.TargetLayer.FeatureClass.ShapeType)) && ((!Editor.UniqueInstance.CheckOverlap || Editor.UniqueInstance.CheckFeatureOverlap(copiedFeature.ShapeCopy, false)) || (XtraMessageBox.Show("要素与其他要素重叠！是否保留此要素？", "", MessageBoxButtons.YesNo) != DialogResult.No)))
            {
                Editor.UniqueInstance.StartEditOperation();
                IFeature feature = Editor.UniqueInstance.TargetLayer.FeatureClass.CreateFeature();
                (feature as IRowSubtypes).InitDefaultValues();
                feature.Shape = copiedFeature.ShapeCopy;
                Editor.UniqueInstance.AddAttribute = true;
                feature.Store();