<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[OK314的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/OK314</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; OK314]]></copyright><item><title><![CDATA[wince 开发环境 搭建]]></title><link>https://blog.csdn.net/OK314/article/details/6236534</link><guid>https://blog.csdn.net/OK314/article/details/6236534</guid><author>OK314</author><pubDate>Thu, 10 Mar 2011 10:37:00 +0800</pubDate><description><![CDATA[搭建wince6.0环境的安装顺序：
Visual Studio 2005
Visual Studio 2005 Service Pack 1(文件名：VS80sp1-KB926601-X86-ENU.exe)
Visual Studio 2005 Service Pack 1 Update for Windows Vista(文件名：VS80sp1-KB932232-X86-ENU.exe)
Visual Studio 2005 Service Pack 1 ATL Security Update]]></description><category></category></item><item><title><![CDATA[XmlDataProvider 两个简单示例]]></title><link>https://blog.csdn.net/OK314/article/details/6216062</link><guid>https://blog.csdn.net/OK314/article/details/6216062</guid><author>OK314</author><pubDate>Tue, 01 Mar 2011 17:36:00 +0800</pubDate><description><![CDATA[<br />1.Xml文档：<br />代码1<?xml version="1.0" encoding="utf-8" ?><br />2 <Root><br />3<Item ID="1" Data="意大利风格"/><br />4<Item ID="2" Data="挪威风格"/><br />5<Item ID="3" Data="美国风格"/><br />6<Item ID="4" Data="非洲风格"><br />7<SubItem ID="41"  Data="埃及风格"></SubItem><]]></description><category></category></item><item><title><![CDATA[解决WPF BitmapImage图片资源无法删除，文件正在被另一个进程使用]]></title><link>https://blog.csdn.net/OK314/article/details/6212847</link><guid>https://blog.csdn.net/OK314/article/details/6212847</guid><author>OK314</author><pubDate>Mon, 28 Feb 2011 12:38:00 +0800</pubDate><description><![CDATA[<br />代码如下所示，项目本意是想在窗体加载时显示一张图片，然后点击按钮，删除该图片。 <br />可是如下代码，在点击delete按钮时，项目报异常：“...无法删除，文件正在被另一个进程使用”，<br />xaml 代码：  <br />     <Grid x:Name="LayoutRoot">  <br />        <Grid.RowDefinitions>  <br />            <RowDefinition/>  <br />            <RowDefin]]></description><category></category></item><item><title><![CDATA[【WPF】完美的布局不留白：解决WrapPanel右侧留白问题]]></title><link>https://blog.csdn.net/OK314/article/details/6164660</link><guid>https://blog.csdn.net/OK314/article/details/6164660</guid><author>OK314</author><pubDate>Wed, 26 Jan 2011 13:24:00 +0800</pubDate><description><![CDATA[<br />充分利用界面上的空间，是优秀软件界面布局设计的原则之一。如果布局上出现了大片的空白区域就会给人一种浪费和不谐调的感觉。如下图所示。 <br /><br />　　我们把ListBox的ItemsPanel设置为一个WrapPanel。让里面的Items可以自动折行。但是这样在ListBox的右侧，会出现一块空白区。很多情况下，我们对于Item的大小并不很在意，这时我们会更希望Item的宽度可以随着整体宽度自动地调节。产生如下图所示的效果。 <br /><br /><br />　　但是系统自带的Wr]]></description><category></category></item><item><title><![CDATA[VS 打包 覆盖 安装]]></title><link>https://blog.csdn.net/OK314/article/details/6132184</link><guid>https://blog.csdn.net/OK314/article/details/6132184</guid><author>OK314</author><pubDate>Wed, 12 Jan 2011 17:32:00 +0800</pubDate><description><![CDATA[<br />1、修改ProductCode<br />2、修改UpgradeCode<br />3、设置RemovePreviousVersions为TRUE]]></description><category></category></item><item><title><![CDATA[C#WinFrom程序打包/图解VS2008项目的安装与部署图解]]></title><link>https://blog.csdn.net/OK314/article/details/6132130</link><guid>https://blog.csdn.net/OK314/article/details/6132130</guid><author>OK314</author><pubDate>Wed, 12 Jan 2011 17:22:00 +0800</pubDate><description><![CDATA[一、应用程序文件夹操作1、新建一个安装项目，起名“测试打包”这里要记住路径了，不然，打完了找不着安装包在哪里，可就说不过去了，呵呵！2、这里就会出现三个文件夹，不用多说一看就明白意思，点“应用程序文件夹-->添加-->文件夹这里的作用就是好管理，重启一下名字，这里我就叫它“测试打包系统”3、在“测试打包系统”文件夹上右键-->添加-->项目输出下一步：添加主输出一般这个就够了，当然你还有别的资源的话就要添加上去了！4、接下来在“应用程序文件夹”下依些建几个文件夹，我建了3个Images里我放的是图片，2个I]]></description><category></category></item><item><title><![CDATA[WPF中隐藏ToolBar的拖动把手和溢出控制区域]]></title><link>https://blog.csdn.net/OK314/article/details/6130983</link><guid>https://blog.csdn.net/OK314/article/details/6130983</guid><author>OK314</author><pubDate>Wed, 12 Jan 2011 13:22:00 +0800</pubDate><description><![CDATA[<br />隐藏溢出按钮：<br />设置ToolBar属性 ToolBarTray.IsLocked="True"，可以达到隐藏拖动把手的目的。<br />使用如下样式可以隐藏溢出区域：<br /><Style x:Key="{x:Type ToolBar}" TargetType="{x:Type ToolBar}"><br />            <Setter Property="OverridesDefaultStyle" Value="true"/><br />            <Se]]></description><category></category></item><item><title><![CDATA[Flash 控件 ocx 常用的函数]]></title><link>https://blog.csdn.net/OK314/article/details/6129533</link><guid>https://blog.csdn.net/OK314/article/details/6129533</guid><author>OK314</author><pubDate>Tue, 11 Jan 2011 17:22:00 +0800</pubDate><description><![CDATA[常用的函数一般是： <br />1、用GotoFrame一类的跳转函数直接控制。在跳转前需要用FrameLoaded检测是否能够跳转。Flash制作中帧是从1开始计算，函数中是从0开始计算。<br />
 <br />
2、用SetVariable函数修改参数，然后用TCallFrame执行目标帧的函数。达到参数化控制的目的。（具体控制在Flash中完成。）<br /><br />
Flash控件的方法： 函数名 说　　 明 <br />SetZoomRect <br />【函数】：SetZoomRe]]></description><category></category></item><item><title><![CDATA[WPF SWF]]></title><link>https://blog.csdn.net/OK314/article/details/6129515</link><guid>https://blog.csdn.net/OK314/article/details/6129515</guid><author>OK314</author><pubDate>Tue, 11 Jan 2011 17:18:00 +0800</pubDate><description><![CDATA[<br />由于WPF 本身中不支持COM 组件同时也无法加载ActiveX 控件，所以需要借助WinForm 引用ActiveX 控件将Flash 
加入其中。首先创建一个WPF 项目(WpfFlash)，将Flash 文件(.swf)加入到项目中，并将Copy to Output 
Directory 设置为"Copy always"。<br /><br />　　在工程中新增一个Windows Forms Control Library 项目(FlashControlLibrary)，利用该控件库加]]></description><category></category></item><item><title><![CDATA[在MFC中使用纯COM方式来操纵Flash OCX （IShockwaveFlash）]]></title><link>https://blog.csdn.net/OK314/article/details/6126246</link><guid>https://blog.csdn.net/OK314/article/details/6126246</guid><author>OK314</author><pubDate>Mon, 10 Jan 2011 10:11:00 +0800</pubDate><description><![CDATA[1. 
MFC中的控件（OCX）包装类<br />

在VC++环境中，使用OCX会变得比较简单和快捷。<br />

在Dialog中插入ActiveX，如：Shockwave 
Flash Object。<br />

在建立了Dialog的类之后，为刚才插入的Flash 
控件添加变量，<br />

MFC会自动帮我们生成两个文件：CShockwaveFlash1.h和CShockwaveFlash1.cpp有了这两个文件，就可以很容易控制Flash了。<br /><br />]]></description><category></category></item><item><title><![CDATA[Binding]]></title><link>https://blog.csdn.net/OK314/article/details/6126238</link><guid>https://blog.csdn.net/OK314/article/details/6126238</guid><author>OK314</author><pubDate>Mon, 10 Jan 2011 10:07:00 +0800</pubDate><description><![CDATA[<br />WPF里分三种Binding：Binding

， PriorityBinding

, MultiBinding

,这三种Binding的基类都是BindingBase，而BindingBase又继承于MarkupExtensionBinding<br />提供对绑定定义的高级别访问，绑定将绑定目标对象（通常为 WPF 元素）的属性与任何数据源（例如数据库、XML 文件或包含数据的任何对象）连接起来。 
<br />常见的使用Binding的代码：<br />

C#Bin]]></description><category></category></item><item><title><![CDATA[WPF Binding]]></title><link>https://blog.csdn.net/OK314/article/details/6104265</link><guid>https://blog.csdn.net/OK314/article/details/6104265</guid><author>OK314</author><pubDate>Wed, 29 Dec 2010 09:38:00 +0800</pubDate><description><![CDATA[<br /><br />WPF里分三种Binding：Binding
， PriorityBinding
, MultiBinding
,这三种Binding的基类都是BindingBase，而BindingBase又继承于MarkupExtensionBinding<br />提供对绑定定义的高级别访问，绑定将绑定目标对象（通常为 WPF 元素）的属性与任何数据源（例如数据库、XML 文件或包含数据的任何对象）连接起来。 
<br />常见的使用Binding的代码：<br />
C#Bindi]]></description><category></category></item><item><title><![CDATA[WPF的三维变换应用]]></title><link>https://blog.csdn.net/OK314/article/details/6100860</link><guid>https://blog.csdn.net/OK314/article/details/6100860</guid><author>OK314</author><pubDate>Mon, 27 Dec 2010 16:02:00 +0800</pubDate><description><![CDATA[<br />本主题描述如何向 Windows
 Presentation Foundation (WPF) 
图形系统中的三维模型应用变换。开发人员可以借助于变换功能来对模型进行重定位、调整大小和重定向，而无需更改用来定义模型的基值。<br />三维坐标空间 <br />Windows
 Presentation Foundation (WPF) 中的三维图形内容封装在 Viewport3D 
元素中，该元素可以参与二维元素结构。该图形系统将 Viewport3D 视为一个像 Windows Pre]]></description><category></category></item><item><title><![CDATA[视频 截图]]></title><link>https://blog.csdn.net/OK314/article/details/6096693</link><guid>https://blog.csdn.net/OK314/article/details/6096693</guid><author>OK314</author><pubDate>Fri, 24 Dec 2010 16:57:00 +0800</pubDate><description><![CDATA[MediaPlayer play = new MediaPlayer();
play.IsMuted = true;
play.Open(new Uri(file));
play.Play();
Thread.Sleep(2000);
play.Pause();

RenderTargetBitmap rtb = new RenderTargetBitmap(320, 240, 1 / 200,
1 / 200, PixelFormats.Pbgra32);
DrawingVisual d]]></description><category></category></item><item><title><![CDATA[基于QT前端的mplayer播放器项目文档V1.0]]></title><link>https://blog.csdn.net/OK314/article/details/6095171</link><guid>https://blog.csdn.net/OK314/article/details/6095171</guid><author>OK314</author><pubDate>Thu, 23 Dec 2010 21:30:00 +0800</pubDate><description><![CDATA[<br /><br />一、项目概述<br />Mplayer。它支持大量的多媒体文件格式，像常见的音频文件如mp3/wav/mid，常见的视频文件如avi/vcd/dvd/rm等等，各种视频编/解码方式也是应有尽有。<br />我们项目的目标是在liunx下，用QT做一个MPlayer皮肤，能够实现播放器的常见<br />功能，如：播放、停止、快进、快退、上/下一曲等。并把程序移植到ARM平台上。<br /><br />二、功能体验<br />本节主要目的是让大家在学习具体实现过程前，先体验下播放器的功能]]></description><category></category></item><item><title><![CDATA[获得窗口句柄]]></title><link>https://blog.csdn.net/OK314/article/details/6094257</link><guid>https://blog.csdn.net/OK314/article/details/6094257</guid><author>OK314</author><pubDate>Thu, 23 Dec 2010 15:09:00 +0800</pubDate><description><![CDATA[<br />我们在项目中使用WPF开发程序，需要调用一个Activex控件，显示三维的场景，但是需要把当前窗口的句柄传递给OCX控件，WPF窗口本身没有句柄属性，需要通过如下的方式实现转换<br />int handle = new WindowInteropHelper(this).Handle.ToInt32();<br />//this代表当前的窗口]]></description><category></category></item><item><title><![CDATA[获得屏幕宽高]]></title><link>https://blog.csdn.net/OK314/article/details/6093340</link><guid>https://blog.csdn.net/OK314/article/details/6093340</guid><author>OK314</author><pubDate>Thu, 23 Dec 2010 09:24:00 +0800</pubDate><description><![CDATA[<br />double   h   =   SystemParameters.PrimaryScreenHeight; <br />double   w   =   SystemParameters.PrimaryScreenWidth;]]></description><category></category></item><item><title><![CDATA[WPF中两种不同的视频流的使用]]></title><link>https://blog.csdn.net/OK314/article/details/6092133</link><guid>https://blog.csdn.net/OK314/article/details/6092133</guid><author>OK314</author><pubDate>Wed, 22 Dec 2010 16:40:00 +0800</pubDate><description><![CDATA[WPF中的进行视频的播放有两种方式：一种是采用MediaElement+VisualBrush的方式；而另一种则是采用MediaPlayer+VideoDrawing的方式。考虑到MediaElement在处理视频时会将布局的Stretch和StretchDirect缩放视频窗口的内容以适应包容器，而MediaPlayer相反则不需要管理布局、焦点以及所有其他元素细节。所以后者相比前者有更高的效率。当然现代的处理器下是不会看到这两者的明显的区别的。不过笔者试了一下，在.Net Framework 3.5下对]]></description><category></category></item><item><title><![CDATA[ControlTemplate和DataTemplate区别]]></title><link>https://blog.csdn.net/OK314/article/details/6067560</link><guid>https://blog.csdn.net/OK314/article/details/6067560</guid><author>OK314</author><pubDate>Fri, 10 Dec 2010 13:39:00 +0800</pubDate><description><![CDATA[<br />ControlTemplate用于描述控件本身. 使用TemplateBinding来绑定控件自身的属性, 比如{TemplateBinding Background}<br />DataTemplate用于描述控件的Content. 使用Binding来绑定数据对象的属性, 比如{Binding PersonName}<br /><br />一般来说, ControlTemplate内有一个ContentPresenter, 这个ContentPresenter的ContentTemplate]]></description><category></category></item><item><title><![CDATA[由掩码图想到的关于位图的一些问题]]></title><link>https://blog.csdn.net/OK314/article/details/6019381</link><guid>https://blog.csdn.net/OK314/article/details/6019381</guid><author>OK314</author><pubDate>Thu, 18 Nov 2010 16:23:00 +0800</pubDate><description><![CDATA[<br />因为要做另一个项目，合作的部门同事发来邮件提到了个我没见过的东西：掩码图。百度了下，很少，好像貌似是游戏中使用的，用到了与或非的运算，接着查了下，这些运算主要是在程序中给位图做背景透明的。于是呢，我接着查了下，越查越没底，原来知道的东西好像一下不知道了，根本没办法解决现在的问题。算了，从头开始查起。<br />概念：<br />位图图像(bitmap)：亦称为点阵图像或绘制图像，是由称作像素（图片元素）的单个点组成的。这些点可以进行不同的排列和染色以构成图样。每个像素的色彩信息由RGB组合或者灰]]></description><category></category></item></channel></rss>