<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[拓]]></title><description><![CDATA[心宽天地宽]]></description><link>https://blog.csdn.net/gaofang2009</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; gaofang2009]]></copyright><item><title><![CDATA[【Android Studio】制作启动画面Splash Screen]]></title><link>https://blog.csdn.net/gaofang2009/article/details/70597888</link><guid>https://blog.csdn.net/gaofang2009/article/details/70597888</guid><author>gaofang2009</author><pubDate>Mon, 24 Apr 2017 14:50:34 +0800</pubDate><description><![CDATA[转自：http://blog.csdn.net/yinzhitongqing/article/details/50134029


使用单独的Activity制作启动画面

1、首先正常新建项目，启动画面的Activity在项目创建完成后再添加。主显示页面采用默认命名：MainActivity

2、添加启动页面（Activity），在工程目录上面点右键，选择新建Activity，新]]></description><category></category></item><item><title><![CDATA[C#创建ActiveX]]></title><link>https://blog.csdn.net/gaofang2009/article/details/39495581</link><guid>https://blog.csdn.net/gaofang2009/article/details/39495581</guid><author>gaofang2009</author><pubDate>Tue, 23 Sep 2014 11:11:15 +0800</pubDate><description><![CDATA[一、创建类库 ActiveX


namespace ActiveX
{
    #region 固定的格式

    [ComImport, GuidAttribute("CB5BDC81-93C1-11CF-8F20-00805F2CD064")]
    [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]]]></description><category></category></item><item><title><![CDATA[C# 文件重命名]]></title><link>https://blog.csdn.net/gaofang2009/article/details/19042815</link><guid>https://blog.csdn.net/gaofang2009/article/details/19042815</guid><author>gaofang2009</author><pubDate>Mon, 10 Feb 2014 16:50:42 +0800</pubDate><description><![CDATA[来自：http://blog.csdn.net/mubingyun/article/details/5876478 



C#里面，重命名文件时，没有 rename 这个功能，使用的是FileInfo.MoveTo的方式，MoveTo 到原目录里一个新的名字，即实现了重命名

此方法用于重命名文件夹内的所有子文件夹的名称，新子文件夹的名称可以使用格式字符串，如DIR{0:0000}，]]></description><category></category></item><item><title><![CDATA[解决 WinForm 中 TreeView 的 StateImageList 实际显示大小无法改变的问题 及 TreeView其他问题]]></title><link>https://blog.csdn.net/gaofang2009/article/details/18548233</link><guid>https://blog.csdn.net/gaofang2009/article/details/18548233</guid><author>gaofang2009</author><pubDate>Mon, 20 Jan 2014 10:17:28 +0800</pubDate><description><![CDATA[来自：http://blog.csdn.net/lethwei/article/details/4334728

因为项目需要, 要更改 TreeView 的 StateImageList 大小, 试了下, 更改绑定的 StateImageList.ImageSize 没有作用, 显示大小始终是 16x16

在网上搜了搜, 相关资料比较少, 终于在 CodeProject 上找到问题原因]]></description><category></category></item><item><title><![CDATA[MSDN教你美化控件之DataGridView]]></title><link>https://blog.csdn.net/gaofang2009/article/details/18410667</link><guid>https://blog.csdn.net/gaofang2009/article/details/18410667</guid><author>gaofang2009</author><pubDate>Fri, 17 Jan 2014 16:39:39 +0800</pubDate><description><![CDATA[来自：http://www.cnblogs.com/fmgs/archive/2011/01/01/1923713.html


开始做WinForm开发的时候，我想大家和我一样，都有一个相同的疑问。

Windows可以做的如此漂亮，为什么它提供的开发控件确如此“平淡无奇”。甚至可以用普通来形容。

时间长了以后才发现，原来可以通过OnPaint事件对控件的外观进行重绘。过了不久，]]></description><category></category></item><item><title><![CDATA[sql 表重复记录]]></title><link>https://blog.csdn.net/gaofang2009/article/details/17675109</link><guid>https://blog.csdn.net/gaofang2009/article/details/17675109</guid><author>gaofang2009</author><pubDate>Mon, 30 Dec 2013 09:25:45 +0800</pubDate><description><![CDATA[来自：http://bbs.csdn.net/topics/330247599
1、查找表中多余的重复记录，重复记录是根据单个字段（peopleId）来判断 
select * from people 
where peopleId in (select  peopleId  from  people  group  by  peopleId  having  count(peopleId)]]></description><category></category></item><item><title><![CDATA[超简单的升级包制作（直接覆盖相应的路径下文件）无注册表修改]]></title><link>https://blog.csdn.net/gaofang2009/article/details/17604639</link><guid>https://blog.csdn.net/gaofang2009/article/details/17604639</guid><author>gaofang2009</author><pubDate>Fri, 27 Dec 2013 09:10:13 +0800</pubDate><description><![CDATA[最简单的升级包

 
1、首先将要进行覆盖安装的内容进行压缩处理。

2、用winrar 来打开它，选中这个压缩包  -------压缩文件转换为自解压格式

 
3、要对自解压格式 的【高级自解压选项】

此处要设置为覆盖所有文件]]></description><category></category></item><item><title><![CDATA[C# Winform清空界面控件值小技巧]]></title><link>https://blog.csdn.net/gaofang2009/article/details/17499605</link><guid>https://blog.csdn.net/gaofang2009/article/details/17499605</guid><author>gaofang2009</author><pubDate>Mon, 23 Dec 2013 09:26:05 +0800</pubDate><description><![CDATA[来自：http://www.csharpwin.com/csharpspace/10705r7540.shtml
 
在WinForm里面有时候需要清空自己输入内容或是选择的选项，以便重新操作流程，那么一般你是怎么清空界面各个控件值的呢？如果窗体里面控件，尤其是TextBox控件比较多的时候，代码里面是不是要设置每个控件的Text属性值为空呢？下面我用这个例子，来探讨下清空界面控件值的小技巧。]]></description><category></category></item><item><title><![CDATA[ListView 某列项的颜色]]></title><link>https://blog.csdn.net/gaofang2009/article/details/17138689</link><guid>https://blog.csdn.net/gaofang2009/article/details/17138689</guid><author>gaofang2009</author><pubDate>Thu, 05 Dec 2013 11:35:49 +0800</pubDate><description><![CDATA[ListViewItem lvi = new ListViewItem("1");    //编号
           if (controller.LinkFlag == 1)
            {
                lvi.SubItems.Add("已连接", Color.White, Color.Green, new Font("宋体", 12));
    ]]></description><category></category></item><item><title><![CDATA[Windows XP中 禁止软件安装]]></title><link>https://blog.csdn.net/gaofang2009/article/details/17068997</link><guid>https://blog.csdn.net/gaofang2009/article/details/17068997</guid><author>gaofang2009</author><pubDate>Mon, 02 Dec 2013 11:13:47 +0800</pubDate><description><![CDATA[来自：http://www.doc88.com/p-494273892291.html
 
运行gpedit.msc打开组策略，在管理模板里打开windows组件，有个windows安装服务，将右边的东西你看一下,具体方法:运行gpedit.msc->计算机配置->管理模板->windows组件->ms installer->启动“禁用ms installer"以及“禁止用户安装” 

(]]></description><category></category></item><item><title><![CDATA[GDI+ 画透明背景的字]]></title><link>https://blog.csdn.net/gaofang2009/article/details/8762251</link><guid>https://blog.csdn.net/gaofang2009/article/details/8762251</guid><author>gaofang2009</author><pubDate>Fri, 05 Apr 2013 19:45:13 +0800</pubDate><description><![CDATA[问题：有黑色的描边一样的东西
原因：

                       // GTemp.DrawString(StrYin[i], ftyin, BrushClrPinYin, iWidth, 0, StringFormat.GenericDefault);


解决：

用GraphicsPath来代替文字输出 
path.AddString(...); 
p]]></description><category></category></item><item><title><![CDATA[C# WinForm TreeView改变选中节点颜色，失去焦点时选中节点仍突显。]]></title><link>https://blog.csdn.net/gaofang2009/article/details/8738474</link><guid>https://blog.csdn.net/gaofang2009/article/details/8738474</guid><author>gaofang2009</author><pubDate>Fri, 29 Mar 2013 21:40:32 +0800</pubDate><description><![CDATA[来自：http://www.cnblogs.com/greatverve/archive/2012/03/22/treeview-HideSelection.html

C# WinForm TreeView改变选中节点颜色，失去焦点时选中节点仍突显。
当用户焦点离开TreeView时，TreeView选中节点仍然高亮，但是颜色太浅，几乎看不出来。
这里重写一下DrawMode();可以控]]></description><category></category></item><item><title><![CDATA[调用API实现录音]]></title><link>https://blog.csdn.net/gaofang2009/article/details/8688425</link><guid>https://blog.csdn.net/gaofang2009/article/details/8688425</guid><author>gaofang2009</author><pubDate>Mon, 18 Mar 2013 18:41:51 +0800</pubDate><description><![CDATA[来自：http://www.cnblogs.com/KeithDan/archive/2006/12/19/596833.html


应一个朋友委托,做一个录音程序.
我原本以为要用direct来做,先是在google上搜索了一把,收获不大。后来在codeproject上发现一篇文章A
 full-duplex audio player in C# using the waveIn/w]]></description><category></category></item><item><title><![CDATA[jqGrid Demo官方网]]></title><link>https://blog.csdn.net/gaofang2009/article/details/8615144</link><guid>https://blog.csdn.net/gaofang2009/article/details/8615144</guid><author>gaofang2009</author><pubDate>Tue, 26 Feb 2013 19:09:06 +0800</pubDate><description><![CDATA[jqGrid Demo官方网
http://trirand.com/blog/jqgrid/jqgrid.html



在线配色


http://www.mb5u.com/tool/peise/]]></description><category></category></item><item><title><![CDATA[PS 单个图片垂直居中对齐]]></title><link>https://blog.csdn.net/gaofang2009/article/details/8608738</link><guid>https://blog.csdn.net/gaofang2009/article/details/8608738</guid><author>gaofang2009</author><pubDate>Mon, 25 Feb 2013 11:26:36 +0800</pubDate><description><![CDATA[1、选中图层
2、Ctrl+A
3、
或

菜单图层——图层与选区对齐——垂直居中（还有选水平居中）就会将你打的字体出现在图层最中央了]]></description><category></category></item><item><title><![CDATA[C#中如何使用FindWindow来查找Word，计算器，Notepad等软件]]></title><link>https://blog.csdn.net/gaofang2009/article/details/8594655</link><guid>https://blog.csdn.net/gaofang2009/article/details/8594655</guid><author>gaofang2009</author><pubDate>Wed, 20 Feb 2013 15:09:17 +0800</pubDate><description><![CDATA[来自：http://blog.csdn.net/luolunz/article/details/7905141


别忘了添加引用

using System.Runtime.InteropServices;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System]]></description><category></category></item><item><title><![CDATA[大写字母上有音标]]></title><link>https://blog.csdn.net/gaofang2009/article/details/8594036</link><guid>https://blog.csdn.net/gaofang2009/article/details/8594036</guid><author>gaofang2009</author><pubDate>Wed, 20 Feb 2013 13:01:22 +0800</pubDate><description><![CDATA['   ˈ     ·     •



ĀĂĆČĒĚĎĞ ǴǨȞĹĪĬ






 ŃŇŌṔŎŔŘŚŠǕǗǙẀẂȲŹŽ



office2007步骤是
插入-符号-其他符号，在对话框子集中选择【拉丁语扩充-A】，然后选择所要的字符就可以了]]></description><category></category></item><item><title><![CDATA[无法嵌入互操作类型“Microsoft.Office.Interop.Excel.ApplicationClass”。请改用适用的接口]]></title><link>https://blog.csdn.net/gaofang2009/article/details/8587753</link><guid>https://blog.csdn.net/gaofang2009/article/details/8587753</guid><author>gaofang2009</author><pubDate>Mon, 18 Feb 2013 14:14:34 +0800</pubDate><description><![CDATA[来自：http://blog.csdn.net/daidailiu/article/details/6924550


解决办法是将引用的DLL：Microsoft.Office.Interop.Excel;的嵌入互操作类型改为false,就可以了。]]></description><category></category></item><item><title><![CDATA[C#线程操作常见的六大操作方法]]></title><link>https://blog.csdn.net/gaofang2009/article/details/8567788</link><guid>https://blog.csdn.net/gaofang2009/article/details/8567788</guid><author>gaofang2009</author><pubDate>Mon, 04 Feb 2013 00:07:57 +0800</pubDate><description><![CDATA[来自：http://developer.51cto.com/art/200908/147771.htm


C#线程操作常见的操作方法是什么呢？C#线程操作方法的具体实现是什么样子的呢?那么下面我们来看看具体的C#线程操作的六大方法分别是什么，以及他们的特点是什么？


C#线程操作一、用委托(Delegate)的BeginInvoke和EndInvoke方法操作线程


在C#]]></description><category></category></item><item><title><![CDATA[C# 合并word文档]]></title><link>https://blog.csdn.net/gaofang2009/article/details/8567772</link><guid>https://blog.csdn.net/gaofang2009/article/details/8567772</guid><author>gaofang2009</author><pubDate>Sun, 03 Feb 2013 23:54:27 +0800</pubDate><description><![CDATA[来自：http://blog.163.com/kunkun0921@126/blog/static/169204332201178101823129/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using]]></description><category></category></item></channel></rss>