<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[spade24的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/spade24</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; spade24]]></copyright><item><title><![CDATA[wince 在C#中 对datagrid 的数据添加]]></title><link>https://blog.csdn.net/spade24/article/details/44063309</link><guid>https://blog.csdn.net/spade24/article/details/44063309</guid><author>spade24</author><pubDate>Wed, 04 Mar 2015 17:51:15 +0800</pubDate><description><![CDATA[string[] dgColumns = new string[5] { "序号", "样品名称", "特征", "值", "结果"};

            DataTable datatable = new DataTable();
            for (int i = 0; i < dgColumns.Length; i++)
            {
          ]]></description><category></category></item><item><title><![CDATA[程序自启动]]></title><link>https://blog.csdn.net/spade24/article/details/43018195</link><guid>https://blog.csdn.net/spade24/article/details/43018195</guid><author>spade24</author><pubDate>Thu, 22 Jan 2015 13:20:41 +0800</pubDate><description><![CDATA[public void SetAutoRun(string fileName, bool isAutoRun)
        {
            RegistryKey reg = null;
            try
            {
                if (!System.IO.File.Exists(fileName))
              ]]></description><category></category></item><item><title><![CDATA[自动添加环境变量代码]]></title><link>https://blog.csdn.net/spade24/article/details/38496691</link><guid>https://blog.csdn.net/spade24/article/details/38496691</guid><author>spade24</author><pubDate>Mon, 11 Aug 2014 18:22:00 +0800</pubDate><description><![CDATA[#region SetEnvironmentPath

        [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
        static extern IntPtr SendMessageTimeout(IntPtr hWnd, uint Msg, UIntPtr wParam, string]]></description><category></category></item><item><title><![CDATA[关机、自启动、全屏、屏蔽任务管理器]]></title><link>https://blog.csdn.net/spade24/article/details/38496657</link><guid>https://blog.csdn.net/spade24/article/details/38496657</guid><author>spade24</author><pubDate>Mon, 11 Aug 2014 18:16:56 +0800</pubDate><description><![CDATA[（退出关机：shutdown）
（开机启动：打包时加到启动项）
（全屏显示：TopMost=true，WindowState=FormWindowState.Maximized和FormBorderStyle=FormBorderStyle.None）
（屏蔽任务管理器：HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\P]]></description><category></category></item><item><title><![CDATA[输入内容的有效性]]></title><link>https://blog.csdn.net/spade24/article/details/36400467</link><guid>https://blog.csdn.net/spade24/article/details/36400467</guid><author>spade24</author><pubDate>Wed, 02 Jul 2014 11:52:41 +0800</pubDate><description><![CDATA[private void TextBox_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar != '\b' && (e.KeyChar != '.') && (e.KeyChar != '-'))//这是允许输入退格键和小数点
            {
                ]]></description><category></category></item><item><title><![CDATA[关于contextMenuStrip的几点应用]]></title><link>https://blog.csdn.net/spade24/article/details/35996079</link><guid>https://blog.csdn.net/spade24/article/details/35996079</guid><author>spade24</author><pubDate>Mon, 30 Jun 2014 14:26:53 +0800</pubDate><description><![CDATA[1、获取源控件的方法]]></description><category></category></item><item><title><![CDATA[关于TChart的几个方法]]></title><link>https://blog.csdn.net/spade24/article/details/35570577</link><guid>https://blog.csdn.net/spade24/article/details/35570577</guid><author>spade24</author><pubDate>Sat, 28 Jun 2014 17:16:33 +0800</pubDate><description><![CDATA[1、在图形中显示每条曲线的标题与勾选；]]></description><category></category></item><item><title><![CDATA[关于dataGridView的几个方法]]></title><link>https://blog.csdn.net/spade24/article/details/35569375</link><guid>https://blog.csdn.net/spade24/article/details/35569375</guid><author>spade24</author><pubDate>Sat, 28 Jun 2014 16:29:17 +0800</pubDate><description><![CDATA[1、自动递增序号；
private void dataGridView_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
        {
            Rectangle rectangle = new Rectangle(e.RowBounds.Location.X,
                ]]></description><category></category></item><item><title><![CDATA[C# 强制清除系统进程]]></title><link>https://blog.csdn.net/spade24/article/details/35277089</link><guid>https://blog.csdn.net/spade24/article/details/35277089</guid><author>spade24</author><pubDate>Fri, 27 Jun 2014 16:25:31 +0800</pubDate><description><![CDATA[System.Diagnostics.Process myproc = new System.Diagnostics.Process();
            //得到所有打开的进程
            try
            {
                foreach (Process thisproc in Process.GetProcessesByName("con]]></description><category></category></item><item><title><![CDATA[HOW TO：使用 Visual C# .NET 打印 RichTextBox 控件的内容]]></title><link>https://blog.csdn.net/spade24/article/details/5137939</link><guid>https://blog.csdn.net/spade24/article/details/5137939</guid><author>spade24</author><pubDate>Tue, 05 Jan 2010 19:52:00 +0800</pubDate><description><![CDATA[本分步指南介绍了如何打印 RichTextBox 控件的内容。RichTextBox 控件没有提供任何打印 RichTextBox 内容的方法。您可以扩展 RichTextBox 类以使用 EM_FORMATRANGE 消息将 RichTextBox 控件的内容发送到一个输出设备（如打印机）。创建 RichTextBoxPrintCtrl 控件下面的示例介绍了如何扩展 Rich]]></description><category></category></item></channel></rss>