随笔分类 - Silverlight
只有注册用户登录后才能阅读该文。
摘要:打开文件:var dialog = new OpenFileDialog { Multiselect = false }; var result = dialog.ShowDialog(); if (result == true) { using (var stream = dialog.File.OpenRead()) { var buffer = new byte[stream.Length]; ...
阅读全文
摘要:方法:/// <summary> /// 将字符串转换成Color类型 /// </summary> /// <param name="color"></param> /// <returns></returns> public static Color ReturnColorFromString(string color) { color = color.Substring(1, color.Length-1); string alpha = color.Subst...
阅读全文
摘要:前台页面:View Code <UserControl x:Class="SLPianYi.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http
阅读全文
只有注册用户登录后才能阅读该文。

浙公网安备 33010602011771号