<?xml version="1.0" encoding="utf-8"?>

<rss version="2.0">




<channel>
<title>DeveloperMania.Net</title>
<link>http://www.developermania.net/developermania/rss.asp</link>
<description>Son Eklenenler</description>
<language>tr</language>

<item><title><![CDATA[Ref ve Out Anahtar Sözcükleri]]></title><link><![CDATA[http://www.developermania.net/developermania/article.asp?katID=874]]></link><description><![CDATA[<p>
	<strong>Ref Anahtar S&ouml;zc&uuml;ğ&uuml;</strong></p>
<p>
	Ref Anahtar S&ouml;zc&uuml;ğ&uuml; Metotlara Parametre aktarırken kullanılır.Basit bir ka&ccedil; &ouml;rnekle mantıgını kavramaya &ccedil;alışalım.Main i&ccedil;erisinde bir degişken oluşturalım ve bu degişkeni bir başka metoda parametre olarak aktaralım. Aktardıgımız metot i&ccedil;erisinde degişkenimizin degerini degiştirelim ve degerleri ekrana yazdıralım bakalım neler olacak <img alt=":)" class="wp-smiley" src="http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif" /></p>
<p>
	<a href="http://erkanguzelkucuk.files.wordpress.com/2010/08/metotref.jpg"><img align="left" alt="metotref" border="0" height="242" src="http://erkanguzelkucuk.files.wordpress.com/2010/08/metotref_thumb.jpg?w=320&amp;h=242" style="border-right-width: 0px; margin: 0px 15px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="metotref" width="320" /></a>Sırasıyla tek tek inceleyelim; <br />
	<strong>1 )</strong> ahmet isimli integer bir degişken oluşturduk ve ilk deger olarak 111 verdik. <br />
	<strong>2 )</strong> erkan isminde bir metot oluşturup bu metoda ahmet degişkenimizi aktardık. <br />
	<strong>3 )</strong> main i&ccedil;erisinde ahmet degişkenimizi yazdırdık. <br />
	<strong>4 )</strong> Parametre olarak aldıgımız ahmet degişkenimizin degerini 167 olarak degiştirdik.</p>
<p>
	&Ccedil;alıştırdıgımızda ekrana 111 yazdıracaktır. Bunun nedeni ise şudur;</p>
<p>
	Değişkenlerimize deger verdigimizde bellekte bir alan oluşturuluyor ve işlemler bu alan &uuml;zerinden ger&ccedil;ekleştiriliyor. fakat bir metoda degişkenimizi parametre olarak atadıgımızda o degişkenimiz kopyalanarak gidiyor. Yani bellekteki referans adresi hi&ccedil; ulaşmıyor. Bu nedenle başka bir metot i&ccedil;erisinde ne kadar degişim yaparsak yapalım sadece kopyasını degiştirebiliyoruz.İşte bunu &ccedil;&ouml;zmek i&ccedil;in Ref Anahtar S&ouml;zc&uuml;ğ&uuml; devreye giriyor. Ref anahtar s&ouml;zc&uuml;g&uuml;n&uuml;n kullanımı ise;</p>
<p>
	&nbsp;</p>
<p>
	&nbsp;</p>
<p>
	&nbsp;</p>
<p>
	<img align="right" alt="metotref1" border="0" height="275" src="http://erkanguzelkucuk.files.wordpress.com/2010/08/metotref1_thumb.jpg?w=366&amp;h=275" style="border-right-width: 0px; margin: 0px 15px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="metotref1" width="366" />Bu şekilde degişkenimizi parametre olarak aktarıp &ccedil;alıştıralım.Bu sefer ekrana 111 ve 167 yazdıracaktır. Ref anahtar s&ouml;zc&uuml;g&uuml; degişkenimizin bellekteki referans adresini veriyor ve metot i&ccedil;erisinde degeri degiştiginde bellekteki referans alanına ulaşarak oradaki degeride degiştiriyor. Peki bu işlem Dizi degişkenlerde nasıl oluyor? Dizi degişkenler bir metoda parametre olarak aktarılırken kopyalanmıyorlar direkt olarak referans adresleri veriliyor bu nedenle dizi degişkenlerde Ref kullanılmamaktadır. Yasak degildir. Ama kullanılmamaktadır genellikle.1000 elemanlı bir diziyi metota parametre olarak aktardıgımızda tek tek kopyalamanın performans a&ccedil;ısından ne kadar vahim bir durumda olacagını g&ouml;stermektedir. İşte bu nedenle diziler parametre olarak <strong>kopyalanmaz</strong>, <strong>Referans adresleri aktarılır</strong>.</p>
<p>
	&nbsp;</p>
<p>
	<strong>Out Anahtar S&ouml;zc&uuml;ğ&uuml;</strong></p>
<p>
	Out Anahtar S&ouml;zc&uuml;ğ&uuml; ise Ref Anahtar S&ouml;zc&uuml;ğ&uuml; ile aşagı yukarı aynıdır. Peki ikiside aynıysa neden ikiside var? birini kullanmak yetiyorsa diğerine gerek yok? gibi sorular aklınıza takılıyorsa hemen cevaplayayım;</p>
<p>
	bir degişkene ilk degeri main i&ccedil;erisinde atanmamış ise bunu Ref Anahtar S&ouml;zc&uuml;ğ&uuml; ile aktardıgınızda hata alacaksınız &ccedil;&uuml;nk&uuml; ilk deger boş olarak gelmektedir. İşte bunun &ccedil;&ouml;z&uuml;m&uuml;n&uuml; Out Anahtar S&ouml;zc&uuml;ğ&uuml; ile &ccedil;&ouml;zeriz.Kullanımı ise;</p>
<p>
	&nbsp;</p>
<p>
	&nbsp;</p>
<p>
	<img align="left" alt="metotref2" border="0" height="254" src="http://erkanguzelkucuk.files.wordpress.com/2010/08/metotref2_thumb.jpg?w=352&amp;h=254" style="border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="metotref2" width="352" />Main i&ccedil;erisinde ahmet isimli degişkenimize ilk degerini vermedik ve bu değişkeni parametre olarak metodumuza aktardık. Bunu Ref ile yapsaydık hata alırdık. Out ile degişkeni aktardıgımız i&ccedil;in ilk degeri olmasada sorun olmamaktadır. Gene aynı şekilde dizi degişkenlerdede bunu kullanmamaktayız. Ama kullanmak isteyen varsa kullanabilir herhangi bir yasaklama yoktur.</p>
<p>
	Bu arada bu &ouml;rnegimizin ekran &ccedil;ıktısı 167&rsquo;dir <img alt=":)" class="wp-smiley" src="http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif" /></p>
<p>
	&nbsp;</p>
<p>
	&nbsp;</p>
<p>
	&nbsp;</p>
<p>
	&nbsp;</p>
<p>
	&nbsp;</p>
<p>
	&nbsp;</p>
<p>
	&nbsp;</p>
<p>
	Bir başka makalede g&ouml;r&uuml;şmek dilegiyle esen kalın .net ile kalın <img alt=":)" class="wp-smiley" src="http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif" /></p>
<p>
	&nbsp;</p>
<p>
	<strong>Erkan G&Uuml;ZELK&Uuml;&Ccedil;&Uuml;K <br />
	</strong>INETA MEA / DeveloperMania.Net Teknik Lider &amp; Edit&ouml;r <br />
	Ahi Evran &Uuml;niversitesi Kaman Meslek Y&uuml;ksekokulu &ndash; Yazılım Kul&uuml;b&uuml; Başkanı &ndash; Y&ouml;netim Kurulu Başkanı <br />
	Ahi Evran &Uuml;niversitesi Blogsa Temsilcisi <br />
	erkanguzelkucuk.wordpress.com <br />
	erkanguzelkucuk@hotmail.com</p>
]]></description></item><item><title><![CDATA[Oracle İçinde Otomatik Artan Sütun Oluşturmak]]></title><link><![CDATA[http://www.developermania.net/developermania/article.asp?katID=873]]></link><description><![CDATA[<p class="MsoNormal" style="margin: 0cm 0cm 10pt">
	<span style="line-height: 115%; font-family: 'courier new'; font-size: 12pt"><font color="#000000">Merhaba arkadaşlar! Veritabanı ile uğraşanlar bilirler. Sql Server ve Access gibi veritabanı programlarında bir unique veya primary key olan s&uuml;tunun i&ccedil;indeki değerin otomatik artmasını kolaylıkla sağlayabiliriz. &Ouml;rneğin Sql Server i&ccedil;inde otomatik artan değerli bir s&uuml;tun oluşturmak i&ccedil;in ilgili s&uuml;tunun Identity Specification &ouml;zelliğini yes yapmak yeterlidir. Fakat Oracle i&ccedil;inde otomatik artan bir s&uuml;tun yapmak i&ccedil;in bu t&uuml;r se&ccedil;im yapılabilen bir kısım yoktur. Bu sebeble Oracle&rsquo;de otomatik artan bir s&uuml;tun oluşturmak i&ccedil;in &ouml;ncelikle bir Sequence tanımlanır. Ardından da bir trigger i&ccedil;erisinde bu sequence&rsquo;yi kullanarak otomatik artan bir s&uuml;tun yaparız. Şimdi gelin bu işi nasıl yapacağımızı g&ouml;relim.<o:p></o:p></font></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt">
	<span style="line-height: 115%; font-family: 'courier new'; font-size: 12pt"><font color="#000000">&Ouml;rneğin Oracle&rsquo;de Kullanıcı isimli bir tablomuzun i&ccedil;indeki Kullanıcı_Id s&uuml;tununu otomatik artan yapmak istediğimizi d&uuml;ş&uuml;n&uuml;rsek &ouml;ncelikle aşağıdaki gibi bir Sequence yazmamız gerekir.<o:p></o:p></font></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none">
	<span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">CREATE</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> </span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">SEQUENCE</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> SEQ_KULLANICIID<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none">
	<span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">START</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> </span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">WITH</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> </span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: maroon; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">1</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt">
	<span lang="EN-US" style="line-height: 115%; font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">INCREMENT</span><span lang="EN-US" style="line-height: 115%; font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> </span><span lang="EN-US" style="line-height: 115%; font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">BY</span><span lang="EN-US" style="line-height: 115%; font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> </span><span lang="EN-US" style="line-height: 115%; font-family: 'courier new'; background: white; color: maroon; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">1</span><span lang="EN-US" style="line-height: 115%; font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">;</span><span lang="EN-US" style="line-height: 115%; font-family: 'courier new'; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-ansi-language: en-us"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt">
	<span style="line-height: 115%; font-family: 'courier new'; font-size: 12pt"><font color="#000000">SEQ_KULLANICIID isimli bir sequence oluşturduk. Bu sequence 1&rsquo;den başlayacak ve birer birer artacak. Şimdi de aşağıdaki gibi bir trigger yani tetikleyici yazalım.<o:p></o:p></font></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none">
	<span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">CREATE</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> </span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">OR</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> </span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">REPLACE</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> </span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">TRIGGER</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> TBI_KULLANICIID<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none">
	<span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">BEFORE</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> </span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">INSERT</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> </span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">ON</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> </span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: olive; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">TBL_KULLANICI</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none">
	<span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">FOR</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> </span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">EACH</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> </span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">ROW</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none">
	<span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">BEGIN</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none">
	<span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">SELECT</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> SEQ_KULLANICIID</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">.NEXTVAL</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> </span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">INTO</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> </span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">:NEW.</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">KULLANICI_ID </span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">FROM</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"> DUAL</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">;</span><span lang="EN-US" style="font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt">
	<span lang="EN-US" style="line-height: 115%; font-family: 'courier new'; background: white; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">END;</span><span lang="EN-US" style="line-height: 115%; font-family: 'courier new'; color: blue; font-size: 12pt; mso-fareast-language: tr; mso-ansi-language: en-us"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt">
	<font color="#000000"><span style="line-height: 115%; font-family: 'courier new'; font-size: 12pt">Oluşturmuş olduğum trigger&rsquo;a </span><span lang="EN-US" style="line-height: 115%; font-family: 'courier new'; background: white; color: black; font-size: 12pt; mso-fareast-language: tr; mso-highlight: white; mso-ansi-language: en-us">TBI_KULLANICIID</span></font><span lang="EN-US" style="line-height: 115%; font-family: 'courier new'; color: black; font-size: 12pt; mso-fareast-language: tr; mso-ansi-language: en-us"> adını verdim. TBL_KULLANICI isimli tabloma bir kayıt eklemeden &ouml;nce her bir satır i&ccedil;in az once oluşturduğumuz sequence&rsquo;yi &ccedil;alıştırır.Her yeni kullanıcı_id i&ccedil;in sequence yardımıyla değer bir artar. Bu şekilde oracle i&ccedil;inde otomatik artan bir s&uuml;tun oluşturulmuş olur. Oracle ile uğraşmaya başlayacaklar i&ccedil;in gerekli bir bilgi olduğunu d&uuml;ş&uuml;nd&uuml;ğ&uuml;mden paylaşmak istedim. Bir sonraki makalemde g&ouml;r&uuml;şmek dileğiyle. </span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt">
	&nbsp;</p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt">
	<span lang="EN-US" style="line-height: 115%; font-family: 'courier new'; color: black; font-size: 12pt; mso-fareast-language: tr; mso-ansi-language: en-us">G&ouml;rkem Sezgin.</span><span style="line-height: 115%; font-family: 'courier new'; font-size: 12pt"><o:p></o:p></span></p>]]></description></item><item><title><![CDATA[MVP Tasarım Deseni Nedir?]]></title><link><![CDATA[http://www.developermania.net/developermania/article.asp?katID=872]]></link><description><![CDATA[<p>
	&nbsp;</p>
<div>
	<span style="font-size:18.0pt">MVP Tasarım Deseni Nedir?</span></div>
<div>
	<span style="font-size:10.0pt;">MVP &lsquo;ye aslında tasarım desen demek pek dogru olmaz. O aslında bir &nbsp;architecture pattern</span><span style="color:black">&nbsp;&lsquo;dır.</span></div>
<div>
	<span style="font-size:
10.0pt;color:black">MVC ile ortak yanı; UI(kullanıcı aray&uuml;z&uuml; ile)&nbsp;iş mantıgını birbirinden ayırmaktır. Ş&ouml;yleki bir button click olayının altında bir metod tanımlayıp bunu UI i&ccedil;inde host etmek pek dogru olmaz. UI s&uuml;rekli değişebilir. Yada siz uygulamanızı web iken windows uygulamasına yada mobile bir uygulamaya &ccedil;evirmek isteyebilirsiniz. Bundan dolayıdırki yazacagınız uygulamanın hem mobile hem web hemde windows da &ccedil;alışabilecek şekilde entegre edilmesi gerekebilir. Bunu kısa s&uuml;rede başarmak zordur. Ve &ccedil;ogu zaman başarı d&uuml;ş&uuml;kt&uuml;r. Ama separation of concerns yaklaşımına g&ouml;re bu m&uuml;mk&uuml;nd&uuml;r. MVP bu felsefe &uuml;zerine kurulmuştur. Peki Model View Presenter nedir?</span></div>
<div>
	<b><span style="font-size:10.0pt;color:black">M(Model) :</span></b>&nbsp;<span style="font-size:10.0pt;
color:black">&nbsp;İş Mantığını ve veri işleme s&uuml;re&ccedil;lerini y&uuml;r&uuml;t&uuml;r. P (Presenter) tarafından g&ouml;nderilen emirlere g&ouml;re hareket eder. Bilgi işleme s&uuml;recinden sonra veriyi P&#39;ye, diğer modellere veya doğrudan V (View)&#39;ye g&ouml;nderir.</span></div>
<div>
	<b><span style="font-size:10.0pt;color:black">V(View)&nbsp;:</span></b><span style="font-size:10.0pt;
color:black">&nbsp;&nbsp;</span><span style="font-size:10.0pt;
color:black">Son kullanıcıya g&ouml;sterilecek olan verinin sunumu ile ilgilenir. V, bu bilgiyi P(Presenter) veya M&#39;den alır, aynı zamanda son kullanıcıdan gelen talepleri P&rsquo;ye iletir.</span></div>
<div>
	<b><span style="font-size:10.0pt;color:black">P(Prsenter) :</span></b><span style="font-size:
10.0pt;color:black">&nbsp;&nbsp;</span><span style="font-size:10.0pt;
color:black">Sistemin ana kısmıdır. Gelen talepleri kontrol eder ve sistemin diğer elemanlarının (M,V) bilgiyi uygun şekilde alıp, g&ouml;ndermelerini sağlar.</span></div>
<div>
	&nbsp;</div>
<div>
	<span style="font-size:10.0pt;color:black">Bir &ouml;nceki makalemi okuduysanız. Mantık olarak MVC ile aynıdır. Zaten temel ama&ccedil; UI ile iş mantıgını ayırmaktır. Bunu bir diagramla g&ouml;relim.</span></div>
<div>
	<img alt="" height="314" src="http://www.developermania.net/developermania/resimld/makaleresimler/mvpdiagram.gif" width="531" /></div>
<div>
	<font class="Apple-style-span" color="#000000" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br />
	</span></font></div>
<div>
	<span class="Apple-style-span" style="color: rgb(0, 0, 0); font-size: 13px; ">G&ouml;r&uuml;ld&uuml;ğ&uuml; &uuml;zere MVC ile aynı işlemi yapmaktadır. Fark neresinde bunun?</span></div>
<div>
	<span class="Apple-style-span" style="color: rgb(0, 0, 0); font-size: 13px; ">MVC(Model-View-Controller) yapısından farkı mvp pagecontroller olmasıdır. Nedemektir bu ? Sayfa yada form load olduğunda Web sayfası kontrol&uuml; presentera bırakır. Formun constructorında presenter devreye sokularak yapılır. &Ccedil;&uuml;nk&uuml; View (UI) kısmında Iview aray&uuml;z&uuml; page&rsquo;e implement edilmiş. Safya yada form bu aray&uuml;zden t&uuml;retilmiştir. Presenter ise Constructorunda Iview propertyisine sahiptir. Bundan dolayıdırki; Presenter dan bir nesne UI tarafında yaratılır ve View sınıfı bu aray&uuml;ze bağlanırsa kontrol sayfadan Presentera ge&ccedil;er...</span></div>
<div>
	<span class="Apple-style-span" style="font-family: monospace; line-height: 19px; white-space: pre; "><span style="color:#0600FF">public</span><span style="color:red">class</span><span style="color:black"> DomainView</span><span style="color:green">:</span><span style="color:black"> IDomainView</span></span></div>
<p>
	<divre style="line-height:14.4pt;vertical-align:top"><pre style="line-height:14.4pt;vertical-align:top"><span style="color:black">{</span></pre><pre style="line-height:14.4pt;vertical-align:top"><span style="color:black">&nbsp;&nbsp;&nbsp; </span><span style="color:#0600FF">private</span><span style="color:black"> IDomainPresenter domainPresenter</span><span style="color:green">;</span></pre><pre style="line-height:14.4pt;vertical-align:top"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0600FF">public</span><span style="color:black"> DomainView()</span></pre><pre style="line-height:14.4pt;vertical-align:top"><span style="color:black">&nbsp;&nbsp;&nbsp; {</span></pre><pre style="line-height:14.4pt;
vertical-align:top"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:#0600FF">this</span><span style="color:
black">.</span><span style="color:blue">domainPresenter</span><span style="color:green">=</span><span style="color:green">new</span><span style="color:black"> ConcreteDomainPresenter(</span><span style="color:#0600FF">this</span><span style="color:black">)</span><span style="color:green">;</span></pre><pre style="line-height:14.4pt;
vertical-align:top"><span style="color:black">&nbsp;&nbsp;&nbsp; }
</span><span class="Apple-style-span" style="color: rgb(0, 0, 0); ">}</span></pre>
	<p>
		<span style="color:black">ViewImplementation&rsquo;ın uygulanışı yukarıdaki &ouml;rnekte verilmiştir. IDomainView aray&uuml;z&uuml;nden implement alan DomaniView Constructorunda Presenter&rsquo;ın Constructorunu &ccedil;agırır</span><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:#0600FF">this</span><span style="color:
black">.</span><span style="color:blue">domainPresenter</span><span style="color:green">=</span><span style="color:green">new</span><span style="color:black"> ConcreteDomainPresenter(</span><span style="color:#0600FF">this</span><span style="color:black">)</span><span style="color:green">;</span><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-size: 13px; ">&nbsp;İle kontrol&uuml; Presentera devreder...</span><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-size: 13px; ">Şimdi Model kısmını g&ouml;relim. Bazen buna Domain de denir.</span></p>
	<divre style="line-height:14.4pt;vertical-align:top">
	<div>
		&nbsp;</div>
	<div>
		<font class="Apple-style-span" color="#000000" size="3"><span class="Apple-style-span" style="font-size: 13px;"><img alt="" height="258" src="http://www.developermania.net/developermania/resimld/makaleresimler/model.gif" width="489" /><br />
		</span></font></div>
	<div>
		&nbsp;</div>
	<div>
		<span style="font-size:10.0pt;color:black">&nbsp;Model kısmı yukardaki gibidir. Basit bir m&uuml;şteri takip programını bir adımı gibi d&uuml;ş&uuml;nelim.&nbsp;Şimdi Presenter kısmı nasıldır g&ouml;relim.Ama bundan &ouml;nce 3-N yapısına bakalım.</span></div>
	<div>
		&nbsp;</div>
	<div>
		<img alt="" height="650" src="http://www.developermania.net/developermania/resimld/makaleresimler/mvp2png.gif" width="320" /></div>
	<div>
		<span style="font-size:10.0pt;color:black">Presenter kısmını Constructoruna dikkat edin. ICustomerPresenter hangi sınıfa implement edilirse o sınıfın kontrolun&uuml; Presentera devredebiliriz demektir. Demek ki ben bir Web Page&rsquo;i yada Win Formu IcustomerPresenter aray&uuml;z&uuml;n&uuml; implement ederek Presenter tarafında kontrol edebilirim!&nbsp;</span></div>
	<div>
		&nbsp;</div>
	<div>
		<font class="Apple-style-span" color="#000000" size="3"><span class="Apple-style-span" style="font-size: 13px;"><span class="Apple-style-span" style="font-size: 12px; color: rgb(34, 34, 34); "><img alt="" height="697" src="http://www.developermania.net/developermania/resimld/makaleresimler/presenter.gif" style="cursor: default; " width="716" /></span></span></font></div>
	<div>
		&nbsp;</div>
	<div>
		<span class="Apple-style-span" style="color: rgb(0, 0, 0); font-size: 13px; ">Şimdi bunu UI tarafında nasıl yapıyoruz bakalım. IcustomerPresenter&rsquo;ı implement ediyoruz. CustomerPresenter dan t&uuml;retilen nesne IcustomerPresenter tipinde bir adet sınıf istemektedir. Bizde Form1 sınıfını g&ouml;nderiyoruz.</span></div>
	<div>
		<font class="Apple-style-span" color="#000000" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br />
		</span></font></div>
	<div>
		<img alt="" height="758" src="http://www.developermania.net/developermania/resimld/makaleresimler/view.gif" width="673" /></div>
	<div>
		&nbsp;</div>
	<div>
		<span class="Apple-style-span" style="color: rgb(0, 0, 0); font-size: 13px; ">Implement ettiğimiz ICustomerPresenter aray&uuml;z&uuml; ne form nesnelerimi baglıyarak Kontrol&uuml; presentera devrediyorum.</span></div>
	<div>
		<span class="Apple-style-span" style="color: rgb(0, 0, 0); font-size: 13px; ">Bu sayede aşagıdaki exe &ccedil;alıştırlınca.</span></div>
	<div>
		&nbsp;</div>
	<div>
		<font class="Apple-style-span" color="#000000" size="3"><span class="Apple-style-span" style="font-size: 13px;"><span class="Apple-style-span" style="line-height: normal; font-size: 24px; color: rgb(34, 34, 34); "><img alt="" height="295" src="http://www.developermania.net/developermania/resimld/makaleresimler/form.jpg" style="cursor: default; " width="385" /></span></span></font></div>
	<div>
		<span class="Apple-style-span" style="color: rgb(0, 0, 0); font-size: 13px; ">Add butonuna basıldıgında kayıt işlemi ger&ccedil;ekleştirilir. Add metodu :</span></div>
	<div>
		<span style="font-size:10.0pt;Courier New&quot;;color:blue;">public</span><span style="font-size:10.0pt;Courier New&quot;;"> Form1()</span></div>
	<div style="text-autospace:none">
		<span style="font-size:10.0pt;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</span></div>
	<div style="text-autospace:none">
		&nbsp;</div>
	<div style="text-autospace:none">
		<span style="font-size:10.0pt;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; InitializeComponent();</span></div>
	<div style="text-autospace:none">
		<span style="font-size:10.0pt;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:blue">this</span>.mPresenter = <span style="color:blue">new</span> <span style="color:#2B91AF">CustomerPresenter</span>(<span style="color:blue">this</span>);</span></div>
	<div>
		<span style="font-size:10.0pt;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></div>
	<div>
		<span class="Apple-style-span" style="color: rgb(0, 0, 0); font-size: 13px; ">Yukarıdaki kod sayesinde presentera devredilmiştir.</span></div>
	<div>
		<span class="Apple-style-span" style="color: rgb(0, 0, 0); font-size: 13px; ">Sonu&ccedil; olarak;</span></div>
	<div>
		<span style="font-size:10.0pt;color:black">Model View Presenter </span><span style="font-size:9.0pt;
color:black">&nbsp;prensibi temel olarak projeyi;</span></div>
	<div>
		<span style="font-size:9.0pt;color:black">&nbsp;iş nesnelerini model (mvp.BusinessLayer)<br />
		sayfaları view (mvp.FormView)<br />
		ve bu ikisi arasındaki bağlantıyı kurup&nbsp;iş akışını kontrol eden kodun olduğu presenter(mvp.PresenterLayer)</span></div>
	<div>
		&nbsp;</div>
	<div>
		<strong><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: 'trebuchet MS'; -webkit-border-horizontal-spacing: 3px; -webkit-border-vertical-spacing: 3px; ">Kaynak&ccedil;a:&nbsp;<span class="Apple-style-span" style="line-height: normal; "><a href="http://en.wikipedia.org/wiki/Model-view-presenter" style="color: rgb(51, 51, 51); text-decoration: none; ">http://en.wikipedia.org/wiki/Model-view-presenter</a></span></span></strong></div>
	<div>
		<strong>Source Kod:&nbsp;http://www.2shared.com/file/ZcRFPhz6/MvpForm.html</strong></div>
	</divre></divre></p>]]></description></item><item><title><![CDATA[SQL Sub Query ve jo&#105;n işlemi arasında performans testi]]></title><link><![CDATA[http://www.developermania.net/developermania/article.asp?katID=871]]></link><description><![CDATA[<p>
	&nbsp;</p>
<p align="center" class="MsoNormal" style="text-align:center">
	<b style="mso-bidi-font-weight:
normal">Sub Query ve Join işlemi arasında performans testi</b></p>
<p class="MsoNormal" style="text-indent:35.4pt">
	<span style="mso-fareast-language:
TR;mso-no-proof:yes"><img height="157" src="http://farm5.static.flickr.com/4079/4862071475_af58d64639.jpg" v:shapes="Picture_x0020_1" width="500" /></span></p>
<p class="MsoNormal" style="text-indent:35.4pt">
	Elimizde iki tablolu bir yapı olduğunu d&uuml;ş&uuml;nelim, İş&ccedil;iler<span style="mso-spacerun:yes">&nbsp; </span>ve Y&ouml;neticiler. &Uuml;&ccedil; adet y&ouml;neticimiz ve bu y&ouml;neticilere bağlı 60000 &ccedil;alışanımız olsun. Y&ouml;neticilere ait olan iş&ccedil;i sayılarına baktığımızda :</p>
<p class="MsoNormal" style="text-indent:35.4pt">
	<o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="text-indent:35.4pt">
	Select COUNT(*),yoneticiID</p>
<p class="MsoNormal" style="text-indent:35.4pt">
	From tblIsci</p>
<p class="MsoNormal" style="text-indent:35.4pt">
	Group By yoneticiID</p>
<p class="MsoNormal" style="text-indent:35.4pt">
	Order By yoneticiID</p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse:collapse;border:none;mso-border-alt:solid windowtext .5pt;
 mso-yfti-tbllook:1184;mso-padding-alt:0cm 5.4pt 0cm 5.4pt">
	<tbody>
		<tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes">
			<td style="width:111.75pt;border:solid windowtext 1.0pt;
  mso-border-alt:solid windowtext .5pt;background:#E5E5E5;mso-shading:windowtext;
  mso-pattern:gray-10 auto;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="149">
				<p align="center" class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;
  text-align:center;line-height:normal">
					<b style="mso-bidi-font-weight:normal">Yonetici ID</b></p>
			</td>
			<td style="width:127.55pt;border:solid windowtext 1.0pt;
  border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:
  solid windowtext .5pt;background:#E5E5E5;mso-shading:windowtext;mso-pattern:
  gray-10 auto;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="170">
				<p align="center" class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;
  text-align:center;line-height:normal">
					<b style="mso-bidi-font-weight:normal">İş&ccedil;i Sayısı</b></p>
			</td>
		</tr>
		<tr style="mso-yfti-irow:1">
			<td style="width:111.75pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="149">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					1</p>
			</td>
			<td style="width:127.55pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="170">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					40000</p>
			</td>
		</tr>
		<tr style="mso-yfti-irow:2">
			<td style="width:111.75pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="149">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					2</p>
			</td>
			<td style="width:127.55pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="170">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					19999</p>
			</td>
		</tr>
		<tr style="mso-yfti-irow:3;mso-yfti-lastrow:yes">
			<td style="width:111.75pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="149">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					3</p>
			</td>
			<td style="width:127.55pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="170">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					1</p>
			</td>
		</tr>
	</tbody>
</table>
<p class="MsoNormal" style="text-indent:35.4pt">
	<o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="text-indent:35.4pt">
	İlk olarak 1 adet iş&ccedil;inin bağlı olduğu ID si 3 olan y&ouml;neti ve iş&ccedil;i bilgilerini sorgulayalım.</p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse:collapse;border:none;mso-border-alt:solid windowtext .5pt;
 mso-yfti-tbllook:1184;mso-padding-alt:0cm 5.4pt 0cm 5.4pt">
	<tbody>
		<tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes">
			<td style="width:28.05pt;border:solid windowtext 1.0pt;
  mso-border-alt:solid windowtext .5pt;background:#E5E5E5;mso-shading:windowtext;
  mso-pattern:gray-10 auto;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="37">
				<p align="center" class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;
  text-align:center;line-height:normal">
					<b style="mso-bidi-font-weight:normal">Sıra</b></p>
			</td>
			<td style="width:303.4pt;border:solid windowtext 1.0pt;
  border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:
  solid windowtext .5pt;background:#E5E5E5;mso-shading:windowtext;mso-pattern:
  gray-10 auto;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="405">
				<p align="center" class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;
  text-align:center;line-height:normal">
					<b style="mso-bidi-font-weight:normal">SQL Sorgusu</b></p>
			</td>
			<td style="width:129.15pt;border:solid windowtext 1.0pt;
  border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:
  solid windowtext .5pt;background:#E5E5E5;mso-shading:windowtext;mso-pattern:
  gray-10 auto;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="172">
				<p align="center" class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;
  text-align:center;line-height:normal">
					<b style="mso-bidi-font-weight:normal">Sonu&ccedil;</b></p>
			</td>
		</tr>
		<tr style="mso-yfti-irow:1">
			<td style="width:28.05pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="37">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					1</p>
			</td>
			<td style="width:303.4pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="405">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					SELECT isciID,</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun:yes">&nbsp;&nbsp; </span>isciAdi,</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>(SELECT yoneticiAdi</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span>FROM tblYonetici</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span>WHERE tblYonetici.yoneticiID =</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp; </span>tblIsci.yoneticiID)</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp; </span>FROM tblIsci</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp; </span>WHERE tblIsci.yoneticiID = 3</p>
			</td>
			<td style="width:129.15pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="172">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					Etkilenen Satır Sayısı : 1</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					Sorgu Maaliyeti : 0.0006</p>
			</td>
		</tr>
		<tr style="mso-yfti-irow:2;mso-yfti-lastrow:yes">
			<td style="width:28.05pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="37">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					2</p>
			</td>
			<td style="width:303.4pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="405">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					SELECT isciID,</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun:yes">&nbsp;&nbsp; </span>isciAdi,</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun:yes">&nbsp;&nbsp; </span>yoneticiAdi</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-spacerun:yes">&nbsp; </span>FROM tblIsci</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun:yes">&nbsp;&nbsp; </span>INNER JOIN tblYonetici ON (tblYonetici.yoneticiID =</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun:yes">&nbsp;&nbsp; </span>tblIsci.yoneticiID)</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					WHERE tblIsci.yoneticiID = 3</p>
			</td>
			<td style="width:129.15pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="172">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					Etkilenen Satır Sayısı : 1</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					Sorgu Maaliyeti : 0.0006</p>
			</td>
		</tr>
	</tbody>
</table>
<p class="MsoNormal">
	<o:p>&nbsp;</o:p></p>
<p class="MsoNormal">
	<span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Yukarıdaki 1 ve 2 numaralı testleri incelediğimizde etkilenen satır sayısı ve sorgu maaliyetleri aynı oldu. Şimdi birde etkilenen satır sayısı arttığında sorgu maaliyetinde bir değişme olacak mı ? bunu g&ouml;zlemleyelim.</p>
<p class="MsoNormal">
	<o:p>&nbsp;</o:p></p>
<p class="MsoNormal">
	<span style="mso-spacerun:yes">&nbsp;</span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse:collapse;border:none;mso-border-alt:solid windowtext .5pt;
 mso-yfti-tbllook:1184;mso-padding-alt:0cm 5.4pt 0cm 5.4pt">
	<tbody>
		<tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes">
			<td style="width:28.05pt;border:solid windowtext 1.0pt;
  mso-border-alt:solid windowtext .5pt;background:#E5E5E5;mso-shading:windowtext;
  mso-pattern:gray-10 auto;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="37">
				<p align="center" class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;
  text-align:center;line-height:normal">
					<b style="mso-bidi-font-weight:normal">Sıra</b></p>
			</td>
			<td style="width:282.15pt;border:solid windowtext 1.0pt;
  border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:
  solid windowtext .5pt;background:#E5E5E5;mso-shading:windowtext;mso-pattern:
  gray-10 auto;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="376">
				<p align="center" class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;
  text-align:center;line-height:normal">
					<b style="mso-bidi-font-weight:normal">SQL Sorgusu</b></p>
			</td>
			<td style="width:150.4pt;border:solid windowtext 1.0pt;
  border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:
  solid windowtext .5pt;background:#E5E5E5;mso-shading:windowtext;mso-pattern:
  gray-10 auto;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="201">
				<p align="center" class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;
  text-align:center;line-height:normal">
					<b style="mso-bidi-font-weight:normal">Sonu&ccedil;</b></p>
			</td>
		</tr>
		<tr style="mso-yfti-irow:1">
			<td style="width:28.05pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="37">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					3</p>
			</td>
			<td style="width:282.15pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="376">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					SELECT isciID,</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun:yes">&nbsp;&nbsp; </span>isciAdi,</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>(SELECT yoneticiAdi</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span>FROM tblYonetici</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span>WHERE tblYonetici.yoneticiID =</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp; </span>tblIsci.yoneticiID)</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp; </span>FROM tblIsci</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-spacerun:yes">&nbsp;</span><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span>WHERE tblIsci.yoneticiID = 1</p>
			</td>
			<td style="width:150.4pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="201">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					Etkilenen Satır Sayısı : 40000</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					Sorgu Maaliyeti : 4.326</p>
			</td>
		</tr>
		<tr style="mso-yfti-irow:2;mso-yfti-lastrow:yes">
			<td style="width:28.05pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="37">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					4</p>
			</td>
			<td style="width:282.15pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="376">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					SELECT isciID,</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun:yes">&nbsp;&nbsp; </span>isciAdi,</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun:yes">&nbsp;&nbsp; </span>yoneticiAdi</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-spacerun:yes">&nbsp; </span>FROM tblIsci</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun:yes">&nbsp;&nbsp; </span>INNER JOIN tblYonetici ON (tblYonetici.yoneticiID =</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun:yes">&nbsp;&nbsp; </span>tblIsci.yoneticiID)</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					WHERE tblIsci.yoneticiID = 1</p>
			</td>
			<td style="width:150.4pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="201">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					Etkilenen Satır Sayısı : 40000</p>
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					Sorgu Maaliyeti : 0.305</p>
			</td>
		</tr>
	</tbody>
</table>
<p class="MsoNormal">
	<o:p>&nbsp;</o:p></p>
<p class="MsoNormal">
	<span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>3 ve 4 numaralı testlerimize baktığımızda etkilenen satır sayıları eşit ve 40000, ama bu sefer sorgu maaliyetleri Join işleminde d&uuml;ş&uuml;k &ccedil;ıktı.</p>
<p class="MsoNormal">
	<o:p>&nbsp;</o:p></p>
<p class="MsoNormal">
	<span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Sonu&ccedil; olarak kullanacağımız sorgularda eğer farklı tablolardan veriler ile &ccedil;alışıyor ve etiklenecek olan satır sayısının b&uuml;y&uuml;k olacağını kestirebiliyorsak <b style="mso-bidi-font-weight:normal">Join</b> işlemlerini <b style="mso-bidi-font-weight:
normal">Sub Query </b>işlemlerine tercih etmeliyiz.</p>
]]></description></item><item><title><![CDATA[Bitmap ile Grafik Çizdirmek]]></title><link><![CDATA[http://www.developermania.net/developermania/article.asp?katID=870]]></link><description><![CDATA[<p>
	<b><span style="font-size:16.0pt;mso-ascii-font-family:
Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:Calibri;
mso-bidi-font-family:Calibri;color:#343434">.NET Micro Framework: Bitmap ile Grafik &Ccedil;izdirmek</span></b></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-align:justify;line-height:normal">
	<span style="mso-bidi-font-size:12.0pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">Bitmap sınıfı, Paint uygulamasında &ccedil;izilen grafiksel nesnelerin mikrodenetleyici ile &ccedil;izimini sağlar. Bitmap sınıfını kullanarak nokta, &ccedil;izgi, elips, dikd&ouml;rtgen &ccedil;izebilir, dikd&ouml;rtgenler &uuml;zerinde gradient efekti verebilir ve saydamlık değerini ayarlayabilirsiniz. Yine Bitmap sınıfını kullanarak değişik yazı tipi ve boyutlarda yazı yazdırmanız ve başka resim dosyalarını g&ouml;stermeniz m&uuml;mk&uuml;nd&uuml;r.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	&nbsp;</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<b><span style="font-size:12.0pt;mso-bidi-font-size:13.5pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">&Ccedil;alışma Mantığı</span></b></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-align:justify;line-height:normal">
	<span style="mso-bidi-font-size:12.0pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">.NET MF ile zengin grafiksel uygulamalar geliştirmek i&ccedil;in Window Application kullanmanız gerekir. Geliştireceğiniz uygulama birden &ccedil;ok ekrandan oluşmuyorsa ve basit bir yapıya sahipse, Console Application kullanarak da devam edebilirsiniz. Geliştirdiğiniz uygulamaları simulat&ouml;r yada ger&ccedil;ek cihaz &uuml;zerinde &ccedil;alıştırabilirsiniz. .NET MF 4 ile gelen simulat&ouml;r 320x240 piksel &ccedil;&ouml;z&uuml;n&uuml;rl&uuml;ğ&uuml;n&uuml; destekler. Genellikle geliştirme kitlerinde 320x240 yada 480x272 piksel &ccedil;&ouml;z&uuml;n&uuml;rl&uuml;ğ&uuml;nde ekranlar kullanılmaktadır.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-align:justify;line-height:normal">
	<span style="mso-bidi-font-size:12.0pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">Bitmap ile &ccedil;alışmak i&ccedil;in hedeflediğiniz cihazın ekran &ccedil;&ouml;z&uuml;n&uuml;rl&uuml;ğ&uuml;nde bir Bitmap nesnesi oluşturulur. Bu Bitmap &uuml;zerine istenilen &ccedil;izimler yapılır. Eklenen her &ccedil;izim, hafızadaki diğer grafiklerin &uuml;zerine eklenir. (Paint&#39;te &ccedil;izim yapar gibi.) İstenilen grafik elde edilince, Flush komutu ile hafızada oluşturulan Bitmap ekrana yansıtılır.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	&nbsp;</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<b><span style="font-size:12.0pt;mso-bidi-font-size:13.5pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">Bitmap Oluşturmak ve Ekrana Yansıtmak</span></b></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-align:justify;line-height:normal">
	<span style="mso-bidi-font-size:12.0pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">Bitmap nesnesi oluşturabilmek i&ccedil;in &ouml;ncelikle Visual Studio 2010&#39;da bir Console Application oluşturup, proje referansları arasına Microsoft.SPOT.Graphics.dll&#39;i ekleyelim. Program.cs&#39;in namespace&#39;leri arasına da &quot;using Microsoft.SPOT.Presentation.Media;&quot; satırını eklediğimizde &ccedil;izim yapmaya hazırız demektir.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">Bitmap</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434">&nbsp;bmp&nbsp;=&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:blue">new</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#2B91AF">Bitmap</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434">(320,&nbsp;240);<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-align:justify;line-height:normal">
	<span style="mso-bidi-font-size:12.0pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">Yukarıdaki satır ile ekran &ccedil;&ouml;z&uuml;n&uuml;rl&uuml;ğ&uuml;nde bir Bitmap oluşturduk. Bu bmp &uuml;zerine &ccedil;eşitli &ccedil;izimler yapacağız. Ekrana yansıtmak i&ccedil;in ise<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434">bmp.Flush();<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-align:justify;line-height:normal">
	<span style="mso-bidi-font-size:12.0pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">komutunu kullanacağız.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	&nbsp;</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<b><span style="font-size:12.0pt;mso-bidi-font-size:13.5pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">&Ccedil;izgi &Ccedil;izimi</span></b></p>
<table border="0" cellpadding="0" class="MsoNormalTable" style="width:546.75pt;
 mso-cellspacing:1.5pt;mso-yfti-tbllook:1184;mso-padding-alt:0cm 0cm 0cm 0cm" width="729">
	<tbody>
		<tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes">
			<td style="width:243.75pt;padding:0cm 0cm 0cm 0cm" valign="top" width="325">
				<img alt="-" height="240" src="http://developermania.net/developermania/resimld/makaleresimler/p38cizgiler.jpg" width="320" /></td>
			<td style="width:281.25pt;padding:0cm 0cm 0cm 0cm" valign="top" width="375">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-bidi-font-size:12.0pt;mso-fareast-font-family:&quot;Times New Roman&quot;;
  mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin">DrawLine komutu, iki nokta arasına &ccedil;izgi &ccedil;izdirir. &Ccedil;izginin rengi, kalınlığı, başlangı&ccedil; X ve Y koordinatı, bitiş X ve Y koordinatı parametrelerinin belirlenmesi gerekir.</span><span style="font-size:12.0pt;mso-fareast-font-family:
  &quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin"><o:p></o:p></span></p>
			</td>
		</tr>
	</tbody>
</table>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434">bmp.DrawLine(</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:#343434">.ColorFromRGB(255,&nbsp;0,&nbsp;0),&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Kırmızı&nbsp;renkte</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;1,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//1&nbsp;piksel&nbsp;kalınlığında</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;10,&nbsp;10,&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Bağlangı&ccedil;&nbsp;koordinatları&nbsp;X:10,&nbsp;Y:10</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;300,&nbsp;10);&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:green">//Bitiş&nbsp;koordinatları&nbsp;X:300,&nbsp;Y:10</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;<br />
	bmp.DrawLine(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#343434">.ColorFromRGB(0,&nbsp;255,&nbsp;0),&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Yeşil&nbsp;renkte</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;1,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//1&nbsp;piksel&nbsp;kalınlığında</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;10,&nbsp;20,&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Bağlangı&ccedil;&nbsp;koordinatları&nbsp;X:10,&nbsp;Y:20</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;200,&nbsp;20);&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:green">//Bitiş&nbsp;koordinatları&nbsp;X:200,&nbsp;Y:20</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	<br />
	bmp.DrawLine(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#343434">.ColorFromRGB(0,&nbsp;0,&nbsp;255),&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Mavi&nbsp;renkte</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;1,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//1&nbsp;piksel&nbsp;kalınlığında</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;10,&nbsp;30,&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Bağlangı&ccedil;&nbsp;koordinatları&nbsp;X:10,&nbsp;Y:30</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;100,&nbsp;30);&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:green">//Bitiş&nbsp;koordinatları&nbsp;X:100,&nbsp;Y:30</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	<br />
	bmp.Flush();&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:green">//bitmap&#39;i&nbsp;ekrana&nbsp;yansıtalım</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	&nbsp;</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<b><span style="font-size:12.0pt;mso-bidi-font-size:13.5pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">Rastgele Değişen Renkler</span></b></p>
<table border="0" cellpadding="0" class="MsoNormalTable" style="width:546.75pt;
 mso-cellspacing:1.5pt;mso-yfti-tbllook:1184;mso-padding-alt:0cm 0cm 0cm 0cm" width="729">
	<tbody>
		<tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes">
			<td style="width:243.75pt;padding:0cm 0cm 0cm 0cm" valign="top" width="325">
				<img alt="-" height="240" src="http://developermania.net/developermania/resimld/makaleresimler/p38renkler.gif" width="320" /></td>
			<td style="width:281.25pt;padding:0cm 0cm 0cm 0cm" valign="top" width="375">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-bidi-font-size:12.0pt;mso-fareast-font-family:&quot;Times New Roman&quot;;
  mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin">&Ouml;rnek kodda saniyede birka&ccedil; defa ekranın satır sayısı kadar rastgele renkte &ccedil;izgi oluşturulup ekrana yansıtılması g&ouml;sterilmiştir. Her g&uuml;ncellemede 240 x 3 kez (Her RGB kanalı i&ccedil;in) random değer &uuml;rettiği i&ccedil;in performans d&uuml;şmanı bir uygulamadır. Yalnızca &ouml;rnek i&ccedil;in kullanın.</span><span style="font-size:12.0pt;
  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
  mso-bidi-theme-font:minor-latin"><o:p></o:p></span></p>
			</td>
		</tr>
	</tbody>
</table>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">Random</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434">&nbsp;rnd&nbsp;=&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:blue">new</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#2B91AF">Random</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434">();<br />
	</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:blue">while</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434">&nbsp;(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:blue">true</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434">)<br />
	{<br />
	&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:blue">for</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434">&nbsp;(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:blue">int</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434">&nbsp;i&nbsp;=&nbsp;0;&nbsp;i&nbsp;&lt;&nbsp;239;&nbsp;i++)<br />
	&nbsp;&nbsp;&nbsp;&nbsp;{<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bmp.DrawLine(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434">.ColorFromRGB((</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:blue">byte</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434">)rnd.Next(256),&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Kırmızı&nbsp;değeri</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:blue">byte</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434">)rnd.Next(256),&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Yeşil&nbsp;değeri&nbsp;(1-256)</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:blue">byte</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434">)rnd.Next(256)),&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Mavi&nbsp;değeri&nbsp;(1-256)</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//1&nbsp;piksel&nbsp;kalınlığında</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0,&nbsp;i,&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//X:0,&nbsp;Y:i&nbsp;noktasından&nbsp;başlayan</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;320,&nbsp;i);&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//X:320,&nbsp;Y:i&nbsp;noktasında&nbsp;biten</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
	&nbsp;&nbsp;&nbsp;&nbsp;bmp.Flush();&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:green">//bitmap&#39;i&nbsp;ekrana&nbsp;yansıtalım</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">Thread</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434">.Sleep(100);<br />
	}</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	&nbsp;</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<b><span style="font-size:12.0pt;mso-bidi-font-size:13.5pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">Elips ve &Ccedil;ember &Ccedil;izimi</span></b></p>
<table border="0" cellpadding="0" class="MsoNormalTable" style="width:546.75pt;
 mso-cellspacing:1.5pt;mso-yfti-tbllook:1184;mso-padding-alt:0cm 0cm 0cm 0cm" width="729">
	<tbody>
		<tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes">
			<td style="width:243.75pt;padding:0cm 0cm 0cm 0cm" valign="top" width="325">
				<img alt="-" height="240" src="http://developermania.net/developermania/resimld/makaleresimler/p38elipsler.gif" width="320" /></td>
			<td style="width:281.25pt;padding:0cm 0cm 0cm 0cm" valign="top" width="375">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-bidi-font-size:12.0pt;mso-fareast-font-family:&quot;Times New Roman&quot;;
  mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin">Elips yada &ccedil;ember &ccedil;izmek i&ccedil;in DrawEllipse komutu kullanılır. Elipsin &ccedil;izgi rengi, merkez noktasının X ve Y koordinatları, genişlik ve y&uuml;kseklik parametreleri belirlenir.<o:p></o:p></span></p>
			</td>
		</tr>
	</tbody>
</table>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434">bmp.DrawEllipse(</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:#343434">.ColorFromRGB(255,&nbsp;255,&nbsp;255),&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Beyaz&nbsp;renkte&nbsp;&ccedil;izgi</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;160,&nbsp;120,&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:green">//Merkez&nbsp;noktası&nbsp;X:160,&nbsp;Y:120</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;150,&nbsp;60);&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:green">//Yatay:150&nbsp;piksel&nbsp;genişliğinde,&nbsp;Dikey&nbsp;60&nbsp;piksel&nbsp;y&uuml;ksekliğinde</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;<br />
	bmp.DrawEllipse(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#343434">.ColorFromRGB(255,&nbsp;255,&nbsp;255),&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Beyaz&nbsp;renkte&nbsp;&ccedil;er&ccedil;eve</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;160,&nbsp;120,&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:green">//Merkez&nbsp;noktası&nbsp;X:160,&nbsp;Y:120</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;40,&nbsp;40);&nbsp;&nbsp;</span><span style="font-size:
9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:green">//Yatay:40&nbsp;piksel&nbsp;genişliğinde,&nbsp;Dikey&nbsp;40&nbsp;piksel&nbsp;y&uuml;ksekliğinde</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	bmp.Flush();&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:green">//bitmap&#39;i&nbsp;ekrana&nbsp;yansıtalım</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	&nbsp;</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<b><span style="font-size:12.0pt;mso-bidi-font-size:13.5pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">Dikd&ouml;rtgen &Ccedil;izimi</span></b></p>
<table border="0" cellpadding="0" class="MsoNormalTable" style="width:546.75pt;
 mso-cellspacing:1.5pt;mso-yfti-tbllook:1184;mso-padding-alt:0cm 0cm 0cm 0cm" width="729">
	<tbody>
		<tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes">
			<td style="width:243.75pt;padding:0cm 0cm 0cm 0cm" valign="top" width="325">
				<img alt="-" height="240" src="http://developermania.net/developermania/resimld/makaleresimler/p38dikdortgen.jpg" width="320" /></td>
			<td style="width:281.25pt;padding:0cm 0cm 0cm 0cm" valign="top" width="375">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-bidi-font-size:12.0pt;mso-fareast-font-family:&quot;Times New Roman&quot;;
  mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin">Dikd&ouml;rtgen &ccedil;izimi, diğer şekillere g&ouml;re daha &ccedil;ok parametre gerektirir. &Ccedil;er&ccedil;eve rengi, kalınlığı, sol &uuml;st noktanın X ve Y koordinatları, sağ alt kontanın X ve Y koordinatları dışında gradient ve saydamlık değerleri de belirtilmelidir. Saydamlık değeri %0 (tam g&ouml;r&uuml;n&uuml;r) olacaksa Bitmap.OpacityOpaque olarak belirlenmelidir.<o:p></o:p></span></p>
			</td>
		</tr>
	</tbody>
</table>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434">bmp.DrawRectangle(</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434">.ColorFromRGB(0,&nbsp;200,&nbsp;0),&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//~Yeşil&nbsp;renkte&nbsp;&ccedil;izgi</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;1,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//1&nbsp;piksel&nbsp;kalınlığında</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;20,&nbsp;20,&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Başlangı&ccedil;&nbsp;koordinatları&nbsp;X:20,&nbsp;Y:20</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;280,&nbsp;200,&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:green">//Genişliği:280,&nbsp;Y&uuml;ksekliği:200&nbsp;piksel</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;5,&nbsp;5,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Kenarları&nbsp;Dikey:5,&nbsp;Yatay:5&nbsp;piksel&nbsp;yuvarlatılmış</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">Color</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434">.White,&nbsp;0,&nbsp;0,&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:green">//Gradient&nbsp;başlangı&ccedil;&nbsp;noktası:&nbsp;X:0,&nbsp;Y:0</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">Color</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434">.White,&nbsp;0,&nbsp;0,&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:green">//Gradient&nbsp;bitiş&nbsp;noktası:&nbsp;X:0,&nbsp;Y:0</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">Bitmap</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434">.OpacityOpaque);&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:green">//Saydamlık&nbsp;efekti&nbsp;katmadan&nbsp;(%100&nbsp;g&ouml;r&uuml;n&uuml;r)</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	bmp.Flush();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//bitmap&#39;i&nbsp;ekrana&nbsp;yansıtalım</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	&nbsp;</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<b><span style="font-size:12.0pt;mso-bidi-font-size:13.5pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">Gradient</span></b></p>
<table border="0" cellpadding="0" class="MsoNormalTable" style="width:546.75pt;
 mso-cellspacing:1.5pt;mso-yfti-tbllook:1184;mso-padding-alt:0cm 0cm 0cm 0cm" width="729">
	<tbody>
		<tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes">
			<td style="width:243.75pt;padding:0cm 0cm 0cm 0cm" valign="top" width="325">
				<img alt="-" height="240" src="http://developermania.net/developermania/resimld/makaleresimler/p38gradient.gif" width="320" /></td>
			<td style="width:281.25pt;padding:0cm 0cm 0cm 0cm" valign="top" width="375">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-bidi-font-size:12.0pt;mso-fareast-font-family:&quot;Times New Roman&quot;;
  mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin">Gradient, dikd&ouml;rtgen i&ccedil;inde ilk renkten ikinci renge doğru kayma efekti uygular. &Ouml;nce başlangı&ccedil; renginin RGB değerleri ve başlangı&ccedil; koordinatı belirlenir. Daha sonra ikinci renk ve bu renge doğru akışın koordinatı belirlenir. Belirtilen koordinatlar dikd&ouml;rtgenin dışında ise, o koordinatlar dikkate alınarak dikd&ouml;rtgen i&ccedil;erisine denk gelen renkler &ccedil;izilir. Gradient efektinin uygulanabilmesi i&ccedil;in kenar yuvarlatılma değerlerinin (corner rounding) 0 olması gereklidir.<o:p></o:p></span></p>
			</td>
		</tr>
	</tbody>
</table>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434">bmp.DrawRectangle(</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434">.ColorFromRGB(0,&nbsp;200,&nbsp;0),&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//~Yeşil&nbsp;renkte&nbsp;&ccedil;er&ccedil;eve</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;1,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//1&nbsp;piksel&nbsp;kalınlığında</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;10,&nbsp;10,&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Başlangı&ccedil;&nbsp;koordinatları&nbsp;X:10,&nbsp;Y:10</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;300,&nbsp;220,&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:green">//Genişliği:200,&nbsp;Y&uuml;ksekliği:220&nbsp;piksel</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;0,&nbsp;0,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Kenarları&nbsp;yuvarlatılmamış</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#343434">.ColorFromRGB(255,&nbsp;0,&nbsp;0),&nbsp;10,&nbsp;10,&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//X:10,&nbsp;Y:10&nbsp;noktasından</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#343434">.ColorFromRGB(0,&nbsp;255,&nbsp;0),&nbsp;300,&nbsp;220,&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//X:300,&nbsp;Y:220&nbsp;noktasına&nbsp;gradient</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">Bitmap</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434">.OpacityOpaque);&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:green">//Saydamlık&nbsp;efekti&nbsp;katmadan&nbsp;(%100&nbsp;g&ouml;r&uuml;n&uuml;r)</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	bmp.Flush();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//bitmap&#39;i&nbsp;ekrana&nbsp;yansıtalım</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	&nbsp;</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<b><span style="font-size:12.0pt;mso-bidi-font-size:13.5pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">Saydamlık Efekti</span></b></p>
<table border="0" cellpadding="0" class="MsoNormalTable" style="width:546.75pt;
 mso-cellspacing:1.5pt;mso-yfti-tbllook:1184;mso-padding-alt:0cm 0cm 0cm 0cm" width="729">
	<tbody>
		<tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes">
			<td style="width:243.75pt;padding:0cm 0cm 0cm 0cm" valign="top" width="325">
				<img alt="-" height="240" src="http://developermania.net/developermania/resimld/makaleresimler/p38saydamlik.gif" width="320" /></td>
			<td style="width:281.25pt;padding:0cm 0cm 0cm 0cm" valign="top" width="375">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-bidi-font-size:12.0pt;mso-fareast-font-family:&quot;Times New Roman&quot;;
  mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin">Dikd&ouml;rtgenler &uuml;zerinde 256 aşamalı saydamlık efekti uygulanabilir. (0: Tamamen saydam, 256: Tamamen g&ouml;r&uuml;n&uuml;r.) &Ouml;rneğimizde en altta ekran &ccedil;&ouml;z&uuml;n&uuml;rl&uuml;ğ&uuml; boyutunda beyaz bir dikd&ouml;rtgen &uuml;zerine 3 tane yarım saydamlıkta dikd&ouml;rtgen &ccedil;izdirilmiştir. Kesişen alanlar ise saydamlık sonucu renk değişimini g&ouml;sterir.<o:p></o:p></span></p>
			</td>
		</tr>
	</tbody>
</table>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:green">//Bitmap&#39;in&nbsp;tamamını&nbsp;beyaza&nbsp;boyayalım:</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	bmp.DrawRectangle(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#343434">.ColorFromRGB(0,&nbsp;0,&nbsp;0),<br />
	&nbsp;&nbsp;&nbsp;&nbsp;0,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;0,&nbsp;0,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;320,&nbsp;240,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;0,&nbsp;0,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#343434">.ColorFromRGB(255,&nbsp;255,&nbsp;255),&nbsp;0,&nbsp;0,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#343434">.ColorFromRGB(255,&nbsp;255,&nbsp;255),&nbsp;320,&nbsp;240,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">Bitmap</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434">.OpacityOpaque);<br />
	&nbsp;<br />
	</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Sol&nbsp;&uuml;stteki&nbsp;dikd&ouml;rtgen:</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	bmp.DrawRectangle(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#343434">.ColorFromRGB(0,&nbsp;0,&nbsp;0),<br />
	&nbsp;&nbsp;&nbsp;&nbsp;0,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;0,&nbsp;0,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;180,&nbsp;150,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;0,&nbsp;0,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#343434">.ColorFromRGB(255,&nbsp;0,&nbsp;0),&nbsp;0,&nbsp;0,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#343434">.ColorFromRGB(255,&nbsp;0,&nbsp;0),&nbsp;300,&nbsp;220,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;128);&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:green">//%50&nbsp;Saydamlık&nbsp;efekti</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;<br />
	</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Sol&nbsp;alttaki&nbsp;dikd&ouml;rtgen:</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	bmp.DrawRectangle(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#343434">.ColorFromRGB(0,&nbsp;0,&nbsp;0),<br />
	&nbsp;&nbsp;&nbsp;&nbsp;0,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;0,&nbsp;100,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;180,&nbsp;140,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;0,&nbsp;0,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#343434">.ColorFromRGB(0,&nbsp;255,&nbsp;0),&nbsp;0,&nbsp;0,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#343434">.ColorFromRGB(0,&nbsp;255,&nbsp;0),&nbsp;300,&nbsp;220,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;128);&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:green">//%50&nbsp;Saydamlık&nbsp;efekti</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;<br />
	</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Sağdaki&nbsp;dikd&ouml;rtgen:</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	bmp.DrawRectangle(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#343434">.ColorFromRGB(0,&nbsp;0,&nbsp;0),<br />
	&nbsp;&nbsp;&nbsp;&nbsp;0,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;140,&nbsp;0,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;200,&nbsp;240,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;0,&nbsp;0,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#343434">.ColorFromRGB(0,&nbsp;0,&nbsp;255),&nbsp;0,&nbsp;0,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:
&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:
Calibri;color:#343434">.ColorFromRGB(0,&nbsp;0,&nbsp;255),&nbsp;300,&nbsp;220,<br />
	&nbsp;&nbsp;&nbsp;&nbsp;128);&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:green">//%50&nbsp;Saydamlık&nbsp;efekti</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	&nbsp;<br />
	bmp.Flush();&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:green">//bitmap&#39;i&nbsp;ekrana&nbsp;yansıtalım</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	&nbsp;</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<b><span style="font-size:12.0pt;mso-bidi-font-size:13.5pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">Tek Noktanın Rengini Belirlemek</span></b></p>
<table border="0" cellpadding="0" class="MsoNormalTable" style="width:546.75pt;
 mso-cellspacing:1.5pt;mso-yfti-tbllook:1184;mso-padding-alt:0cm 0cm 0cm 0cm" width="729">
	<tbody>
		<tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes">
			<td style="width:243.75pt;padding:0cm 0cm 0cm 0cm" valign="top" width="325">
				<img alt="-" height="240" src="http://developermania.net/developermania/resimld/makaleresimler/p38nokta.jpg" width="320" /></td>
			<td style="width:281.25pt;padding:0cm 0cm 0cm 0cm" valign="top" width="375">
				<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal">
					<span style="mso-bidi-font-size:12.0pt;mso-fareast-font-family:&quot;Times New Roman&quot;;
  mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin">Şekil &ccedil;izdirmenin yanı sıra, tek bir noktanın rengini de belirlememiz m&uuml;mk&uuml;nd&uuml;r. Pikselin X ve Y koordinatları ve RGB renk parametrelerine g&ouml;re boyama işlemi ger&ccedil;ekleşir.<o:p></o:p></span></p>
			</td>
		</tr>
	</tbody>
</table>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:green">//X:100,&nbsp;Y:100&nbsp;noktasını&nbsp;beyaza&nbsp;boyayalım:</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	bmp.SetPixel(100,&nbsp;100,&nbsp;</span><span style="font-size:9.0pt;
font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-bidi-font-family:Calibri;color:#2B91AF">ColorUtility</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434">.ColorFromRGB(255,&nbsp;255,&nbsp;255));<br />
	bmp.Flush();&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:green">//bitmap&#39;i&nbsp;ekrana&nbsp;yansıtalım</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	&nbsp;</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<b><span style="font-size:12.0pt;mso-bidi-font-size:13.5pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">Tek Noktanın Rengini Almak</span></b></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-align:justify;line-height:normal">
	<span style="mso-bidi-font-size:12.0pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">Bitmap &uuml;zerindeki bir noktanın hangi renkte olduğunu &ouml;ğrenmek i&ccedil;in GetPixel komutu kullanılır. Bu komut Color t&uuml;r&uuml;nde değer d&ouml;nd&uuml;r&uuml;r.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:green">//X:100,&nbsp;Y:100&nbsp;noktasının&nbsp;rengini&nbsp;debug&nbsp;mesajı&nbsp;olarak&nbsp;alalım:</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434"><br />
	</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#2B91AF">Debug</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:#343434">.Print(bmp.GetPixel(100,&nbsp;100).ToString());<br />
	</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;color:green">//Visual&nbsp;Studio&nbsp;Immediate&nbsp;Window&#39;da&nbsp;g&ouml;r&uuml;necek&nbsp;değer:&nbsp;16777215</span></p>
]]></description></item><item><title><![CDATA[USB Fare Kullanımı]]></title><link><![CDATA[http://www.developermania.net/developermania/article.asp?katID=869]]></link><description><![CDATA[<p>
	&nbsp;</p>
<p class="posttitle">
	<b><span style="font-size:14.0pt;mso-bidi-font-size:18.0pt;
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#343434">.NET Micro Framework: USB Fare Kullanımı<o:p></o:p></span></b></p>
<p class="postbody" style="text-align:justify">
	<span style="font-size:11.0pt;
mso-bidi-font-size:12.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#343434">G&ouml;m&uuml;l&uuml; bir sistemin kullanıcı deneyimini zenginleştirmek i&ccedil;in sisteme fare entegre ederek masa&uuml;st&uuml; bilgisayarlarının kullanım kolaylığını yakalayabiliriz. .NET Micro Framework ile USB fare entegrasyonu yapmamız son derece kolay olacaktır. &Ouml;rneğimizde mikrodenetleyiciye bağladığımız USB farenin hareket, buton ve tekerlek değerlerini sorgulayıp debug mesajı olarak yazdırmayı g&ouml;receğiz.<o:p></o:p></span></p>
<p class="postsubtitle">
	<span style="font-size:14px;"><b><span style="mso-bidi-font-size:14.0pt;font-family:
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#343434">&Ouml;ngereksinimler</span></b></span><b><span style="mso-bidi-font-size:14.0pt;font-family:
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#343434"><o:p></o:p></span></b></p>
<p class="postbody" style="text-align:justify">
	<span style="font-size:11.0pt;
mso-bidi-font-size:12.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#343434">Uygulamayı &ccedil;alıştıracağınız mikrodenetleyicinin .NET Micro Framework 4.0 yada 4.1 desteklemesi ve USB Host &ouml;zelliğinin bulunması gerekiyor. &Ouml;rnek kodları GHI Electronics&#39;in USB Host destekleyen cihazlarında &ccedil;alıştırabilirsiniz. (USBizi 144, EMX, Embedded Master ve FEZ).<o:p></o:p></span></p>
<p class="postsubtitle">
	<span style="font-size:14px;"><b><span style="mso-bidi-font-size:14.0pt;font-family:
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#343434">Uygulama Kodları</span></b></span><b><span style="mso-bidi-font-size:14.0pt;font-family:
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#343434"><o:p></o:p></span></b></p>
<p class="postbody" style="text-align:justify">
	<span style="font-size:11.0pt;
mso-bidi-font-size:12.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#343434">Visual Studio 2010 ile yeni bir .NET Micro Framework 4.0 Console Application oluşturduktan sonra, proje referanslarına GHIElectronics.NETMF.USBHost.dll, GHIElectronics.NETMF.System.dll ve GHIElectronics.NETMF.Hardware.USBizi.dll k&uuml;t&uuml;panelerini ekleyelim. (Mikrodenetleyiciniz .NET MF 4.0 ile &ccedil;alışıyorsa, proje &ouml;zelliklerinden Target Framework ayarını 4.0 olarak değiştirin). Sonrasında Program.cs dosyasına aşağıda a&ccedil;ıkladığım kodları yazalım.<o:p></o:p></span></p>
<pre><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">using</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;System;
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">using</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;System.Threading;
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">using</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;Microsoft.SPOT;
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">using</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;GHIElectronics.NETMF.USBHost;
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; "> 
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">namespace</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;MFUSBMouse
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">{
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">public</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">class</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">Program
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;{
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_Mouse</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;mouse;
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; "> 
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">public</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;Main()
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//USB&nbsp;Cihazı&nbsp;bağlandığında&nbsp;fırlayacak&nbsp;eventi&nbsp;belirleyelim:
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBHostController</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">.DeviceConnectedEvent&nbsp;
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_DeviceConnectionEventHandler</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">(USBHostController_DeviceConnectedEvent);
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; "> 
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Main&nbsp;Thread&#39;i&nbsp;uyutalım:
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">Thread</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">.Sleep(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">Timeout</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">.Infinite);
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; "> 
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//USB&nbsp;Cihaz&nbsp;bağlandığında&nbsp;fırlayacak&nbsp;event:
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;USBHostController_DeviceConnectedEvent(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_Device</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;device)
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">if</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;(device.TYPE&nbsp;==&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_DeviceType</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">.Mouse)
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Bağlanan&nbsp;cihaz&nbsp;fareyse&nbsp;Immediate&nbsp;Window&#39;da&nbsp;g&ouml;sterelim:
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">Debug</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">.Print(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#A31515">&quot;Fare&nbsp;algılandı.&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">);
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; "> 
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Fare&nbsp;cihazını&nbsp;oluşturalım:
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mouse&nbsp;=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_Mouse</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">(device);
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; "> 
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Fare&nbsp;durumunun&nbsp;taranacağı&nbsp;thread&#39;in&nbsp;&ouml;nceliğini&nbsp;ayarlayalım:
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mouse.InternalThreadPriority&nbsp;=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">ThreadPriority</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">.Normal;
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Highest&nbsp;değeri&nbsp;daha&nbsp;sık&nbsp;tarama&nbsp;yapacaktır,&nbsp;fakat&nbsp;diğer&nbsp;thread&#39;lere&nbsp;d&uuml;şen&nbsp;işlemci
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//zamanını&nbsp;d&uuml;ş&uuml;recektir.
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; "> 
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Farenin&nbsp;hareket&nbsp;edeceği&nbsp;alanın&nbsp;sınırlarını&nbsp;belirleyelim:
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mouse.SetCursorBounds(0,&nbsp;319,&nbsp;0,&nbsp;239);
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//İmle&ccedil;&nbsp;sınırlarını&nbsp;kullanacağınız&nbsp;ekranın&nbsp;&ccedil;&ouml;z&uuml;n&uuml;rl&uuml;ğ&uuml;ne&nbsp;g&ouml;re&nbsp;ayarlayabilirsiniz.
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Varsayılan&nbsp;değerler&nbsp;0&nbsp;ile&nbsp;512&nbsp;arasındadır.
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; "> 
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//İmlecin&nbsp;hızını&nbsp;ayarlayalım:
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mouse.Scale(1);
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; "> 
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Fare&nbsp;hareketinde&nbsp;fırlayacak&nbsp;event:
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mouse.MouseMove&nbsp;+=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_MouseEventHandler</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">(mouse_MouseMove);
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; "> 
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Herhangi&nbsp;bir&nbsp;butona&nbsp;tıklandığında&nbsp;fırlayacak&nbsp;event:
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mouse.MouseDown&nbsp;+=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_MouseEventHandler</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">(mouse_MouseDown);
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; "> 
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Basılı&nbsp;buton&nbsp;serbest&nbsp;bırakıldığında&nbsp;fırlayacak&nbsp;event:
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mouse.MouseUp&nbsp;+=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_MouseEventHandler</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">(mouse_MouseUp);
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; "> 
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Fare&nbsp;tekerleri&nbsp;hareket&nbsp;ettiğinde&nbsp;fırlayacak&nbsp;event:
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mouse.MouseWheel&nbsp;+=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_MouseEventHandler</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">(mouse_MouseWheel);
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; "> 
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Fare&nbsp;bağlantısı&nbsp;kesildiğinde&nbsp;fırlayacak&nbsp;event:
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mouse.Disconnected&nbsp;+=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_MouseEventHandler</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">(mouse_Disconnected);
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; "> 
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Fare&nbsp;hareketinde&nbsp;fırlayacak&nbsp;event:
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;mouse_MouseMove(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_Mouse</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;sender,&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_MouseEventArgs</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;args)
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">Debug</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">.Print(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#A31515">&quot;Pozisyon:&nbsp;&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;+&nbsp;sender.Cursor.X&nbsp;+&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#A31515">&quot;,&nbsp;&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;+&nbsp;sender.Cursor.Y&nbsp;+&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#A31515">&quot;,&nbsp;&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;+
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#A31515">&quot;Delta:&nbsp;&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;+&nbsp;args.DeltaPosition.X.ToString()&nbsp;+&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#A31515">&quot;,&nbsp;&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;+&nbsp;args.DeltaPosition.Y.ToString());
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Cursor&nbsp;X&nbsp;be&nbsp;Y&nbsp;değerleri,&nbsp;farenin&nbsp;yukarıda&nbsp;sınırlarını&nbsp;belirlediğimiz&nbsp;alan&nbsp;&uuml;zerindeki
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//pozisyon&nbsp;değerlerini&nbsp;d&ouml;nd&uuml;r&uuml;r.
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Delta&nbsp;değeri&nbsp;ise,&nbsp;sınırlara&nbsp;bağlı&nbsp;kalmaksızın&nbsp;farenin&nbsp;bir&nbsp;&ouml;nceki&nbsp;taramadan&nbsp;sonra
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//ne&nbsp;kadar&nbsp;hareket&nbsp;ettiğini&nbsp;g&ouml;sterir.
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; "> 
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Herhangi&nbsp;bir&nbsp;butona&nbsp;tıklandığında&nbsp;fırlayacak&nbsp;event:
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;mouse_MouseDown(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_Mouse</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;sender,&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_MouseEventArgs</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;args)
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">Debug</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">.Print(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#A31515">&quot;Buton&nbsp;Tıklandı:&nbsp;&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;+&nbsp;args.ChangedButton);
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; "> 
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Basılı&nbsp;buton&nbsp;serbest&nbsp;bırakıldığında&nbsp;fırlayacak&nbsp;event:
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;mouse_MouseUp(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_Mouse</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;sender,&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_MouseEventArgs</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;args)
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">Debug</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">.Print(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#A31515">&quot;Buton&nbsp;Serbest:&nbsp;&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;+&nbsp;args.ChangedButton);
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; "> 
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Fare&nbsp;tekerleri&nbsp;hareket&nbsp;ettiğinde&nbsp;fırlayacak&nbsp;event:
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;mouse_MouseWheel(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_Mouse</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;sender,&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_MouseEventArgs</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;args)
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">Debug</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">.Print(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#A31515">&quot;Tekerlek:&nbsp;&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;+&nbsp;args.DeltaPosition.ScrollWheelValue.ToString());
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:green">//Fare&nbsp;bağlantısı&nbsp;kesildiğinde&nbsp;fırlayacak&nbsp;event:
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;mouse_Disconnected(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_Mouse</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;sender,&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">USBH_MouseEventArgs</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;args)
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#2B91AF">Debug</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">.Print(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#A31515">&quot;Fare&nbsp;s&ouml;k&uuml;ld&uuml;.&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;color:#343434">);
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">&nbsp;&nbsp;&nbsp;&nbsp;}
</span><span class="Apple-style-span" style="color: rgb(52, 52, 52); font-family: 'Lucida Console'; ">}
</span></pre>
<p class="postsubtitle">
	<span style="font-size:14px;"><b><span style="mso-bidi-font-size:13.5pt;font-family:
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#343434">Debug Zamanı</span></b></span><b><span style="mso-bidi-font-size:13.5pt;font-family:
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#343434"><o:p></o:p></span></b></p>
<p class="postbody" style="text-align:justify">
	<span style="font-size:11.0pt;
mso-bidi-font-size:12.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#343434">Uygulamayı &ccedil;alıştırıp mikrodenetleyicinizin USB portuna fare bağladığınızda, Visual Studio Immediate Window&#39;da aşağıdaki gibi değerler g&ouml;r&uuml;necektir.<o:p></o:p></span></p>
<p class="postcode">
	<span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-bidi-font-family:Calibri;color:#343434">Fare algılandı.<br />
	Buton Tıklandı: 0<br />
	Buton Serbest: 0<br />
	Buton Tıklandı: 1<br />
	Buton Serbest: 1<br />
	Buton Tıklandı: 2<br />
	Buton Serbest: 2<br />
	Buton Tıklandı: 3<br />
	Buton Serbest: 3<br />
	Buton Tıklandı: 4<br />
	Buton Serbest: 4<br />
	Tekerlek: -5<br />
	Tekerlek: 4<br />
	Pozisyon: 0, 0, Delta: 0, 0<br />
	Pozisyon: 3, 0, Delta: 0, -1<br />
	Pozisyon: 10, 1, Delta: 1, 0<br />
	Pozisyon: 16, 2, Delta: 6, 1<br />
	Pozisyon: 25, 3, Delta: 9, 1<br />
	Pozisyon: 27, 3, Delta: 2, 0<br />
	Pozisyon: 29, 3, Delta: 2, 0<br />
	Pozisyon: 168, 0, Delta: -2, -8<br />
	Pozisyon: 167, 0, Delta: -1, -3<br />
	Pozisyon: 149, 0, Delta: -2, -5<br />
	Pozisyon: 268, 188, Delta: 0, 4<br />
	Pozisyon: 269, 193, Delta: 1, 5<br />
	Pozisyon: 270, 210, Delta: 0, 3<br />
	Pozisyon: 270, 213, Delta: 0, 3<br />
	Pozisyon: 270, 217, Delta: 0, 4<br />
	Fare s&ouml;k&uuml;ld&uuml;.<o:p></o:p></span></p>
]]></description></item><item><title><![CDATA[USB Klavye Kullanımı]]></title><link><![CDATA[http://www.developermania.net/developermania/article.asp?katID=868]]></link><description><![CDATA[<p>
	&nbsp;</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<b><span style="font-size:14.0pt;mso-bidi-font-size:18.0pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">.NET Micro Framework: USB Klavye Kullanımı<o:p></o:p></span></b></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt;
text-align:justify;line-height:normal">
	<span style="mso-bidi-font-size:12.0pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">.NET MF ile geliştirdiğimiz uygulamalara USB klavye bağlayarak kullanıcı girişini kolaylaştırabiliyoruz. Yapmamız gereken mikrodenetleyiciye USB klavye bağlandığında aktif olacak şekilde tuş eventleri oluşturmak. Sonrasında ise hangi tuşa basıldığını ve serbest bırakıldığını ilgili eventlerden yakalayarak uygulamamızda kullanıma hazır hale getireceğiz.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<b><span style="font-size:12.0pt;mso-ascii-font-family:
Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:Calibri;
mso-bidi-font-family:Calibri;color:#343434">&Ouml;ngereksinimler<o:p></o:p></span></b></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-align:justify;line-height:normal">
	<span style="mso-bidi-font-size:12.0pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">Uygulamayı &ccedil;alıştıracağınız mikrodenetleyicinin .NET Micro Framework 4.0 yada 4.1 desteklemesi ve USB Host &ouml;zelliğinin bulunması gerekiyor. &Ouml;rnek kodları GHI Electronics&#39;in USB Host destekleyen cihazlarında &ccedil;alıştırabilirsiniz. (USBizi 144, EMX, Embedded Master ve FEZ).<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<b><span style="font-size:12.0pt;mso-ascii-font-family:
Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:Calibri;
mso-bidi-font-family:Calibri;color:#343434">Uygulama Kodları<o:p></o:p></span></b></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-align:justify;line-height:normal">
	<span style="mso-bidi-font-size:12.0pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">Visual Studio 2010 ile yeni bir .NET Micro Framework 4.0 Console Application oluşturduktan sonra, proje referanslarına GHIElectronics.NETMF.USBHost.dll, GHIElectronics.NETMF.System.dll ve GHIElectronics.NETMF.Hardware.USBizi.dll k&uuml;t&uuml;panelerini ekleyelim. (Mikrodenetleyiciniz .NET MF 4.0 ile &ccedil;alışıyorsa, proje &ouml;zelliklerinden Target Framework ayarını 4.0 olarak değiştirin). Sonrasında Program.cs dosyasına aşağıda a&ccedil;ıkladığım kodları yazalım.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt">
	<span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">using</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;System;<br />
	</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">using</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;System.Threading;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">using</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;Microsoft.SPOT;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">using</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;GHIElectronics.NETMF.USBHost;<br />
	<br />
	<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">namespace</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;MFUSBKeyboard<br />
	{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">public</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">class</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">Program<br />
	<span class="Apple-style-span" style="color: rgb(52, 52, 52); ">&nbsp;&nbsp; &nbsp;{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_Keyboard</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;keyboard;<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">public</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;Main()<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//USB&nbsp;Cihaz&nbsp;bağlandığında&nbsp;fırlayacak&nbsp;eventi&nbsp;oluşturalım:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBHostController</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.DeviceConnectedEvent&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_DeviceConnectionEventHandler</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">(USBHostController_DeviceConnectedEvent);<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Main&nbsp;Thread&#39;i&nbsp;uyutalım:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">Thread</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Sleep(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">Timeout</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Infinite);<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//USB&nbsp;Cihaz&nbsp;bağlandığında&nbsp;fırlayacak&nbsp;event:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;USBHostController_DeviceConnectedEvent(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_Device</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;device)<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Bağlanan&nbsp;cihaz&nbsp;klavyeyse:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">if</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;(device.TYPE&nbsp;==&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_DeviceType</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Keyboard)<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Immediate&nbsp;Window&#39;a&nbsp;klavyenin&nbsp;algılandığını&nbsp;yazdıralım:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">Debug</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Print(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#A31515">&quot;Klavye&nbsp;algılandı.&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">);<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Klavye&nbsp;cihazını&nbsp;oluşturalım:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;keyboard&nbsp;=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_Keyboard</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">(device);<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Klavye&nbsp;taranma&nbsp;thread&#39;inin&nbsp;&ouml;nceliğini&nbsp;belirleyelim:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;keyboard.InternalThreadPriority&nbsp;=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">ThreadPriority</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Normal;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Thread&nbsp;&ouml;nceliğini&nbsp;Highest&nbsp;olarak&nbsp;ayarlarsanız,&nbsp;klavyenizin&nbsp;tuşları&nbsp;daha&nbsp;sık<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//taranacak,&nbsp;fakat&nbsp;uygulamanızdaki&nbsp;diğer&nbsp;thread&#39;lere&nbsp;ayrılan&nbsp;işlemci&nbsp;zamanı<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//azalacaktır.&nbsp;Lowest&nbsp;ayarı&nbsp;ise&nbsp;klavyeyi&nbsp;daha&nbsp;az&nbsp;sıklıkla&nbsp;tarayıp&nbsp;diğer<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//thread&#39;lere&nbsp;ayrılan&nbsp;işlemci&nbsp;zamanını&nbsp;arttıracaktır.<br />
	<span class="Apple-style-span" style="color: rgb(52, 52, 52); ">&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Klavyede&nbsp;bir&nbsp;tuşa&nbsp;basıldığında&nbsp;fırlayacak&nbsp;event:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;keyboard.CharDown&nbsp;+=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_KeyboardEventHandler</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">(keyboard_CharDown);<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Basılan&nbsp;tuş&nbsp;serbest&nbsp;bırakıldığında&nbsp;fırlayacak&nbsp;event:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;keyboard.CharUp&nbsp;+=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_KeyboardEventHandler</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">(keyboard_CharUp);<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Klavye&nbsp;cihazı&nbsp;s&ouml;k&uuml;ld&uuml;ğ&uuml;nde&nbsp;fırlayacak&nbsp;event:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;keyboard.Disconnected&nbsp;+=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_KeyboardEventHandler</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">(keyboard_Disconnected);<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Tuşa&nbsp;basıldığında,&nbsp;ilgili&nbsp;tuşu&nbsp;ACSII&#39;ye&nbsp;&ccedil;evirecek&nbsp;event:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;keyboard_CharDown(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_Keyboard</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;sender,&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_KeyboardEventArgs</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;args)<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">Debug</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Print(args.KeyAscii.ToString());<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Serbest&nbsp;bırakılan&nbsp;tuşu&nbsp;ASCII&nbsp;olarak&nbsp;bildirecek&nbsp;event:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;keyboard_CharUp(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_Keyboard</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;sender,&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_KeyboardEventArgs</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;args)<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">Debug</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Print(args.KeyAscii.ToString());<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Klavye&nbsp;cihazı&nbsp;s&ouml;k&uuml;ld&uuml;ğ&uuml;nde&nbsp;fırlayacak&nbsp;event:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;keyboard_Disconnected(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_Keyboard</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;sender,&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_KeyboardEventArgs</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;args)<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">Debug</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Print(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#A31515">&quot;Klavye&nbsp;s&ouml;k&uuml;ld&uuml;.&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">);<br />
	<span style="mso-spacerun:yes">&nbsp;&nbsp; &nbsp; &nbsp;</span>&nbsp;&nbsp;}<br />
	&nbsp;&nbsp; &nbsp;}<br />
	}</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<b><span style="font-size:12.0pt;mso-ascii-font-family:
Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:Calibri;
mso-bidi-font-family:Calibri;color:#343434">Debug Zamanı<o:p></o:p></span></b></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-align:justify;line-height:normal">
	<span style="mso-bidi-font-size:12.0pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434">Uygulamayı &ccedil;alıştırıp mikrodenetleyicinizin USB portuna klavye bağladığınızda, Visual Studio Immediate Window&#39;da aşağıdaki gibi değerler g&ouml;r&uuml;necektir.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434">Klavye algılandı.<br />
	N<br />
	E<br />
	T<br />
	M<br />
	F<br />
	4<br />
	Klavye s&ouml;k&uuml;ld&uuml;.<o:p></o:p></span></p>
<p class="MsoNormal">
	<o:p>&nbsp;</o:p></p>
]]></description></item><item><title><![CDATA[USB Gamepad Kullanımı]]></title><link><![CDATA[http://www.developermania.net/developermania/article.asp?katID=865]]></link><description><![CDATA[<p>
	&nbsp;</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt;
text-align:justify;line-height:normal">
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;"><span style="color: rgb(52, 52, 52); ">.NET MF ile geliştirdiğimiz sistemlere birka&ccedil; adımda gamepad entegre ederek kullanım kolaylığı sağlamamız m&uuml;mk&uuml;nd&uuml;r. &Ouml;rneğimizde USB portuna bağladığımız bir gamepadin analog ve buton değerlerini yakalayıp debug ekranına yazdıracağız. Bu uygulamayı servo motor&nbsp;ve step motor&nbsp;kontrol&uuml;n&uuml; anlattığım uygulamalarla birleştirerek, joystick ile robot kolları ve bir&ccedil;ok mekanizmayı kontrol edebilirsiniz.</span></span></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt;
text-align:justify;line-height:normal">
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;"><span style="color: rgb(52, 52, 52); "><span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; font-size: 16px; "><b><span style="color: rgb(52, 52, 52); ">&Ouml;ngereksinimler</span></b></span></span></span></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-align:justify;line-height:normal">
	<span style="font-size:14px;"><span style="color: rgb(52, 52, 52); ">Uygulamayı &ccedil;alıştıracağınız mikrodenetleyicinin .NET Micro Framework 4.0 yada 4.1 desteklemesi ve USB Host &ouml;zelliğinin bulunması gerekiyor. &Ouml;rnek kodları GHI Electronics&#39;in USB Host destekleyen cihazlarında &ccedil;alıştırabilirsiniz. (USBizi 144, EMX, Embedded Master ve FEZ).</span></span><span style="font-size:12.0pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<span style="font-size:16px;"><b><span style="color: rgb(52, 52, 52); ">Uygulama Kodları</span></b></span><b><span style="font-size:13.5pt;mso-ascii-font-family:
Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:Calibri;
mso-bidi-font-family:Calibri;color:#343434"><o:p></o:p></span></b></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-align:justify;line-height:normal">
	<span style="font-size:14px;"><span style="color: rgb(52, 52, 52); ">Visual Studio 2010 ile yeni bir .NET Micro Framework 4.0 Console Application oluşturduktan sonra, proje referanslarına GHIElectronics.NETMF.USBHost.dll, GHIElectronics.NETMF.System.dll ve GHIElectronics.NETMF.Hardware.USBizi.dll k&uuml;t&uuml;panelerini ekleyelim. (Mikrodenetleyiciniz .NET MF 4.0 ile &ccedil;alışıyorsa, proje &ouml;zelliklerinden Target Framework ayarını 4.0 olarak değiştirin). Sonrasında Program.cs dosyasına aşağıda a&ccedil;ıkladığım kodları yazalım.</span></span><span style="font-size:12.0pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt">
	<span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">using</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;System;<br />
	</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">using</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;System.Threading;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">using</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;Microsoft.SPOT;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">using</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;GHIElectronics.NETMF.USBHost;<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">namespace</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;MFGamepad<br />
	{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">public</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">class</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">Program<br />
	<span class="Apple-style-span" style="color: rgb(52, 52, 52); ">&nbsp;&nbsp; &nbsp;{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_Joystick</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;joystick;<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">public</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;Main()<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//USB&nbsp;Portuna&nbsp;cihaz&nbsp;bağlandığında&nbsp;fırlayacak&nbsp;eventi&nbsp;oluşturalım:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBHostController</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.DeviceConnectedEvent&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_DeviceConnectionEventHandler</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">(USBHostController_DeviceConnectedEvent);<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Main&nbsp;Thread&#39;i&nbsp;uyutalım:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">Thread</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Sleep(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">Timeout</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Infinite);<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//USB&nbsp;Cihaz&nbsp;bağlanma&nbsp;eventi<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;USBHostController_DeviceConnectedEvent(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_Device</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;device)<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Bağlanan&nbsp;cihaz&nbsp;joystick&nbsp;ise<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">if</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;(device.TYPE&nbsp;==&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_DeviceType</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Joystick)<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Joystick&nbsp;bağlantısının olşutuğunu&nbsp;Immediate&nbsp;Window&#39;a&nbsp;yazdıralım:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">Debug</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Print(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#A31515">&quot;Joystick&nbsp;Bağlandı.&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">);<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Joystick&nbsp;cihazı&nbsp;instance&#39;ı&nbsp;oluşturalım:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;joystick&nbsp;=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_Joystick</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">(device);<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Joystick&nbsp;durumunu&nbsp;sorgulayacak&nbsp;thread&#39;in&nbsp;&ouml;nceliğini&nbsp;ayarlayalım:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;joystick.InternalThreadPriority&nbsp;=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">ThreadPriority</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Normal;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Highest,&nbsp;daha&nbsp;sık&nbsp;g&uuml;ncelleme&nbsp;yapar,&nbsp;fakat&nbsp;diğer&nbsp;kodlara&nbsp;ayrılan&nbsp;işlemci&nbsp;zamanını<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//azaltır.&nbsp;Lowest&nbsp;ise&nbsp;daha&nbsp;d&uuml;ş&uuml;k&nbsp;sıklıkta&nbsp;g&uuml;ncelleme&nbsp;yapar ve diğer&nbsp;kodlara<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//daha&nbsp;&ccedil;ok&nbsp;işlemci&nbsp;zamanı&nbsp;d&uuml;şer.<br />
	<span class="Apple-style-span" style="color: rgb(52, 52, 52); ">&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Sol&nbsp;Analog&#39;da&nbsp;hareket&nbsp;algılandığında&nbsp;fırlayacak&nbsp;event:<br />
	<span class="Apple-style-span" style="color: rgb(52, 52, 52); ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;joystick.JoystickXYMove&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_JoystickEventHandler</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">(joystick_JoystickXYMove);<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Sağ&nbsp;Analog&#39;da&nbsp;hareket&nbsp;algılandığında&nbsp;fırlayacak&nbsp;event:<br />
	<span class="Apple-style-span" style="color: rgb(52, 52, 52); ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;joystick.JoystickXY2Move&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_JoystickEventHandler</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">(joystick_JoystickXY2Move);<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Point&nbsp;of&nbsp;View&#39;da&nbsp;değişiklik&nbsp;olduğunda&nbsp;fırlayacak&nbsp;event:<br />
	<span class="Apple-style-span" style="color: rgb(52, 52, 52); ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;joystick.HatSwitchPress&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_JoystickEventHandler</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">(joystick_HatSwitchPress);<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Herhangi&nbsp;bir&nbsp;butona&nbsp;basıldığında&nbsp;fırlayacak&nbsp;event:<br />
	<span class="Apple-style-span" style="color: rgb(52, 52, 52); ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;joystick.JoystickButtonDown&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_JoystickEventHandler</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">(joystick_JoystickButtonDown);<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Herhangi&nbsp;bir&nbsp;buton&nbsp;serbest&nbsp;bırakıldığında&nbsp;fırlayacak&nbsp;event:<br />
	<span class="Apple-style-span" style="color: rgb(52, 52, 52); ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;joystick.JoystickButtonUp&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+=&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">new</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_JoystickEventHandler</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">(joystick_JoystickButtonUp);<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Sol&nbsp;Analog&#39;da&nbsp;hareket&nbsp;algılandığında&nbsp;fırlayacak&nbsp;event:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;joystick_JoystickXYMove(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_Joystick</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;sender,&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_JoystickEventArgs</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;args)<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">Debug</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Print(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#A31515">&quot;Sol&nbsp;Analog:&nbsp;&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;+&nbsp;sender.Cursor.X&nbsp;+&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#A31515">&quot;,&nbsp;&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;+&nbsp;sender.Cursor.Y);<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Sağ&nbsp;Analog&#39;da&nbsp;hareket&nbsp;algılandığında&nbsp;fırlayacak&nbsp;event:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;joystick_JoystickXY2Move(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_Joystick</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;sender,&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_JoystickEventArgs</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;args)<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">Debug</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Print(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#A31515">&quot;Sağ&nbsp;Analog:&nbsp;&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;+&nbsp;sender.Cursor2.X&nbsp;+&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#A31515">&quot;,&nbsp;&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;+&nbsp;sender.Cursor2.Y);<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}<br />
	<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Point&nbsp;of&nbsp;View&#39;da&nbsp;değişiklik&nbsp;olduğunda&nbsp;fırlayacak&nbsp;event:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;joystick_HatSwitchPress(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_Joystick</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;sender,&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_JoystickEventArgs</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;args)<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">Debug</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Print(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#A31515">&quot;POV:&nbsp;&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;+&nbsp;sender.HatSwitch.ToString());<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Herhangi&nbsp;bir&nbsp;butona&nbsp;basıldığında&nbsp;fırlayacak&nbsp;event:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;joystick_JoystickButtonDown(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_Joystick</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;sender,&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_JoystickEventArgs</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;args)<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">Debug</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Print(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#A31515">&quot;Buton&nbsp;Basıldı:&nbsp;&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;+&nbsp;args.ChangedButton);<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}<br />
	&nbsp;<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:green">//Herhangi&nbsp;bir&nbsp;buton&nbsp;serbest&nbsp;bırakıldığında&nbsp;fırlayacak&nbsp;event:<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">static</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:blue">void</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;joystick_JoystickButtonUp(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_Joystick</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;sender,&nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">USBH_JoystickEventArgs</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;args)<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{<br />
	<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; "><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#2B91AF">Debug</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">.Print(</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#A31515">&quot;Buton&nbsp;Bırakıldı:&nbsp;&quot;</span><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;mso-fareast-font-family:
&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Courier New&quot;;color:#343434">&nbsp;+&nbsp;args.ChangedButton);<br />
	&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}<br />
	&nbsp;&nbsp; &nbsp;}<br />
	}</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt">
	<span style="font-size:16px;"><b><span style="color: rgb(52, 52, 52); ">Debug Zamanı</span></b></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-align:justify;line-height:normal">
	<span style="font-size:14px;"><span style="color: rgb(52, 52, 52); ">Uygulamayı &ccedil;alıştırıp mikrodenetleyicinizin USB portuna gamepad bağladığınızda, Visual Studio Immediate Window&#39;da aşağıdaki gibi değerler g&ouml;r&uuml;necektir.</span></span><span style="font-size:12.0pt;
mso-ascii-font-family:Calibri;mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#343434"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:Calibri;
color:#343434">Joystick Bağlandı.<br />
	Sol Analog: 2, 2<br />
	Sağ Analog: -3, 2<br />
	Sol Analog: 106, -3<br />
	Sağ Analog: 54, -388<br />
	POV: 0<br />
	POV: 8<br />
	POV: 2<br />
	POV: 6<br />
	Buton Basıldı: 0<br />
	Buton Basıldı: 1<br />
	Buton Bırakıldı: 0<br />
	Buton Bırakıldı: 1<br />
	Buton Basıldı: 8<br />
	Buton Bırakıldı: 8<br />
	Buton Basıldı: 9<br />
	Buton Bırakıldı: 9<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal">
	<span style="font-size:14px;"><span style="color: rgb(52, 52, 52); ">Analog değerleri varsayılan olarak -512 ile 512 arasında değişir. Bu &ccedil;&ouml;z&uuml;n&uuml;rl&uuml;ğ&uuml; değiştirmek i&ccedil;in joystick.SetCursorBounds(); komutunu kullanabilirsiniz. POV ise boştayken 8, yukarıya basıldığında 0 ve saat y&ouml;n&uuml;ne doğru 45 derecede 1 artacak şekilde değer d&ouml;nd&uuml;recektir.</span></span></p>]]></description></item><item><title><![CDATA[ASP.Net MVC ile Spark View Engine Uygulamaları -3]]></title><link><![CDATA[http://www.developermania.net/developermania/article.asp?katID=864]]></link><description><![CDATA[<p>
	&nbsp;</p>
<p class="MsoNormal">
	<span style="line-height: 115%; font-size: 10pt">Bu yazımda, <b style="mso-bidi-font-weight: normal">Spark View Engine</b> ile <b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal">Layout</i></b>(Master Page) dosyalarını, nasıl kullanabileceğimizi inceleyeceğiz. S&ouml;z konusu konuyu, makale serimizin giriş b&ouml;l&uuml;m&uuml;nde, kısa bir şekilde incelemiştik.<o:p></o:p></span></p>
<p class="MsoNormal">
	<b style="mso-bidi-font-weight: normal"><span style="line-height: 115%; font-size: 10pt">Spark View Engine</span></b><span style="line-height: 115%; font-size: 10pt"> konusunu incelemeye başladığımda, aklıma ilk olarak <span style="mso-spacerun: yes">&nbsp;</span><span style="mso-spacerun: yes">&nbsp;</span><i style="mso-bidi-font-style: normal">&ldquo;Acaba Master Page kullanımı nasıl ?&rdquo;</i> sorusu takılmıştı. Konu ile ilgili araştırmadan ve uygulama geliştirirken yaşadığım hatadan </span><span style="line-height: 115%; font-size: 10pt">sonra, kullanım ile ilgili bazı maddeler oluştu. Şimdi bu maddeleri g&ouml;relim;<o:p></o:p></span></p>
<ul>
	<li>
		<span style="line-height: 115%; font-family: symbol; font-size: 10pt; mso-fareast-font-family: symbol; mso-bidi-font-family: symbol"><span style="mso-list: ignore"><span new="" times="">&nbsp;</span></span></span><span style="line-height: 115%; font-size: 10pt">Varsayılan <b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal">Layout</i></b> isimi olarak <i style="mso-bidi-font-style: normal">&ldquo;<b style="mso-bidi-font-weight: normal">Application.spark</b>&rdquo;</i> &lsquo;dır.<o:p></o:p></span></li>
	<li>
		<span style="line-height: 115%; font-family: symbol; font-size: 10pt; mso-fareast-font-family: symbol; mso-bidi-font-family: symbol"><span style="mso-list: ignore"><span new="" times="">&nbsp;</span></span></span><b style="mso-bidi-font-weight: normal"><span style="line-height: 115%; font-size: 10pt">Spark View Engine</span></b><span style="line-height: 115%; font-size: 10pt">, <b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal">Layout</i></b> dosyalarını <i style="mso-bidi-font-style: normal">View\Layouts</i> ya da <i style="mso-bidi-font-style: normal">View\Shared</i> dizinlerinde aramaktadır. Eğer bulamaz ise, &ccedil;oğu zaman boş sayfa geliyor.&nbsp;</span></li>
</ul>
<p class="MsoNormal">
	<span style="line-height: 115%; font-size: 10pt">Konu ile ilgili olarak, birka&ccedil; ipucu aldıktan sonra, <span style="mso-spacerun: yes">&nbsp;</span>temel anlamda nasıl ger&ccedil;ekleştire bileceğimizi inceleyelim.</span></p>
<p class="MsoNormal">
	&nbsp;</p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-bottom: medium none; border-left: medium none; border-collapse: collapse; border-top: medium none; border-right: medium none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt">
	<tbody>
		<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
			<td style="border-bottom: black 1pt solid; border-left: black 1pt solid; padding-bottom: 0cm; padding-left: 5.4pt; width: 460.6pt; padding-right: 5.4pt; border-top: black 1pt solid; border-right: black 1pt solid; padding-top: 0cm; mso-border-alt: solid black .5pt; mso-border-themecolor: text1" valign="top" width="614">
				<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
					<span courier="" mso-no-proof:="" style="font-size: 10pt">&lt;</span><span courier="" style="font-size: 10pt">html</span><span courier="" style="font-size: 10pt">&gt;<o:p></o:p></span></p>
				<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
					<span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;</span><span style="color: blue">&lt;</span><span style="color: maroon">head</span><span style="color: blue">&gt;<o:p></o:p></span></span></p>
				<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
					<span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;&nbsp; </span><span style="color: blue">&lt;</span><span style="color: maroon">use</span> <span style="color: red">name</span>=<span style="color: blue">&quot;Head&quot;/&gt;<o:p></o:p></span></span></p>
				<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
					<span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;</span><span style="color: blue"><span style="color: maroon">head</span><span style="color: blue">&gt;<o:p></o:p></span></span></span></p>
				<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
					<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;</span><span style="color: blue">&lt;</span><span style="color: maroon">body</span><span style="color: blue">&gt;<o:p></o:p></span></span></span></p>
				<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
					<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp; </span><span style="color: blue">&lt;</span><span style="color: maroon">use</span> <span style="color: red">name</span>=<span style="color: blue">&quot;Content&quot;/&gt;<o:p></o:p></span></span></span></p>
				<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
					<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;</span><span style="color: blue"><span style="color: maroon">body</span><span style="color: blue">&gt;<o:p></o:p></span></span></span></span></p>
				<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt">
					<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt">html</span><span courier="" style="font-size: 10pt">&gt;</span><o:p></o:p></span></span></span></p>
			</td>
		</tr>
	</tbody>
</table>
<p class="MsoNormal">
	&nbsp;</p>
<p class="MsoNormal">
	<span style="line-height: 115%; font-size: 10pt">Yukarıda, <b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal">Layout</i></b> tanımlamasını g&ouml;rm&uuml;ş bulunmaktayız. Hazırlamış olduğum kullanım, klasik olarak kullandığımız, <i style="mso-bidi-font-style: normal">Master Page</i> den farklı olarak <i style="mso-bidi-font-style: normal">&ldquo;runat=Server&rdquo;</i> kelimesi ve <i style="mso-bidi-font-style: normal">ContentPlaceHolder</i> kullanmadık. <i style="mso-bidi-font-style: normal">ContentPlaceHolder</i> yerine<span style="mso-spacerun: yes">&nbsp; </span><b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal"><use name="&#8221;Head&#8221;/"></use></i></b>şeklinde tanımlama yapmış olduk.(<b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal"><use gibi="" name="&#8221;ContentPlaceHolder" /></i></b>)<o:p></o:p></span></p>
<p>
	<use master="&#8221;Cms&#8221;/">
	<p>
		<use name="&#8221;Head&#8221;/">
		<p class="MsoNormal">
			<b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal"><span style="line-height: 115%; font-size: 10pt">Layout</span></i></b><span style="line-height: 115%; font-size: 10pt"> kullanımını g&ouml;rm&uuml;ş olduk. Diğer bir adım olarak Content sayfasında, Layout dosyasını nasıl kullanabileceğimizi inceleyelim.</span></p>
		<p class="MsoNormal">
			&nbsp;</p>
		<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-bottom: medium none; border-left: medium none; border-collapse: collapse; border-top: medium none; border-right: medium none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt">
			<tbody>
				<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
					<td style="border-bottom: black 1pt solid; border-left: black 1pt solid; padding-bottom: 0cm; padding-left: 5.4pt; width: 460.6pt; padding-right: 5.4pt; border-top: black 1pt solid; border-right: black 1pt solid; padding-top: 0cm; mso-border-alt: solid black .5pt; mso-border-themecolor: text1" valign="top" width="614">
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt">&lt;</span><span courier="" style="font-size: 10pt">content</span><span courier="" style="font-size: 10pt"> <span style="color: red">name</span>=<span style="color: blue">&rdquo;Head&rdquo;&gt;<o:p></o:p></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;&nbsp; </span><!-- (head)Sayfa içeriği --><o:p></o:p></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt">content</span><span courier="" style="font-size: 10pt">&gt;<o:p></o:p></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt">&lt;</span><span courier="" style="font-size: 10pt">content</span><span courier="" style="font-size: 10pt"> <span style="color: red">name</span>=<span style="color: blue">&quot;Content&quot;&gt;<o:p></o:p></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;</span><span style="mso-spacerun: yes">&nbsp;</span><span style="mso-spacerun: yes">&nbsp;</span><!-- (body)Sayfa içeriği --><span style="color: green"><o:p></o:p></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt">content</span><span courier="" style="font-size: 10pt">&gt;</span><o:p></o:p></span></span></p>
					</td>
				</tr>
			</tbody>
		</table>
		<p class="MsoNormal">
			&nbsp;</p>
		<p class="MsoNormal">
			<span style="line-height: 115%; font-size: 10pt">Standart olarak kullanmış olduğumuz Content Page(aspx) kullanımına benzese de, bazı farklılar g&ouml;stermektedir. Bunlar;<o:p></o:p></span></p>
		<ul>
			<li>
				<span style="line-height: 115%; font-size: 10pt">Master Page i&ccedil;ersinde bulunan Content alanın, sayfa i&ccedil;ersinde tanımlamak i&ccedil;in <b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal">&ldquo;<asp:content contentplaceholderid="MainContent" id="Content2" runat="server">&rdquo; </asp:content></i></b><span style="mso-spacerun: yes">&nbsp;</span>tanımlaması yerine<i style="mso-bidi-font-style: normal"> <b style="mso-bidi-font-weight: normal">&ldquo;<content name="&#8221;Head&#8221;"><asp:content contentplaceholderid="MainContent" id="Content2" runat="server"> &ldquo;</asp:content></content></b></i> şeklinde tanımlama yapmaktayız. <o:p></o:p></span></li>
			<li>
				<span style="line-height: 115%; font-family: symbol; font-size: 10pt; mso-fareast-font-family: symbol; mso-bidi-font-family: symbol"><span style="mso-list: ignore"><span new="" times="">&nbsp;</span></span></span><span style="line-height: 115%; font-size: 10pt">Kullanmış olduğumuz tanımlamalarda<b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal"> &ldquo;runat=server&rdquo;</i></b> kullanmıyoruz.<o:p></o:p></span></li>
		</ul>
		<content name="&#8221;Head&#8221;"><asp:content contentplaceholderid="MainContent" id="Content2" runat="server">
		<p class="MsoNormal">
			<span style="line-height: 115%; font-size: 10pt">&Uuml;zerinde &ccedil;alıştığınız projenizde, <b style="mso-bidi-font-weight: normal">Spark View Engin</b> kullanır iken, faklı bir Master kullanmak istiyor iseniz, Content sayfasını <b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal"><use master="&#8221;Cms&#8221;/"></use></i></b>şeklinde bir tanımlama yapabilirsiniz(<b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal"><use iniz="" master="&#8221;seçmek" /></i></b>). Bu b&ouml;l&uuml;m&uuml;ne kadar, temel kullanımları incelemiş olduk. Şimdi ise, k&uuml;&ccedil;&uuml;k bir senaryo geliştirerek, konuyu daha iyi anlayalım.</span></p>
		<use master="&#8221;Cms&#8221;/">
		<p class="MsoNormal">
			<img alt="" src="http://www.developermania.net/developermania/resimld/makaleresimler/proje-desing.jpg" /></p>
		<p class="MsoNormal">
			&nbsp;</p>
		<p class="MsoNormal">
			<span style="line-height: 115%; font-size: 10pt">&Uuml;zerinde &ccedil;alışacağımız senaryo i&ccedil;in,<b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal">ASP.Net MVC</i></b> projesi başlatalım.&Ccedil;alışmamızda kullanmak i&ccedil;in, yukarda da g&ouml;rm&uuml;ş olduğunuz gibi <b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal">Layouts</i></b> klas&ouml;r&uuml; oluşturalım.<o:p></o:p></span></p>
		<p class="MsoNormal">
			<i style="mso-bidi-font-style: normal"><span style="line-height: 115%; font-size: 10pt">Not: ilk makalemde, <b style="mso-bidi-font-weight: normal">Spark View Engine</b> projenize nasıl kuracağınızdan bahsettiğim i&ccedil;in, bu noktayı atlıyorum.<o:p></o:p></span></i></p>
		<p class="MsoNormal">
			<span style="line-height: 115%; font-size: 10pt">Hazırlayacağımı uygulama temel olması amacıyla, <b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal">Layouts</i></b> klas&ouml;r&uuml;ne <b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal">&ldquo;.spark&rdquo;</i></b> uzantılı iki dosya ekleyelim.</span></p>
		<p class="MsoNormal">
			<img alt="" src="http://www.developermania.net/developermania/resimld/makaleresimler/spark-view-engine-tree-design.jpg" /></p>
		<p class="MsoNormal">
			&nbsp;</p>
		<p class="MsoNormal">
			<span style="line-height: 115%; font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;</span>Varsayılan Layout kullanımını g&ouml;rmek i&ccedil;in, dosyaların birinin adını <b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal">&ldquo;Application.spark&rdquo;</i></b> olarak<span style="mso-spacerun: yes">&nbsp; </span>atayalım.Senaryomuz i&ccedil;in oluşturduğumuz Layout dosyaları , i&ccedil;in aşağıdaki i&ccedil;irikleri kullanalım.<o:p></o:p></span></p>
		<p class="MsoNormal">
			<b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal">Application.spark</i></b></p>
		<p class="MsoNormal">
			&nbsp;</p>
		<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-bottom: medium none; border-left: medium none; border-collapse: collapse; border-top: medium none; border-right: medium none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt">
			<tbody>
				<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
					<td style="border-bottom: black 1pt solid; border-left: black 1pt solid; padding-bottom: 0cm; padding-left: 5.4pt; width: 460.6pt; padding-right: 5.4pt; border-top: black 1pt solid; border-right: black 1pt solid; padding-top: 0cm; mso-border-alt: solid black .5pt; mso-border-themecolor: text1" valign="top" width="614">
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt">&lt;</span><span courier="" style="font-size: 10pt">html</span><span courier="" style="font-size: 10pt">&gt;<o:p></o:p></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;</span><span style="color: blue">&lt;</span><span style="color: maroon">head</span><span style="color: blue">&gt;<o:p></o:p></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: blue">&lt;</span><span style="color: maroon">title</span><span style="color: blue">&gt;</span> <span style="color: blue">&lt;</span><span style="color: maroon">use</span> <span style="color: red">content</span>=<span style="color: blue">&quot;Title&quot;/&gt;<span style="color: maroon">title</span><span style="color: blue">&gt;<o:p></o:p></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: blue">&lt;</span><span style="color: maroon">use</span> <span style="color: red">content</span>=<span style="color: blue">&quot;Head&quot;/&gt;<o:p></o:p></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;</span><span style="color: blue"><span style="color: maroon">head</span><span style="color: blue">&gt;<o:p></o:p></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;</span><span style="color: blue">&lt;</span><span style="color: maroon">body</span> <span style="color: red">style</span>=<span style="color: blue">&quot;background-color:Silver;&quot;&gt;<o:p></o:p></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: blue">&lt;</span><span style="color: maroon">use</span> <span style="color: red">content</span>=<span style="color: blue">&quot;Main&quot;/&gt;<o:p></o:p></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: teal">!{</span>Html.ActionLink(<span style="color: #a31515">&quot;Home&quot;</span>,<span style="color: #a31515">&quot;Index&quot;</span>)<span style="color: teal">}</span><span style="color: red">&nbsp;<o:p></o:p></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: teal">!{</span>Html.ActionLink(<span style="color: #a31515">&quot;About&quot;</span>,<span style="color: #a31515">&quot;About&quot;</span>)<span style="color: teal">}<o:p></o:p></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;</span><span style="color: blue"><span style="color: maroon">body</span><span style="color: blue">&gt;<o:p></o:p></span></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt">
							<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt">html</span><span courier="" style="font-size: 10pt">&gt;</span><o:p></o:p></span></span></span></span></p>
					</td>
				</tr>
			</tbody>
		</table>
		<p class="MsoNormal">
			&nbsp;</p>
		<p class="MsoNormal">
			<i style="mso-bidi-font-style: normal"><span style="line-height: 115%; font-size: 10pt">Not: Hazırladığımız <b style="mso-bidi-font-weight: normal">Layout</b> dosyalarında farklı oluşturmak i&ccedil;in, background-color &ouml;zelliklerini değiştirelim. .<o:p></o:p></span></i></p>
		<p class="MsoNormal">
			<b style="mso-bidi-font-weight: normal"><span style="mso-spacerun: yes">&nbsp;</span><i style="mso-bidi-font-style: normal">Html.spark</i></b></p>
		<p class="MsoNormal">
			&nbsp;</p>
		<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-bottom: medium none; border-left: medium none; border-collapse: collapse; border-top: medium none; border-right: medium none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt">
			<tbody>
				<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
					<td style="border-bottom: black 1pt solid; border-left: black 1pt solid; padding-bottom: 0cm; padding-left: 5.4pt; width: 460.6pt; padding-right: 5.4pt; border-top: black 1pt solid; border-right: black 1pt solid; padding-top: 0cm; mso-border-alt: solid black .5pt; mso-border-themecolor: text1" valign="top" width="614">
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt">&lt;</span><span courier="" style="font-size: 10pt">html</span><span courier="" style="font-size: 10pt">&gt;<o:p></o:p></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;</span><span style="color: blue">&lt;</span><span style="color: maroon">head</span><span style="color: blue">&gt;<o:p></o:p></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: blue">&lt;</span><span style="color: maroon">title</span><span style="color: blue">&gt;</span> <span style="color: blue">&lt;</span><span style="color: maroon">use</span> <span style="color: red">content</span>=<span style="color: blue">&quot;Title&quot;/&gt;<span style="color: maroon">title</span><span style="color: blue">&gt;<o:p></o:p></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: blue">&lt;</span><span style="color: maroon">use</span> <span style="color: red">content</span>=<span style="color: blue">&quot;Head&quot;/&gt;<o:p></o:p></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;</span><span style="color: blue"><span style="color: maroon">head</span><span style="color: blue">&gt;<o:p></o:p></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;</span><span style="color: blue">&lt;</span><span style="color: maroon">body</span> <span style="color: red">style</span>=<span style="color: blue">&quot;background-color:White;&quot;&gt;<o:p></o:p></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: blue">&lt;</span><span style="color: maroon">use</span> <span style="color: red">content</span>=<span style="color: blue">&quot;Main&quot;/&gt;<o:p></o:p></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: teal">!{</span>Html.ActionLink(<span style="color: #a31515">&quot;Home&quot;</span>,<span style="color: #a31515">&quot;Index&quot;</span>)<span style="color: teal">}</span><span style="color: red">&nbsp;<o:p></o:p></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: teal">!{</span>Html.ActionLink(<span style="color: #a31515">&quot;About&quot;</span>,<span style="color: #a31515">&quot;About&quot;</span>)<span style="color: teal">}<o:p></o:p></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;</span><span style="color: blue"><span style="color: maroon">body</span><span style="color: blue">&gt;<o:p></o:p></span></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt">
							<span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt">html</span><span courier="" style="font-size: 10pt">&gt;</span><o:p></o:p></span></span></span></span></p>
					</td>
				</tr>
			</tbody>
		</table>
		<p class="MsoNormal">
			&nbsp;</p>
		<p class="MsoNormal">
			<span style="line-height: 115%; font-size: 10pt"><o:p>&nbsp;</o:p></span><b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal"><span style="line-height: 115%; font-size: 10pt">Layout</span></i></b><span style="line-height: 115%; font-size: 10pt"> dosyalarını oluşturduktan sonra, ikici adıma ge&ccedil;elim. Bu adımda, <b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal">Layout</i></b> dosyalarını kullanacak olan, Content sayfalarını hazırlayalım.</span></p>
		<p class="MsoNormal">
			<i style="mso-bidi-font-style: normal"><span style="line-height: 115%; font-size: 10pt">Not: Varsayılan <b style="mso-bidi-font-weight: normal">Layout</b>(<b style="mso-bidi-font-weight: normal">Application</b>) dosyası, kullanımı i&ccedil;in her hangi bir tanımlama yapmamıza gerek bulunmamaktadır.</span></i></p>
		<p class="MsoNormal">
			&nbsp;</p>
		<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-bottom: medium none; border-left: medium none; border-collapse: collapse; border-top: medium none; border-right: medium none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt">
			<tbody>
				<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
					<td style="border-bottom: black 1pt solid; border-left: black 1pt solid; padding-bottom: 0cm; padding-left: 5.4pt; width: 460.6pt; padding-right: 5.4pt; border-top: black 1pt solid; border-right: black 1pt solid; padding-top: 0cm; mso-border-alt: solid black .5pt; mso-border-themecolor: text1" valign="top" width="614">
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt">&lt;</span><span courier="" style="font-size: 10pt">content</span><span courier="" style="font-size: 10pt"> <span style="color: red">name</span>=<span style="color: blue">&quot;Title&quot;&gt;<o:p></o:p></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Home Page<o:p></o:p></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt">content</span><span courier="" style="font-size: 10pt">&gt;<o:p></o:p></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt">&lt;</span><span courier="" style="font-size: 10pt">content</span><span courier="" style="font-size: 10pt"> <span style="color: red">name</span>=<span style="color: blue">&quot;Head&quot;&gt;<o:p></o:p></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><o:p>&nbsp;</o:p></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt">content</span><span courier="" style="font-size: 10pt">&gt;<o:p></o:p></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt">&lt;</span><span courier="" style="font-size: 10pt">content</span><span courier="" style="font-size: 10pt"> <span style="color: red">name</span>=<span style="color: blue">&quot;Main&quot;&gt;<o:p></o:p></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: blue">&lt;</span><span style="color: maroon">h2</span><span style="color: blue">&gt;</span><span style="color: teal">${</span>Html.Encode(ViewData[<span style="color: #a31515">&quot;Message&quot;</span>])<span style="color: teal">}</span><span style="color: blue"><span style="color: maroon">h2</span><span style="color: blue">&gt;<o:p></o:p></span></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span><span style="color: blue">&lt;</span><span style="color: maroon">p</span><span style="color: blue">&gt;<o:p></o:p></span></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>To learn more about ASP.NET MVC visit <span style="color: blue">&lt;</span><span style="color: maroon">a</span> <span style="color: red">href</span>=<span style="color: blue">&quot;http://asp.net/mvc&quot;</span> <span style="color: red">title</span>=<span style="color: blue">&quot;ASP.NET MVC Website&quot;&gt;</span>http://asp.net/mvc<span style="color: blue"><span style="color: maroon">a</span><span style="color: blue">&gt;</span>.<o:p></o:p></span></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span><span style="color: blue"><span style="color: maroon">p</span><span style="color: blue">&gt;<o:p></o:p></span></span></span></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt">content</span><span courier="" style="font-size: 10pt">&gt;<o:p></o:p></span></span></span></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><o:p>&nbsp;</o:p></span></span></span></span></span></span></p>
					</td>
				</tr>
			</tbody>
		</table>
		<p class="MsoNormal">
			<span class="Apple-style-span" style="line-height: 14px; font-size: 13px">Aşağıda, varsayılan Layout dışında, farklı bir <b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal">Layout</i></b> dosyasını nasıl kullanacağımız, &ouml;rneklendirilmiştir. Dikkat edecek olur iseniz,<span style="mso-spacerun: yes">&nbsp; </span>yukarıdaki kullanım şeklinde farklı olarak, kullanacağımız <b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal">Layout</i></b> dosyasını <b style="mso-bidi-font-weight: normal"><i style="mso-bidi-font-style: normal">&ldquo;<use master="&#8221;Html&#8221;" /> &ldquo;</i></b> şeklinde bir tanımlama ile se&ccedil;iyoruz.</span></p>
		<p class="MsoNormal">
			&nbsp;</p>
		<p class="MsoNormal">
			&nbsp;</p>
		<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-bottom: medium none; border-left: medium none; border-collapse: collapse; border-top: medium none; border-right: medium none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt">
			<tbody>
				<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
					<td style="border-bottom: black 1pt solid; border-left: black 1pt solid; padding-bottom: 0cm; padding-left: 5.4pt; width: 460.6pt; padding-right: 5.4pt; border-top: black 1pt solid; border-right: black 1pt solid; padding-top: 0cm; mso-border-alt: solid black .5pt; mso-border-themecolor: text1" valign="top" width="614">
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt">&lt;</span><span courier="" style="font-size: 10pt">use</span><span courier="" style="font-size: 10pt"> <span style="color: red">master</span>=<span style="color: blue">&quot;Html&quot;/&gt;<o:p></o:p></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt">&lt;</span><span courier="" style="font-size: 10pt">content</span><span courier="" style="font-size: 10pt"> <span style="color: red">name</span>=<span style="color: blue">&quot;Title&quot;&gt;<o:p></o:p></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>About Us<o:p></o:p></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt">content</span><span courier="" style="font-size: 10pt">&gt;<o:p></o:p></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt">&lt;</span><span courier="" style="font-size: 10pt">content</span><span courier="" style="font-size: 10pt"> <span style="color: red">name</span>=<span style="color: blue">&quot;Head&quot;&gt;<o:p></o:p></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><o:p>&nbsp;</o:p></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt">content</span><span courier="" style="font-size: 10pt">&gt;<o:p></o:p></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt">&lt;</span><span courier="" style="font-size: 10pt">content</span><span courier="" style="font-size: 10pt"> <span style="color: red">name</span>=<span style="color: blue">&quot;Main&quot;&gt;<o:p></o:p></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span><span style="color: blue">&lt;</span><span style="color: maroon">h2</span><span style="color: blue">&gt;</span>About<span style="color: blue"><span style="color: maroon">h2</span><span style="color: blue">&gt;<o:p></o:p></span></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span><span style="color: blue">&lt;</span><span style="color: maroon">p</span><span style="color: blue">&gt;<o:p></o:p></span></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Put content here.<o:p></o:p></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span><span style="color: blue"><span style="color: maroon">p</span><span style="color: blue">&gt;<o:p></o:p></span></span></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt">content</span><span courier="" style="font-size: 10pt">&gt;<o:p></o:p></span></span></span></span></span></span></p>
						<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt">
							<span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" style="font-size: 10pt"><span courier="" mso-no-proof:="" style="font-size: 10pt"><o:p>&nbsp;</o:p></span></span></span></span></span></p>
					</td>
				</tr>
			</tbody>
		</table>
		<p class="MsoNormal">
			&nbsp;</p>
		<p class="MsoNormal">
			<span style="line-height: 115%; font-size: 10pt">Senaryomuzu yazdıktan sonra, oyuncularımızı sahneye davet, </span><span style="line-height: 115%; font-family: wingdings; font-size: 10pt; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin; mso-char-type: symbol; mso-symbol-font-family: wingdings"><span style="mso-char-type: symbol; mso-symbol-font-family: wingdings">J</span></span><span style="line-height: 115%; font-size: 10pt"> ederek uygulamamızı &ccedil;alıştıralım.</span></p>
		<p class="MsoNormal">
			<strong><i style="mso-bidi-font-style: normal">Varsayılan Layout</i><br />
			</strong></p>
		<p class="MsoNormal">
			<img alt="" src="http://www.developermania.net/developermania/resimld/makaleresimler/spark-view-engine-layout-1.jpg" /></p>
		<p class="MsoNormal">
			&nbsp;</p>
		<p class="MsoNormal">
			<strong><i style="mso-bidi-font-style: normal">Se&ccedil;ime bağlı olarak, hazırladığımız Layout(Html Layout)</i><br />
			</strong></p>
		<p class="MsoNormal">
			<img alt="" src="http://www.developermania.net/developermania/resimld/makaleresimler/spark-view-engine-layout-2.jpg" /></p>
		<p class="MsoNormal">
			&nbsp;</p>
		<p class="MsoNormal">
			<span style="line-height: 115%; font-size: 10pt">Bu yazımda,<span style="mso-spacerun: yes">&nbsp; </span><b style="mso-bidi-font-weight: normal">Spark View Engine</b> uygulamalarında Layout kullanımını inceleyerek, basit bir uygulama geliştirdik. Konu ile ilgili sorularınızı </span><a href="mailto:info@ibrahimatay.org"><span style="line-height: 115%; font-size: 10pt">info@ibrahimatay.org</span></a><span style="line-height: 115%; font-size: 10pt"> mail adresi y&ouml;netebilirsiniz.<o:p></o:p></span></p>
		<p class="MsoNormal">
			<span style="line-height: 115%; font-size: 10pt">Herkese kolay gelsin.<o:p></o:p></span></p>
		<p class="MsoNormal">
			<b style="mso-bidi-font-weight: normal">IBRAHIM ATAY<o:p></o:p></b></p>
		<p class="MsoNormal">
			Blog:<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="http://www.ibrahimatay.org/">http://www.ibrahimatay.org</a></p>
		<p class="MsoNormal">
			Twitter : <a href="http://twitter.com/ibrahim_atay">http://twitter.com/ibrahim_atay</a></p>
		<p class="MsoNormal">
			&nbsp;</p>
		</use></asp:content><use master="&#8221;Cms&#8221;/">&nbsp;</use></content></use></p>
	<use name="&#8221;Head&#8221;/"><content name="&#8221;Head&#8221;"><use master="&#8221;Cms&#8221;/">
	<p>
		&nbsp;</p>
	</use></content></use></use></p>
]]></description></item><item><title><![CDATA[ASP.Net performansını yükseltmek ( max. verimlilik )]]></title><link><![CDATA[http://www.developermania.net/developermania/article.asp?katID=863]]></link><description><![CDATA[<p>
	Merhaba arkadaşlar bu yazımda ASP.Net formlarınızdan nasıl y&uuml;ksek performans alınmasından bahsedeceğim. &Ouml;ncelikle ASP.Net sayfalarınızda performans ilk başlarda &ccedil;ok &ouml;nemsenmeyecek bir konu gibi g&ouml;z&uuml;kse de, ileride hem kullanmak zorunda olduğunuz hem de yoğun sayfa istemleri başladığında sayfanızın performans problemi yaşamasını sağlayacağı bazı tekniklerin kullanılmaması veya alternatiflerine başvurulması gerekmektedir. &Ouml;rneğin, session bunların başında gelir. Sayfalar arası en iyi veri taşıma tekniklerinden biri olan session ileride &ccedil;ok ziyaret&ccedil;ili ya da &ccedil;ok işlemli asp.net formlarınızda ilk performans problemini &ccedil;ıkaracak teknikte session olacaktır.&nbsp;</p>
<p>
	Peki ne yapılmalıdır?</p>
<p>
	2 se&ccedil;eneğiniz var m&uuml;mk&uuml;n olduğu kadar session kullanmayacaksınız ya da sadece &ouml;nemli verilerin toplanması ve kontrol&uuml;nde session kullanıp kullanım bitiminde fonksiyon ya da method&#39;un hemen sonunda bunu sıfırlamanız tavsiye edilir. Genel olarak ise, session Web.Config &uuml;zerinden kapatılıp sadce kullanılacağı sayfalarda ASP.Net&#39;in&nbsp;&quot;EnableSessionState&quot; &ouml;zelliğiyle aktif hale getirilip diğer sayfalardan tasarruf edilebilir.</p>
<p>
	&nbsp;<span class="Apple-tab-span" style="white-space: pre"> </span>Bir diğer performans tekniğide &nbsp;IIS &uuml;zerinden ara bellekte işlem d&ouml;nmesini sağlamak. İstemci (ziyaret&ccedil;i) tarafından t&uuml;m istemlerin sunucuya gidip(request), geri d&ouml;nmesi(response) işlemleri her zaman olmamalıdır. Bu durum ileride ziyaret&ccedil;i-site ilişkisinde ciddi performans kayıplarına yol a&ccedil;acaktır. Bu normalde IIS&#39;de default aktif olarak gelir. Yani t&uuml;m işlemler 31KB&#39;lık arabelleği aşıp direkt olarak sunucuya gider ve ziyaret&ccedil;iye geri d&ouml;ner, bu bir d&ouml;ng&uuml;d&uuml;r.</p>
<p>
	&nbsp;Peki ne yapılmalıdır?</p>
<p>
	Hangi sayfada aşırı y&uuml;klenme olacağını d&uuml;ş&uuml;n&uuml;yorsanız Web.Config &uuml;zerinden dışarıdan arabelleğe erişimi aktif edip, o sayfalarda da tanımlama yapmanız gerekmektedir.</p>
<p>
	Web.Config&#39;den aktif etmek i&ccedil;in</p>
<p>
	<pages buffer="true">
	<p>
		Sayfalarda aktif etmek i&ccedil;in&nbsp;</p>
	<p>
		<strong>&lt;%@page buffer=&quot;true&quot;&gt;&nbsp;</strong></p>
	&lt;%@page buffer=&quot;true&quot;&gt;
	<p>
		&nbsp;</p>
	<p>
		<strong>&nbsp;Metin Giriş Kontrolleri</strong></p>
	<p>
		&Ccedil;oğu zaman ASP.Net sayfalarında kullanıcının eksiksiz ya da girilmesini istediğiniz gibi bilgilerin kuralına uygun girilmesi i&ccedil;in ASP.Net&#39;in hazır componentlerinden validators&#39;tan o an ihtiya&ccedil; duyulan kullanıp se&ccedil;ilebilir. Bu &ouml;zellikler ger&ccedil;ekten &ccedil;ok işe yarar sizi her bir kontrol i&ccedil;in 7-8 satırlık koddan kurtarır ki 50 ayrı veri girileceğini d&uuml;ş&uuml;nd&uuml;ğ&uuml;m&uuml;zde ciddi bir kod &ouml;beği ve d&uuml;zen karmaşasından kurtulmuş oluruz fakat sunucu taraflı bu kontroller yine ileride eş zamanlı sayfa istemleri ve &ccedil;ok sayılı sayfa işlemlerinde performans problemine yol a&ccedil;acaktır. &nbsp;</p>
	<p>
		Ne yapılmalı?</p>
	<p>
		Genel olarak yapmanız gereken &ccedil;ok validation gerektiren yapılardan ka&ccedil;ınınız. Validation yerine javascript ile alert verdirmek kısmen de olsa daha az performansı etkileyecektir.</p>
	<p>
		<strong>Veri &ccedil;ekme ve yayınlama Componentleri (Gridview, Datalist, Datagrid, Data Repeater)</strong></p>
	<p>
		Bu uygulamalar ASP.Net&#39;in en sevdiğim ve en kolay kullanıma sahip veri &ccedil;ekme ve yayınlama yapılarıdır. Hi&ccedil;bir sorgu yazmadan sadece mouse&#39;ınızı kullanarak dilediğiniz veriyi veritabanınızdan &ccedil;ekip yayınlayabilir, componentlerin hazır tasarımlarıyla g&ouml;rsel a&ccedil;ıdanda &ccedil;alışmanızı gerektirmez. Bunların yanı sıra y&ouml;netim paneli aracı olarak en &ccedil;ok tercih edilenlerdendir, &ccedil;&uuml;nk&uuml; sil, d&uuml;zenle, ekle gibi butonları da aktif edebilir se&ccedil;tiğiniz s&uuml;tun ve satır &uuml;zerinde istediğiniz değişikliği de yapabilirsiniz. Tabii bunların hi&ccedil;biri i&ccedil;in performans g&ouml;zetmiyorsanız. Bu kontroller arasında eğer ki kendi veri tablolarınızı oluşturmadan kullanmak istiyorum diyorsanız, en az performans kaybına sebebiyet veren Data Repeater&#39;ı tercih etmelisiniz.&nbsp;</p>
	<p>
		&nbsp;<span class="Apple-style-span" style="font-weight: bold">HttpResponse.IsClientConnected&#39;ın avantajı</span></p>
	<p>
		&nbsp;B&uuml;y&uuml;k işlemlerde ve sayfas operasyonlarında performans i&ccedil;in bu methoddan yararlanmanın b&uuml;y&uuml;k faydası vardır.&nbsp;</p>
	<p>
		&nbsp;Bu method sayfadaki ziyaret&ccedil;inin, işlem sırasında h&acirc;la sayfaya bağlı olup olmadığını kontrol eder, sizde burdan d&ouml;nen true false değerine g&ouml;re işlemi durdurabilir ya da devam ettirebilirsiniz. B&ouml;ylece sitede işlem başlatıp sayfadan ayrılan ziyaret&ccedil;iyi ayırt edip duruma g&ouml;re işlemi sonlandıran bir fonksiyon yazılabilir. B&ouml;ylece o işlem kadar sayfa performansından tasarruf edilmiş olur.</p>
	<p>
		&nbsp;</p>
	<p>
		<strong>Response.Redirect yerine</strong>&nbsp;<span class="Apple-style-span" style="font-weight: bold">HTTPServerUtility.Transfer kullanmak</span></p>
	<p>
		Genellikle sayfalarda işlemlerin sonunda ya da işleme g&ouml;re sayfadan diğer sayfaya y&ouml;nlenmek i&ccedil;in bu kod kullanılır. Duruma g&ouml;re bu kodun i&ccedil;ine Querystring sorguları vb. eklentilerde dahil edilebilir fakat HTTPServerUtility&#39;nin Transfer &ouml;zelliğide aynı işlemi daha az sunucu taraflı işlemle halletmektedir.</p>
	<p>
		&nbsp;</p>
	<p>
		<strong>Sayfa uygun mu kontrol&uuml;: Page.isValid&nbsp;</strong></p>
	<p>
		Yukarıda sunucu taraflı girdi kontrol&uuml; yapan, ASP.NET componentleri Validations hakkında bahsetmiş ve istemci taraflı kontrollerin daha az performans kaybına sahip olduğunu vurgulamıştık fakat bu gibi kontrollerin tarayıcı problemi yaşayıp tekrardan işlem başlatılmasını engellemek ve eğer girilmemiş bir değer varsa ve bu istemci taraflı kontrol tarafından g&ouml;zden ka&ccedil;mışsa, Page&#39;in bu &ouml;zelliği sorunu ortadan kaldıracaktır.</p>
	<p>
		<strong>Debug yerine Build&nbsp;</strong></p>
	<p>
		Localhost&#39;ta &ccedil;alışmalarınızı yaparken kendi makinenizide yormamak i&ccedil;in ( ki ben &ccedil;oğu zaman sunucu &uuml;zerinde bu tip &ccedil;alışmaları yapıyorum ) Win32 sembolik Debug yerine Win32 co-operated, opthimized maximum hızlı ve verimli Release Rebuild yapmak &ccedil;ok daha fazla performans kazancı sağlar. Daha sonra sayfanızı eğer Break Point&#39;le herhangi bir takip yapmayacaksanız, Sağ tıklayın View in Browser demeniz yeterlidir.</p>
	<p>
		<strong>&nbsp;Kopyalamayı deaktif etmek: Tracing</strong></p>
	<p>
		ASP.Net projenizi &uuml;r&uuml;n haline getirirken ASP.Net&#39;in tracing &ouml;zelliği request details, trace information, control tree, cookies collection, header collection, form collection, querystring collection, server variables gibi inceleme ve istatistikleme adımları olan bir uygulamadır. Durum b&ouml;yle olunca ileriye y&ouml;nelik b&uuml;y&uuml;k projelerde ve profesyonel işlerde bu durumlarda performans kaybı yaşatacaktır. &nbsp;ASP.Net&#39;in trace &ouml;zelliğini proje i&ccedil;in Web.Config&#39;den kapatabilirsiniz.</p>
	<p>
		&nbsp;</p>
	<p>
		<strong>&nbsp;&nbsp;Page.IsPostBack &Ouml;zelliğinden yararlanmak</strong></p>
	<p>
		ASP.Net sayfanızda &ccedil;ok veri girişli formlarda ve Page_Load&#39;da her sayfa yenilendiğinde aktif olan, doldurulan veriler olduğunu d&uuml;ş&uuml;nelim ve ziyaret&ccedil;inin sayfa &uuml;zerinde her seferinde sayfayı postback ettiğini, bu durum hem sayfadaki verilerin kaybolmasına, herşeyin default haline geri d&ouml;nmesine hemde &ccedil;ok ziyaret&ccedil;ili sitelerde performans kaybına yol a&ccedil;acaktır. &Ouml;rneğin 20 inputla siteye veri giriliyor ve sayfada 3 aşama var 1. aşama dolduruldu kişi butona bastı işlem button_click&#39;de d&ouml;nd&uuml; ve sayfa tekrar Page_Load&#39;ı işleme aldı, eğer burada IsPostBack kullanılmazsa, sayfa sıfırlama yapıp herşeyin defaultunu almaya devam edecektir , fakat bir IF kontrol yapısıyla kontrol edilirse, sayfada sadece gerekli alanların bilgileri sıfırlanacağından sunucuya daha az istek gidecektir.</p>
	<p>
		&nbsp;</p>
	<p>
		<strong>&nbsp;Veri Sayfalama Teknikleri</strong></p>
	<p>
		Son olarak (aslında daha &ccedil;ok alternatif yol bulunabilir ama benim &ouml;nereceklerim bu makale i&ccedil;in bu kadar) &nbsp;ASP.Net&#39;te kullanmış olduğunuz hazır veri yayınlama ve d&uuml;zenleme sistemlerinden daha &ouml;nce de bahsettik. Bu veri yayınlama aray&uuml;zleri Datalist,Repeater,Gridview,DataGrid vs. ya da kendi veri tablolarınızla oluşturduğunuz verilerde eğer bir sayfada g&ouml;z&uuml;kecekten fazla ya da hepsinin bir seferde yayınlanması performans kaybına yol a&ccedil;acaktır. Bunun i&ccedil;in Asp.Net Data sayfalama tekniklerini kullanmak hem işinizi kolaylaştıracak hem de performanstan kazan&ccedil; sağlayacaktır. Gridview veri yayınlama aray&uuml;z&uuml;nde, otomatik olarak bu yapılabilmektedir fakat diğer aray&uuml;zlerde kod yazılması gerekmektedir.</p>
	<p>
		Herkese iyi &ccedil;alışmalar...</p>
	</pages></p>]]></description></item></channel></rss>