您现在的位置是:主页 > news > 男女做那个网站动态图片/长沙优化官网服务

男女做那个网站动态图片/长沙优化官网服务

admin2025/5/7 0:40:29news

简介男女做那个网站动态图片,长沙优化官网服务,网站内链怎么布局,网站建设方案书 备案早上提问了这个问题,回答的朋友回答得很好。但是在Silverlight中是无法引用System.Drawing;命名空间的。我主要是想由颜色值得到ARGB值。就在其他C#项目中写了个函数。大气象 usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;usingS…

男女做那个网站动态图片,长沙优化官网服务,网站内链怎么布局,网站建设方案书 备案早上提问了这个问题,回答的朋友回答得很好。但是在Silverlight中是无法引用System.Drawing;命名空间的。我主要是想由颜色值得到ARGB值。就在其他C#项目中写了个函数。大气象 usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;usingS…
早上提问了这个问题,回答的朋友回答得很好。但是在Silverlight中是无法引用System.Drawing;命名空间的。
我主要是想由颜色值得到ARGB值。就在其他C#项目中写了个函数。
ExpandedBlockStart.gif大气象
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using System.Drawing;

namespace HCLoad.Web
{
    
public partial class _Default : System.Web.UI.Page
    {
        
protected void Page_Load(object sender, EventArgs e)
        {
            Response.Write(getARGB(
"#0a246a"));
        }
        
private string getARGB(string strColor)
        {
            Color col 
= ColorTranslator.FromHtml(strColor);
            
int alpha = col.A;
            
int red = col.R;
            
int green = col.G;
            
int blue = col.B;
            
//Color bColor = Color.FromArgb(alpha, red, green, blue);
            return alpha + "," + red + "," + green + "," + blue;
        }
    }
}

用在这里:borderRoomName.Background = new SolidColorBrush(Color.FromArgb(255, 10, 36, 106));
参考:http://space.cnblogs.com/question/15170/