コード例 #1
0
ファイル: View.master.cs プロジェクト: Shine6Z/GenXSource
    private void SetColorScheme()
    {
        MemberProfile ViewingMemberProfile = ViewingMember.GetProfile();
        ProfileScheme scheme = ProfileScheme.GetScheme(ViewingMemberProfile.ColorScheme);

        ColorScheme = "background-color:" + scheme.BackgroundColor + ";\r\n" + "border-color:" + scheme.BorderColor + ";\r\n";
    }
コード例 #2
0
    /// <summary>
    /// Sets the color scheme of the profile
    /// </summary>
    private void SetColorScheme()
    {
        MemberProfile ViewingMemberProfile = ViewingMember.GetProfile();
        ProfileScheme scheme = ProfileScheme.GetScheme(ViewingMemberProfile.ColorScheme);

        BGColor = scheme.BackgroundColor;
    }