<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>Extended Methods for .NET</title><link>http://nk0deextendedmethods.codeplex.com/project/feeds/rss</link><description>Developed in VB.NET, this DLL includes some functions I came across over the internet. Originally they were functions. I made some changes to suit my work and recreated them as Extended methods.    Currently includes two extended methods for the Image class and one extended method for the String class.    I will update it with new methods as I go along.</description><item><title>Updated Wiki: Home</title><link>http://nk0deextendedmethods.codeplex.com/wikipage?version=6</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Developed in VB.NET, this DLL includes some functions I came across over the internet. Originally they were functions. I made some changes to suit my work and recreated them as Extended methods. &lt;br /&gt;&lt;br /&gt;I will update it with new methods as I go along.&lt;br /&gt;Big thanks out to programmers who came up with the original code.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>nK0de</author><pubDate>Mon, 02 Apr 2012 20:18:33 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20120402081833P</guid></item><item><title>Updated Release: nK0deExtendedMethods - 31-03-12 (Mar 31, 2012)</title><link>http://nk0deextendedmethods.codeplex.com/releases/view/85260</link><description>&lt;div class="wikidoc"&gt;Added a new string method (ReverseString). &lt;br /&gt;Although VB.NET has a built-in method to reverse a string (strReverse), there is no such feature in C#. This added method resolves that issue.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>nK0de</author><pubDate>Sun, 01 Apr 2012 19:25:21 GMT</pubDate><guid isPermaLink="false">Updated Release: nK0deExtendedMethods - 31-03-12 (Mar 31, 2012) 20120401072521P</guid></item><item><title>Released: nK0deExtendedMethods - 31-03-12 (Mar 31, 2012)</title><link>http://nk0deextendedmethods.codeplex.com/releases/view/85260</link><description>
&lt;div class="wikidoc"&gt;Added a new string method (ReverseString). &lt;br&gt;
Although VB.NET has a built-in method to reverse a string (strReverse), there is no such feature in C#. This added method resolves that issue.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
</description><author></author><pubDate>Sun, 01 Apr 2012 19:25:21 GMT</pubDate><guid isPermaLink="false">Released: nK0deExtendedMethods - 31-03-12 (Mar 31, 2012) 20120401072521P</guid></item><item><title>Updated Wiki: Documentation</title><link>http://nk0deextendedmethods.codeplex.com/documentation?version=5</link><description>&lt;div class="wikidoc"&gt;To use it, download the DLL and add a reference to it. Make sure to import the Namespace to your project like this,&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Imports nK0deExtendedMethods
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Merge&lt;/b&gt; method (for Images)&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;This extended method &lt;i&gt;combines&lt;/i&gt; two images in one Picturebox. You only have to pass the second image as a parameter.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Dim image1, image2 As Image

image1 = Image.FromFile(&amp;quot;C:\Users\nK0de\Pictures\pic01.jpg&amp;quot;)
image2 = Image.FromFile(&amp;quot;C:\Users\nK0de\Pictures\pic02.jpg&amp;quot;)

PictureBox1.Image = image1.Merge(image2)
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Fit&lt;/b&gt; method (for Images)&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;This method re-sizes the image that&amp;#39;s passed to a Picturebox to make it fit within the Picturebox. You have to pass the height and the width of the Picturebox as parameters.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Dim image1 As Image
Dim pH, pW As Integer

pH = PictureBox2.Height
pW = PictureBox2.Width

image1 = Image.FromFile(&amp;quot;C:\Users\nK0de\Pictures\pic01.jpg&amp;quot;)

PictureBox1.Image = image3.Fit(pH, pW)
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;IsEmail&lt;/b&gt; method (for Strings)&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;This method checks the passed string is a valid email address using a regex pattern and returns True is successful.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
If IsEmail(TextBox1.Text) = True Then
    MessageBox.Show(&amp;quot;Valid email address&amp;quot;)
Else
    MessageBox.Show(&amp;quot;Invalid email address&amp;quot;)
End If
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Center&lt;/b&gt; method (for Forms)&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;This method is useful when developing a MDI application and you have to center the child forms inside the parent form. In the event where the child form is invoked,&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Dim f As Form = frmChild

frmChild.MdiParent = Me
frmChild.Show()
frmChild.Location = Center(f)
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;ReverseString&lt;/b&gt; method (for Strings)&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;This method is useful for C# developers in a situation which you have to reverse a string. VB.NET provides a built0in method to do this but C# doesn&amp;#39;t.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Dim str As String = TextBox1.Text

Label1.Text = str.ReverseString()
&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>nK0de</author><pubDate>Sat, 31 Mar 2012 17:19:15 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20120331051915P</guid></item><item><title>Updated Release: nK0deExtendedMethods - 31-03-12 (Mar 31, 2012)</title><link>http://nk0deextendedmethods.codeplex.com/releases/view/85260</link><description>&lt;div class="wikidoc"&gt;Added a new string method (ReverseString). &lt;br /&gt;Although VB.NET has a built-in method to reverse a string (strReverse), there is no such feature in C#. This added method resolves that issue.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>nK0de</author><pubDate>Sat, 31 Mar 2012 17:06:57 GMT</pubDate><guid isPermaLink="false">Updated Release: nK0deExtendedMethods - 31-03-12 (Mar 31, 2012) 20120331050657P</guid></item><item><title>Released: nK0deExtendedMethods - 31-03-12 (Mar 31, 2012)</title><link>http://nk0deextendedmethods.codeplex.com/releases/view/85260</link><description>
&lt;div class="wikidoc"&gt;Added a new string method (ReverseString). &lt;br&gt;
Although VB.NET has a built-in method to reverse a string (strReverse), there is no such feature in C#. This added method resolves that issue.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
</description><author></author><pubDate>Sat, 31 Mar 2012 17:06:54 GMT</pubDate><guid isPermaLink="false">Released: nK0deExtendedMethods - 31-03-12 (Mar 31, 2012) 20120331050654P</guid></item><item><title>Updated Release: nK0deExtendedMethods (Mar 07, 2012)</title><link>http://nk0deextendedmethods.codeplex.com/releases/view/83755</link><description>&lt;div class="wikidoc"&gt;Added a new method for the Form class (Center). It positions the Child forms at the center of the Parent form in an MDI application.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>nK0de</author><pubDate>Sat, 31 Mar 2012 17:03:04 GMT</pubDate><guid isPermaLink="false">Updated Release: nK0deExtendedMethods (Mar 07, 2012) 20120331050304P</guid></item><item><title>Released: nK0deExtendedMethods (Mar 07, 2012)</title><link>http://nk0deextendedmethods.codeplex.com/releases/view/83755</link><description>
&lt;div class="wikidoc"&gt;Added a new method for the Form class (Center). It positions the Child forms at the center of the Parent form in an MDI application.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
</description><author></author><pubDate>Sat, 31 Mar 2012 17:03:04 GMT</pubDate><guid isPermaLink="false">Released: nK0deExtendedMethods (Mar 07, 2012) 20120331050304P</guid></item><item><title>Updated Wiki: Home</title><link>http://nk0deextendedmethods.codeplex.com/wikipage?version=5</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Developed in VB.NET, this DLL includes some functions I came across over the internet. Originally they were functions. I made some changes to suit my work and recreated them as Extended methods. &lt;br /&gt;Currently includes two extension methods for the Image class (Merge, Fit), one extension method for the String class (IsEmail) and one extension method for the Forms class (Center). &lt;br /&gt;&lt;br /&gt;I will update it with new methods as I go along.&lt;br /&gt;Big thanks out to programmers who came up with the original code.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>nK0de</author><pubDate>Wed, 07 Mar 2012 13:35:49 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20120307013549P</guid></item><item><title>Updated Wiki: Documentation</title><link>http://nk0deextendedmethods.codeplex.com/documentation?version=4</link><description>&lt;div class="wikidoc"&gt;To use it, download the DLL and add a reference to it. Make sure to import the Namespace to your project like this,&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Imports nK0deExtendedMethods
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Merge&lt;/b&gt; method (for Images)&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;This extended method &lt;i&gt;combines&lt;/i&gt; two images in one Picturebox. You only have to pass the second image as a parameter.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Dim image1, image2 As Image

image1 = Image.FromFile(&amp;quot;C:\Users\nK0de\Pictures\pic01.jpg&amp;quot;)
image2 = Image.FromFile(&amp;quot;C:\Users\nK0de\Pictures\pic02.jpg&amp;quot;)

PictureBox1.Image = image1.Merge(image2)
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Fit&lt;/b&gt; method (for Images)&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;This method re-sizes the image that&amp;#39;s passed to a Picturebox to make it fit within the Picturebox. You have to pass the height and the width of the Picturebox as parameters.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Dim image1 As Image
Dim pH, pW As Integer

pH = PictureBox2.Height
pW = PictureBox2.Width

image1 = Image.FromFile(&amp;quot;C:\Users\nK0de\Pictures\pic01.jpg&amp;quot;)

PictureBox1.Image = image3.Fit(pH, pW)
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;IsEmail&lt;/b&gt; method (for Strings)&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;This method checks the passed string is a valid email address using a regex pattern and returns True is successful.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
If IsEmail(TextBox1.Text) = True Then
    MessageBox.Show(&amp;quot;Valid email address&amp;quot;)
Else
    MessageBox.Show(&amp;quot;Invalid email address&amp;quot;)
End If
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Center&lt;/b&gt; method (for Forms)&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;This method is useful when developing a MDI application and you have to center the child forms inside the parent form. In the event where the child form is invoked,&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Dim f As Form = frmChild

frmChild.MdiParent = Me
frmChild.Show()
frmChild.Location = Center(f)
&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>nK0de</author><pubDate>Wed, 07 Mar 2012 13:30:27 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20120307013027P</guid></item><item><title>Updated Wiki: Home</title><link>http://nk0deextendedmethods.codeplex.com/wikipage?version=4</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Developed in VB.NET, this DLL includes some functions I came across over the internet. Originally they were functions. I made some changes to suit my work and recreated them as Extended methods. &lt;br /&gt;Currently includes two extension methods for the Image class (Merge, Fit), one extension method for the String class (IsEmail) and one extension method for the Forms class (Center). &lt;br /&gt;I will update it with new methods as I go along.&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>nK0de</author><pubDate>Wed, 07 Mar 2012 10:55:59 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20120307105559A</guid></item><item><title>Released: nK0deExtendedMethods (Mar 07, 2012)</title><link>http://nk0deextendedmethods.codeplex.com/releases/view/83755</link><description>
&lt;div class="wikidoc"&gt;Added a new method for the Form class (Center). It positions the Child forms at the center of the Parent form in an MDI application.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
</description><author></author><pubDate>Wed, 07 Mar 2012 10:54:10 GMT</pubDate><guid isPermaLink="false">Released: nK0deExtendedMethods (Mar 07, 2012) 20120307105410A</guid></item><item><title>Updated Release: nK0deExtendedMethods (Mar 07, 2012)</title><link>http://nk0deextendedmethods.codeplex.com/releases/view/83755</link><description>&lt;div class="wikidoc"&gt;Added a new method for the Form class (Center). It positions the Child forms at the center of the Parent form in an MDI application.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>nK0de</author><pubDate>Wed, 07 Mar 2012 10:54:10 GMT</pubDate><guid isPermaLink="false">Updated Release: nK0deExtendedMethods (Mar 07, 2012) 20120307105410A</guid></item><item><title>Updated Release: nK0deExtendedMethods (Mar 07, 2012)</title><link>http://nk0deextendedmethods.codeplex.com/releases/view/83755</link><description>&lt;div class="wikidoc"&gt;Added a new method for the Form class. It positions the Child forms at the center of the Parent form in an MDI application.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>nK0de</author><pubDate>Wed, 07 Mar 2012 10:52:24 GMT</pubDate><guid isPermaLink="false">Updated Release: nK0deExtendedMethods (Mar 07, 2012) 20120307105224A</guid></item><item><title>Updated Wiki: Documentation</title><link>http://nk0deextendedmethods.codeplex.com/documentation?version=3</link><description>&lt;div class="wikidoc"&gt;To use it, download the DLL and add a reference to it. Make sure to import the Namespace to your project like this,&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Imports nK0deExtendedMethods
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Merge&lt;/b&gt; method (for Images)&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;This extended method &lt;i&gt;combines&lt;/i&gt; two images in one Picturebox. You only have to pass the second image as a parameter.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Dim image1, image2 As Image

image1 = Image.FromFile(&amp;quot;C:\Users\nK0de\Pictures\pic01.jpg&amp;quot;)
image2 = Image.FromFile(&amp;quot;C:\Users\nK0de\Pictures\pic02.jpg&amp;quot;)

PictureBox1.Image = image1.Merge(image2)
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Fit&lt;/b&gt; method (for Images)&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;This method re-sizes the image that&amp;#39;s passed to a Picturebox to make it fit within the Picturebox. You have to pass the height and the width of the Picturebox as parameters.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Dim image1 As Image
Dim pH, pW As Integer

pH = PictureBox2.Height
pW = PictureBox2.Width

image1 = Image.FromFile(&amp;quot;C:\Users\nK0de\Pictures\pic01.jpg&amp;quot;)

PictureBox1.Image = image3.Fit(pH, pW)
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;IsEmail&lt;/b&gt; method (for Strings)&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;This method checks the passed string is a valid email address using a regex pattern and returns True is successful.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
If IsEmail(TextBox1.Text) = True Then
    MessageBox.Show(&amp;quot;Valid email address&amp;quot;)
Else
    MessageBox.Show(&amp;quot;Invalid email address&amp;quot;)
End If
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>nK0de</author><pubDate>Sun, 04 Mar 2012 13:13:09 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20120304011309P</guid></item><item><title>Released: Extended Methods for .NET (Mar 03, 2012)</title><link>http://nk0deextendedmethods.codeplex.com/releases/view/83468</link><description>
&lt;div class="wikidoc"&gt;Current release includes two extended methods (Merge, Fit) for the Image class and one extended method (IsEmail) for the String class.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
</description><author></author><pubDate>Sun, 04 Mar 2012 08:24:34 GMT</pubDate><guid isPermaLink="false">Released: Extended Methods for .NET (Mar 03, 2012) 20120304082434A</guid></item><item><title>Updated Release: Extended Methods for .NET (Mar 03, 2012)</title><link>http://nk0deextendedmethods.codeplex.com/releases/view/83468</link><description>&lt;div class="wikidoc"&gt;Current release includes two extended methods (Merge, Fit) for the Image class and one extended method (IsEmail) for the String class.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>nK0de</author><pubDate>Sun, 04 Mar 2012 08:24:34 GMT</pubDate><guid isPermaLink="false">Updated Release: Extended Methods for .NET (Mar 03, 2012) 20120304082434A</guid></item><item><title>Updated Release: Extended Methods for .NET (Mar 03, 2012)</title><link>http://nk0deextendedmethods.codeplex.com/releases/view/83468</link><description>&lt;div class="wikidoc"&gt;Current release includes two extended methods (Merge, Fit) for the Image class and one extended method (IsEmail) for the String class. &lt;br /&gt;&lt;br /&gt;I will update it with new methods as I go along.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>nK0de</author><pubDate>Sun, 04 Mar 2012 08:01:59 GMT</pubDate><guid isPermaLink="false">Updated Release: Extended Methods for .NET (Mar 03, 2012) 20120304080159A</guid></item><item><title>Updated Release: Extended Methods for .NET (Mar 03, 2012)</title><link>http://nk0deextendedmethods.codeplex.com/releases/view/83468</link><description>&lt;div class="wikidoc"&gt;Developed in VB.NET, this DLL includes some extended method I created to use my projects. &lt;br /&gt;&lt;br /&gt;Currently includes 2 extended methods for the Image class and 1 extended method for the String class. &lt;br /&gt;&lt;br /&gt;I will update it with new methods as I go along.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>nK0de</author><pubDate>Sun, 04 Mar 2012 07:49:48 GMT</pubDate><guid isPermaLink="false">Updated Release: Extended Methods for .NET (Mar 03, 2012) 20120304074948A</guid></item><item><title>Created Release: Extended Methods for .NET (Mar 03, 2012)</title><link>http://nk0deextendedmethods.codeplex.com/releases?ReleaseId=83468</link><description>&lt;div class="wikidoc"&gt;Developed in VB.NET, this DLL includes some extended method I created to use my projects. &lt;br /&gt;&lt;br /&gt;Currently includes 2 extended methods for the Image class and 1 extended method for the String class. &lt;br /&gt;&lt;br /&gt;I will update it with new methods as I go along.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>nK0de</author><pubDate>Sun, 04 Mar 2012 07:35:10 GMT</pubDate><guid isPermaLink="false">Created Release: Extended Methods for .NET (Mar 03, 2012) 20120304073510A</guid></item></channel></rss>