WPF 样色样式的套用复用

<!--
**************************************************************** 
* 作    者 :姜  彦 
* 项目名称 :EMRCPOE.Presentation.Style.Default
* 字典名称 :Color 
* 命名空间 :EMRCPOE.Presentation.Style.Default
* CLR 版本 :4.0.30319.42000
* 创建时间 :2019/6/19 18:52:23 
* 当前版本 :1.0.0.0 
* My Email :jiangyan2008.521@gmail.com 
*            jiangyan2008.521@qq.com   
* 描述说明 :颜色字典 
* 
* 修改历史 : 
* 
****************************************************************
* Copyright @ JiangYan 2019 All rights reserved 
****************************************************************
-->
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:EMRCPOE.Presentation.Style.Default">
    <ResourceDictionary.MergedDictionaries>
    
        <ResourceDictionary>

            <!--#region EMRCPOE项目最主要通用颜色 浅绿色-->
            <Color x:Key="EMRCPOE.Major.Common.Color">#2E8A9B</Color>
            <!--<SolidColorBrush x:Key="EMRCPOE.Major.Common.Color"
                             Color="#2E8A9B" />-->
            <!--#endregion-->

            <!--#region 主背景颜色-->
            <SolidColorBrush x:Key="EMRCPOE.Main.Background"
                             Color="{StaticResource EMRCPOE.Major.Common.Color}" />
            <!--#endregion-->
            <!--#region 二级菜单容器颜色-->
            <SolidColorBrush x:Key="SecondaryMenu.Container.Background"
                             Color="{StaticResource EMRCPOE.Major.Common.Color}" />
            <!--#endregion-->
            <!--#region 快捷标签容器颜色-->
            <SolidColorBrush x:Key="ShortcutMenu.Container.Background"
                             Color="#EFEFEF" />
            <!--#endregion-->
            <!--#region 常用标题背景颜色-->
            <SolidColorBrush x:Key="Common.Heard.Background"
                             Color="{StaticResource EMRCPOE.Major.Common.Color}" />
            <!--#endregion-->

            <!--#endregion-->
            <!--#region 缓冲动画圆点背景色-->
            <SolidColorBrush x:Key="SplashWindow.Ellipse.Static.Background"
                             Color="{StaticResource EMRCPOE.Major.Common.Color}" />
            <!--#endregion-->

            <!--#endregion-->
            <!--#region 登录界面标题字体颜色-->
            <SolidColorBrush x:Key="WinLogin.Soft.Title.Foreground"
                             Color="#FFFFCC" />
            <!--#endregion-->

            <!--#endregion-->
            <!--#region 主界面底部状态栏标签字体颜色-->
            <SolidColorBrush x:Key="EMRCPOE.StatusBarItem.Foreground"
                             Color="{StaticResource EMRCPOE.Major.Common.Color}" />
            <!--#endregion-->
        </ResourceDictionary>
        
        <ResourceDictionary>
    
        </ResourceDictionary>
    
    </ResourceDictionary.MergedDictionaries>
</ResourceDictionary>

<!--
*******************************************************************
* 备    注 :
* 
* 
* 
*******************************************************************
 * Copyright @ JiangYan 2019. All rights reserved.
*******************************************************************
-->  

 

posted @ 2019-08-30 19:17  <--青青子衿-->  阅读(453)  评论(0编辑  收藏  举报
// /**/ // 在页脚Html代码 引入 // function btn_donateClick() { var DivPopup = document.getElementById('Div_popup'); var DivMasklayer = document.getElementById('div_masklayer'); DivMasklayer.style.display = 'block'; DivPopup.style.display = 'block'; var h = Div_popup.clientHeight; with (Div_popup.style) { marginTop = -h / 2 + 'px'; } } function MasklayerClick() { var masklayer = document.getElementById('div_masklayer'); var divImg = document.getElementById("Div_popup"); masklayer.style.display = "none"; divImg.style.display = "none"; } setTimeout( function () { document.getElementById('div_masklayer').onclick = MasklayerClick; document.getElementById('btn_donate').onclick = btn_donateClick; var a_gzw = document.getElementById("guanzhuwo"); a_gzw.href = "javascript:void(0);"; $("#guanzhuwo").attr("onclick","follow('33513f9f-ba13-e011-ac81-842b2b196315');"); }, 900);