<?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>Cihan Topcu &#187; TUTORIALS</title>
	<atom:link href="http://www.cihantopcu.com/category/tutorials/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cihantopcu.com</link>
	<description>notlar</description>
	<lastBuildDate>Sat, 14 Aug 2010 13:40:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Easy javascript AJAX with Mootools</title>
		<link>http://www.cihantopcu.com/easy-javascript-ajax-with-mootools.html</link>
		<comments>http://www.cihantopcu.com/easy-javascript-ajax-with-mootools.html#comments</comments>
		<pubDate>Sat, 28 Mar 2009 12:34:04 +0000</pubDate>
		<dc:creator>Cihan Topcu</dc:creator>
				<category><![CDATA[MOOTOOLS]]></category>
		<category><![CDATA[TUTORIALS]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.cihantopcu.com/?p=39</guid>
		<description><![CDATA[<p>We most used Ajax requests the following snippet of code will make your life easier. Mootools &#8220;Request&#8221; function is used in this code. The next article in this function we&#8217;ll see how ASP.NET.</p>

Sensei = {};
Sensei.Send = function(URL, fName, prms, retryCount, OnComplete) {
	if (retryCount == null) retryCount = 0;
	var jsonRequest = new Request(
		{
     [...]]]></description>
			<content:encoded><![CDATA[<p>We most used Ajax requests the following snippet of code will make your life easier. Mootools &#8220;Request&#8221; function is used in this code. The next article in this function we&#8217;ll see how ASP.NET.</p>
<pre name="code" class="js">
Sensei = {};
Sensei.Send = function(URL, fName, prms, retryCount, OnComplete) {
	if (retryCount == null) retryCount = 0;
	var jsonRequest = new Request(
		{
                'encoding' : 'utf-8',
		method: 'post',
		url: URL,
		onComplete:  OnComplete,
		onFailure: function(){
					if(retryCount&lt;3)
						Sensei.Send(URL, fName, prms, OnComplete, retryCount++);
		},
       }).send('m=' + fName + '&amp;' + prms);
};</pre>
<p><strong>How to use :</strong></p>
<pre class="js">Sensei.send("service/serviceurl.ashx","doIt","cId=5&amp;bId=5",0, function(result){
      alert(result);
});</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cihantopcu.com/easy-javascript-ajax-with-mootools.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mootools kullanarak kolay javascript AJAX</title>
		<link>http://www.cihantopcu.com/mootools-kullanarak-kolay-javascript-ajax.html</link>
		<comments>http://www.cihantopcu.com/mootools-kullanarak-kolay-javascript-ajax.html#comments</comments>
		<pubDate>Thu, 26 Mar 2009 17:23:33 +0000</pubDate>
		<dc:creator>Cihan Topcu</dc:creator>
				<category><![CDATA[MOOTOOLS]]></category>
		<category><![CDATA[TUTORIALS]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.cihantopcu.com/?p=35</guid>
		<description><![CDATA[<p>Bolca kullanığımız AJAX requestleri (post) için aşağıdaki kod parçası hayatınızı kolaylaştıracaktır. Mootools &#8220;Request&#8221; fonksiyonu kullanılmaktadır. Daha sonraki yazılarda bu fonksiyonu ASP.NET ile nasıl kullanabileceğimizi göreceğiz.</p>

Sensei = {};
Sensei.Send = function(URL, fName, prms, retryCount, OnComplete) {
	if (retryCount == null) retryCount = 0;
	var jsonRequest = new Request(
		{
             [...]]]></description>
			<content:encoded><![CDATA[<p>Bolca kullanığımız AJAX requestleri (post) için aşağıdaki kod parçası hayatınızı kolaylaştıracaktır. Mootools &#8220;Request&#8221; fonksiyonu kullanılmaktadır. Daha sonraki yazılarda bu fonksiyonu ASP.NET ile nasıl kullanabileceğimizi göreceğiz.</p>
<pre name="code" class="js">
Sensei = {};
Sensei.Send = function(URL, fName, prms, retryCount, OnComplete) {
	if (retryCount == null) retryCount = 0;
	var jsonRequest = new Request(
		{
                'encoding' : 'utf-8',
		method: 'post',
		url: URL,
		onComplete:  OnComplete,
		onFailure: function(){
					if(retryCount&lt;3)
						Sensei.Send(URL, fName, prms, OnComplete, retryCount++);
		},
       }).send('m=' + fName + '&amp;' + prms);
};</pre>
<p>Kullanımı :</p>
<pre class="js">

Sensei.send("service/serviceurl.ashx","doIt","cId=5&#038;bId=5",0, function(result){
      alert(result);
});
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cihantopcu.com/mootools-kullanarak-kolay-javascript-ajax.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows uygulamalarında form konum ve boyut ayarları</title>
		<link>http://www.cihantopcu.com/windows-uygulamalarinda-form-konum-ve-boyut-ayarlari.html</link>
		<comments>http://www.cihantopcu.com/windows-uygulamalarinda-form-konum-ve-boyut-ayarlari.html#comments</comments>
		<pubDate>Sat, 27 Dec 2008 22:14:03 +0000</pubDate>
		<dc:creator>Cihan Topcu</dc:creator>
				<category><![CDATA[TUTORIALS]]></category>
		<category><![CDATA[winforms]]></category>

		<guid isPermaLink="false">http://www.cihantopcu.com/?p=23</guid>
		<description><![CDATA[<p>Bir uygulamanın en son kapatıldığı konum ve boyutlarda açılması için</p>

 Önce uygulamanızın özelliklerinden Settings sekmesine gelin, Location ve Size isimlerinde iki değişken tanımlayın

<p></p>
<p></p>

Form kapandığında bu ayarları kaydetmesi için Form_Closed event ine aşağıdaki kodları yazın

private void Form1_FormClosed(object sender, FormClosedEventArgs e)
{
Settings.Default.Location = new Point(this.Left, this.Top);
Settings.Default.Size = new Size(this.Width, this.Height);
Settings.Default.Save();
}


Form tekrar açıldığında kaydedilen ayarlarla açılabilmesi için Form_Load event ine [...]]]></description>
			<content:encoded><![CDATA[<p>Bir uygulamanın en son kapatıldığı konum ve boyutlarda açılması için</p>
<ul>
<li> Önce uygulamanızın özelliklerinden <strong>Settings </strong>sekmesine gelin, <strong>Location </strong>ve <strong>Size </strong>isimlerinde iki değişken tanımlayın</li>
</ul>
<p><img src="file:///C:/Users/Cihan/AppData/Local/Temp/moz-screenshot.jpg" alt="" /></p>
<p><img src="/image.axd?picture=2008%2f12%2f1.png" alt="" /></p>
<ul>
<li>Form kapandığında bu ayarları kaydetmesi için Form_Closed event ine aşağıdaki kodları yazın</li>
</ul>
<pre style="padding-left: 60px;"><span style="color: Blue">private</span> <span style="color: Blue">void</span> Form1_FormClosed(<span style="color: Blue">object</span> sender, FormClosedEventArgs e)
{
Settings.Default.Location = <span style="color: Blue">new</span> Point(<span style="color: Blue">this</span>.Left, <span style="color: Blue">this</span>.Top);
Settings.Default.Size = <span style="color: Blue">new</span> Size(<span style="color: Blue">this</span>.Width, <span style="color: Blue">this</span>.Height);
Settings.Default.Save();
}</pre>
<ul>
<li>
<pre>Form tekrar açıldığında kaydedilen ayarlarla açılabilmesi için Form_Load event ine aşağıdaki kodları yazın</pre>
</li>
</ul>
<pre style="padding-left: 60px;"><span style="color: Blue">private</span> <span style="color: Blue">void</span> Form1_Load(<span style="color: Blue">object</span> sender, EventArgs e)
{
<span style="color: Blue">this</span>.Left = Settings.Default.Location.X;
<span style="color: Blue">this</span>.Top= Settings.Default.Location.Y;
<span style="color: Blue">this</span>.Width = Settings.Default.Size.Width;
<span style="color: Blue">this</span>.Height = Settings.Default.Size.Height;
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cihantopcu.com/windows-uygulamalarinda-form-konum-ve-boyut-ayarlari.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
