Prechádzať zdrojové kódy

注释 - 更改注释容器边框颜色

chenrongqian@kdanmobile.com 1 rok pred
rodič
commit
7eb2a367c2

+ 10 - 0
PDF Office/ViewModels/Tools/AnnotToolContentViewModel.cs

@@ -59,6 +59,16 @@ namespace PDF_Master.ViewModels.Tools
             InitToolTipDict();
             InitPopMenu();
             SubscribeEvent();
+            AnnotContainerBorderColor();
+        }
+
+        //注释容器选中边框的颜色
+
+        private void AnnotContainerBorderColor()
+        {
+            var pen = new Pen(new SolidColorBrush(Color.FromArgb(0xFF, 0x17, 0x70, 0xF4)), 1);
+            CommonDrawData.ActiveBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x17, 0x70, 0xF4));
+            CommonDrawData.ActivePen = pen;
         }
 
         //事件聚合器