赞助广告

 

年份

最新评论

评论 RSS

读取xaml文件加载到界面

clock 一月 5, 2016 13:01 by author alex
string xamlFileName = @"c:\test.xaml";             string xamlContent = string.Empty;             try             {                 using (StreamReader sr = new StreamReader(xamlFileName))                 {                     xamlContent = sr.ReadToEnd();                 }             }             catch (Exception e)             {               throw e;             }             StringReader stringReader = new StringReader(xamlContent);             XmlReader xmlreader = XmlReader.Create(stringReader);               Canvas canvas1 = (Canvas)XamlReader.Load(xmlreader);             LayoutRoot.Children.Add(canvas1);//LayoutRoot为Grid

《吹你妹》网页版发布了

clock 十月 18, 2013 08:39 by author alex
有趣好玩的小游戏——《吹你妹》发布了,silverlight制作。只要轻轻滑动鼠标,即可掀开MM的裙子哦! 地址:http://www.xnadevelop.com/webapps/SkirtUp/index.html

友情链接赞助