<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Snippet MS</title>
	<atom:link href="http://www.mysmartearth.com/webcodes/Index.php?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.mysmartearth.com/webcodes</link>
	<description>Snippet Management System</description>
	<lastBuildDate>Tue, 09 Mar 2010 21:14:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Dispose</title>
		<link>http://www.mysmartearth.com/webcodes/?p=30</link>
		<comments>http://www.mysmartearth.com/webcodes/?p=30#comments</comments>
		<pubDate>Tue, 09 Mar 2010 21:14:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[Dispose]]></category>
		<category><![CDATA[Finalize]]></category>
		<category><![CDATA[Garbage Collector]]></category>
		<category><![CDATA[GC]]></category>
		<category><![CDATA[SuppressFinalize]]></category>

		<guid isPermaLink="false">http://www.mysmartearth.com/webcodes/?p=30</guid>
		<description><![CDATA[VB.NET


   1: Public Class ClsTesting Implements IDisposable

   2:      

   3:    Public Overloads Sub Dispose() Implements IDisposable.Dispose

   4:                     

  [...]]]></description>
		<wfw:commentRss>http://www.mysmartearth.com/webcodes/?feed=rss2&amp;p=30</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Outlook Application Handling through C#</title>
		<link>http://www.mysmartearth.com/webcodes/?p=16</link>
		<comments>http://www.mysmartearth.com/webcodes/?p=16#comments</comments>
		<pubDate>Sat, 05 Sep 2009 21:29:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Office]]></category>
		<category><![CDATA[Outlook]]></category>

		<guid isPermaLink="false">http://www.mysmartearth.com/webcodes/?p=16</guid>
		<description><![CDATA[
using Outlook = Microsoft.Office.Interop.Outlook;

private Outlook.Application oApp;
private Outlook._NameSpace oNameSpace;
private Outlook.MAPIFolder oOutboxFolder;

oApp = new Outlook.Application();
oNameSpace = oApp.GetNamespace("MAPI");
oNameSpace.Logon(null, null, true, true);
oOutboxFolder = oNameSpace.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderOutbox);

Outlook._MailItem oMailItem = (Outlook._MailItem)oApp.CreateItem(Outlook.OlItemType.olMailItem);
oMailItem.To = "yourmail@gmail.com";
oMailItem.Subject = "thema";
oMailItem.Body = "bodyValue";
oMailItem.SaveSentMessageFolder = oOutboxFolder;

oMailItem.Save();
oMailItem.Send();

]]></description>
		<wfw:commentRss>http://www.mysmartearth.com/webcodes/?feed=rss2&amp;p=16</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple Selected Items in Listbox</title>
		<link>http://www.mysmartearth.com/webcodes/?p=25</link>
		<comments>http://www.mysmartearth.com/webcodes/?p=25#comments</comments>
		<pubDate>Sat, 05 Sep 2009 19:50:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[ListBox]]></category>
		<category><![CDATA[MultiExtended]]></category>
		<category><![CDATA[SelectionMode]]></category>

		<guid isPermaLink="false">http://www.mysmartearth.com/webcodes/?p=25</guid>
		<description><![CDATA[
ListboxName.selectionMode = Multiextended;
for (int x = 0; x &#60; ListboxName.Items.Count; x++)
{
      if (ListboxName.GetSelected(x) == true)
     {
     }
}

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; [...]]]></description>
		<wfw:commentRss>http://www.mysmartearth.com/webcodes/?feed=rss2&amp;p=25</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Chart Controls for .Net Framework</title>
		<link>http://www.mysmartearth.com/webcodes/?p=24</link>
		<comments>http://www.mysmartearth.com/webcodes/?p=24#comments</comments>
		<pubDate>Sat, 05 Sep 2009 19:48:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Reporting]]></category>
		<category><![CDATA[Charts]]></category>

		<guid isPermaLink="false">http://www.mysmartearth.com/webcodes/?p=24</guid>
		<description><![CDATA[
http://www.microsoft.com/downloads/details.aspx?FamilyId=1D69CE13-E1E5-4315-825C-F14D33A303E9&#38;displaylang=en
http://www.microsoft.com/downloads/details.aspx?FamilyId=130F7986-BF49-4FE5-9CA8-910AE6EA442C&#38;displaylang=en
http://www.microsoft.com/downloads/details.aspx?FamilyId=EE8F6F35-B087-4324-9DBA-6DD5E844FD9F&#38;displaylang=en
]]></description>
		<wfw:commentRss>http://www.mysmartearth.com/webcodes/?feed=rss2&amp;p=24</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Merging Menu Strip in MDI Enviroment</title>
		<link>http://www.mysmartearth.com/webcodes/?p=23</link>
		<comments>http://www.mysmartearth.com/webcodes/?p=23#comments</comments>
		<pubDate>Sat, 05 Sep 2009 19:46:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[Mdi Form]]></category>
		<category><![CDATA[MenuStrip]]></category>

		<guid isPermaLink="false">http://www.mysmartearth.com/webcodes/?p=23</guid>
		<description><![CDATA[
FatherMenuStrip.AllowMerge = True;
ChildMenuStrip.AllowMerge = True;
ChildMenuStripItem.MergeAction = MatchOnly;
ChildMenuStripItem.MergeIndex = -1;

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode [...]]]></description>
		<wfw:commentRss>http://www.mysmartearth.com/webcodes/?feed=rss2&amp;p=23</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable Windows Forms X Button</title>
		<link>http://www.mysmartearth.com/webcodes/?p=22</link>
		<comments>http://www.mysmartearth.com/webcodes/?p=22#comments</comments>
		<pubDate>Sat, 05 Sep 2009 19:45:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[Close Button]]></category>

		<guid isPermaLink="false">http://www.mysmartearth.com/webcodes/?p=22</guid>
		<description><![CDATA[
using System.Runtime.InteropServices;

private const int SC_CLOSE = 0xF060;
private const int MF_GRAYED = 0x1;
[DllImport(&#34;user32.dll&#34;)]
private static extern IntPtr GetSystemMenu(IntPtr hWnd, bool bRevert);
[DllImport(&#34;user32.dll&#34;)]
private static extern int EnableMenuItem(IntPtr hMenu, int wIDEnableItem, int wEnable);
private void Form1_Load(object sender, System.EventArgs e)
{
                EnableMenuItem(GetSystemMenu(this.Handle, false), SC_CLOSE, MF_GRAYED);
}

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: [...]]]></description>
		<wfw:commentRss>http://www.mysmartearth.com/webcodes/?feed=rss2&amp;p=22</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DataGrid Component Calibration</title>
		<link>http://www.mysmartearth.com/webcodes/?p=21</link>
		<comments>http://www.mysmartearth.com/webcodes/?p=21#comments</comments>
		<pubDate>Sat, 05 Sep 2009 19:43:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[DataGrid]]></category>

		<guid isPermaLink="false">http://www.mysmartearth.com/webcodes/?p=21</guid>
		<description><![CDATA[
// Autogenerated index fields when inserting new row is attemted
DataGridView_DefaultValuesNeeded (object sender, DataGridViewRowEventArgs e)
{
    e.Row.Cells[Index1].Value = Value1;
    e.Row.Cells[Index2].Value = Value2;
}

//        Make first column disapear
DataGridViewName.RowHeadersVisible = false;
//        Alternate Row Color
DataGridViewName.AlternatingRowsDefaultCellStyle = { BackColor=Color [A=255, R=192, G=255, [...]]]></description>
		<wfw:commentRss>http://www.mysmartearth.com/webcodes/?feed=rss2&amp;p=21</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cross-Threading Component Update</title>
		<link>http://www.mysmartearth.com/webcodes/?p=20</link>
		<comments>http://www.mysmartearth.com/webcodes/?p=20#comments</comments>
		<pubDate>Sat, 05 Sep 2009 19:40:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[Cross-Threading]]></category>

		<guid isPermaLink="false">http://www.mysmartearth.com/webcodes/?p=20</guid>
		<description><![CDATA[
public void TextComponentUpdate(String text, Object source)
{
 try
                    {
                //  Checks if the call for GUI update is from different thread
 [...]]]></description>
		<wfw:commentRss>http://www.mysmartearth.com/webcodes/?feed=rss2&amp;p=20</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copy DataGrid to Clipboard</title>
		<link>http://www.mysmartearth.com/webcodes/?p=19</link>
		<comments>http://www.mysmartearth.com/webcodes/?p=19#comments</comments>
		<pubDate>Sat, 05 Sep 2009 19:39:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[Clipboard]]></category>
		<category><![CDATA[DataGrid]]></category>

		<guid isPermaLink="false">http://www.mysmartearth.com/webcodes/?p=19</guid>
		<description><![CDATA[
Clipboard.SetDataObject(dataGridView1.GetClipboardContent());

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: [...]]]></description>
		<wfw:commentRss>http://www.mysmartearth.com/webcodes/?feed=rss2&amp;p=19</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access Mdi Parents StatusStrip from Child Form</title>
		<link>http://www.mysmartearth.com/webcodes/?p=18</link>
		<comments>http://www.mysmartearth.com/webcodes/?p=18#comments</comments>
		<pubDate>Sat, 05 Sep 2009 19:35:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[Child Form]]></category>
		<category><![CDATA[Mdi Form]]></category>
		<category><![CDATA[StatusStrip]]></category>

		<guid isPermaLink="false">http://www.mysmartearth.com/webcodes/?p=18</guid>
		<description><![CDATA[
foreach (Control c in this.ParentForm.Controls)
{
        if (c is StatusStrip)
        {
                StatusStrip s = (StatusStrip)c;
             [...]]]></description>
		<wfw:commentRss>http://www.mysmartearth.com/webcodes/?feed=rss2&amp;p=18</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
