<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-920409670622798703</id><updated>2024-08-29T09:37:48.711+03:00</updated><category term="Silverlight"/><category term="audio"/><category term="basit animasyon"/><category term="c#"/><category term="capturesource"/><category term="event"/><category term="expression blend"/><category term="ingilizce kaynak"/><category term="msdn"/><category term="olay"/><category term="rotate"/><category term="silverlight 4"/><category term="storyboard"/><category term="video"/><category term="webcam"/><title type='text'>Silverlight</title><subtitle type='html'>Silverlight&#39;taki kendi yolculuğuma başlıyorum. silverlight microsoft&#39;un wb tabanlı uygulamalar içinde animasyon ve çizimler yaratmak için geliştirdiği bir platform. şimdi 4. sürümü ile gündemde. Ben de bu blogla silverlight&#39;ı öğrenmek için gerekli adımları sizlerle paylaşacağım. Yorumlarınızı/katkılarınızı bekliyorum.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://halilsuper-silverlight.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/920409670622798703/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://halilsuper-silverlight.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Halil Ersoy</name><uri>http://www.blogger.com/profile/15491264915010248089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBBNX7rFo-4_erqfplO5Ys7X0KbXcK4OZ5fXwufAvYfoyB8VsQQFUv1vN-tlTRzc_nK1pgcbxKElunvrlvwWCVMwvfudK9DQCkg4AIjxwi9PZrmbKS_bacIMtebwnxDTg/s220/halilersoy_yeni.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-920409670622798703.post-6269425983465629065</id><published>2010-07-02T16:43:00.001+03:00</published><updated>2010-07-05T10:14:52.286+03:00</updated><title type='text'>Ders 3: Resim Ekleme</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Silverlight uygulamalarınıza başka bir program hazırladığınız resimleri ekleyebilirsiniz. Buna şaşırmamışsınızdır. Ancak Silverlight 4.0&#39;da beni şaşırtan bir özellik şu: Sadece JPG ve PNG dosyalarını ekleyin görüntüleyebiliyorsunuz. Bir &quot;image&quot; kontrol içinde bunların haricinde bir formatı (mesela gif) desteklemiyor. O nedenle resimlerinizi Silverlight projesine eklemeden önce mutlaka JPG ya da PNG olarak hazırlayın.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Resim eklemek ve göstermek için gerekli olan adımlar şunlar.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;1. Projenize bir image kontrolü ekleyin&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Bunun için Toolbox&#39;dan image kontrolünü seçmek gerekiyor. Ancak dikkat ederseniz halihazırda görünür bir image kontrolü yok. Önce Toolbox&#39;a image kontrolünü ekleyelim. Bunun için Toolbox&#39;daki Assets butonu ile açılan kontroller listesinden Locations sekmesinden image kontrolünü bulup çift tıklayın. image kontrolü Toolbox&#39;a eklenecektir.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFebkBuqWDHr5DgOc_0whX-cOMcU6vl-GkTXOCgoCRwhVr5A1dMtdgZba7j-BJmuKnn1yvfsrE2H4C9ZTpl7Q-VxxkJFcrZtGRvy91vWVzhlMbjpg3-pfCsnr2NT2qujUxPZeZ-x3-xqw/s1600/Untitled-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFebkBuqWDHr5DgOc_0whX-cOMcU6vl-GkTXOCgoCRwhVr5A1dMtdgZba7j-BJmuKnn1yvfsrE2H4C9ZTpl7Q-VxxkJFcrZtGRvy91vWVzhlMbjpg3-pfCsnr2NT2qujUxPZeZ-x3-xqw/s320/Untitled-1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Daha sonra projemize bir image kontrolü ekleyin. İlk başta resim olmadığı için içi boş olarak aşağıdaki gibi görünecektir.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibGr-NluowXngAfks7MkF2RRJkORXgh1wXnUOEuLB475J61RzbAgQOXE8MQJgmTJC9SYhT4NjWmEaq2E_P-1lTWnRgSD0rO3Mz6Cd4biV1E6M3waGfXAiI9dXPCnXtT4lOzdlEFQRLhvc/s1600/Untitled-2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibGr-NluowXngAfks7MkF2RRJkORXgh1wXnUOEuLB475J61RzbAgQOXE8MQJgmTJC9SYhT4NjWmEaq2E_P-1lTWnRgSD0rO3Mz6Cd4biV1E6M3waGfXAiI9dXPCnXtT4lOzdlEFQRLhvc/s320/Untitled-2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;2. image kontrolümüze resim ekleme&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;image kontrolünü seçip Properties penceresinden (Common Properties) Source özelliğine resmimizi göstermek yeterli. Bunu yaptıktan sonra resmin bir kopyası proje klasörüne eklenir ve bu klasördeki resim image kontrolünde gösterilir. Derlemeden sonra ise, bu resim XAP dosyamızın içine gömülür. Bunun bir sınır vardır. 250 KB altındaki tüm resimler XAP dosyasının içine gömülür. Daha büyükler boyuttaki &amp;nbsp;resimler için ekleme sırasında gömülüp gömülmeyeceği sorulur. Onay verirseniz gömülür. &amp;nbsp;Bu sebeple resmin&amp;nbsp;orijinalinin&amp;nbsp;saklanmasına gerek yoktur veya proje yapılacak değişikliklerden etkilenmez.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5xFdzaJoKO0vH3N_3lR7cR6zDGiu3asojz5nttnv_8a2mXj7wdcyMlM7rEdAiDadLFUX_It731ZK9WxM1DE6oU_mzqPq3Wo76hlcPBi0jyvkjsP0Bk4-NWTL5k_ZBrHQQxLuJvS5EpvE/s1600/Untitled-3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5xFdzaJoKO0vH3N_3lR7cR6zDGiu3asojz5nttnv_8a2mXj7wdcyMlM7rEdAiDadLFUX_It731ZK9WxM1DE6oU_mzqPq3Wo76hlcPBi0jyvkjsP0Bk4-NWTL5k_ZBrHQQxLuJvS5EpvE/s320/Untitled-3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Bu adımdan sonra resim artık ekrana gelir.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkwvRatCtLh1nsh7Ynb15zi6slusRRX1657ijEEvSge_Npl5MgCnpAJo0HwhPMiFVear-bsX6EOz7NB3X0zHVmvM4fh67J3RyZBE5MF1muNUexJ2cVDSMEC13ZWOVfUKFLJKi482wecas/s1600/Untitled-4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkwvRatCtLh1nsh7Ynb15zi6slusRRX1657ijEEvSge_Npl5MgCnpAJo0HwhPMiFVear-bsX6EOz7NB3X0zHVmvM4fh67J3RyZBE5MF1muNUexJ2cVDSMEC13ZWOVfUKFLJKi482wecas/s320/Untitled-4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;3. Resmin Bazı Özellikleri&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Eklenen resmin boyutu ile image kontrolünün boyutu aynı olmayabilir. Bu durumda kim kime uyum sağlayacak bunu belirlemek için image kontrolünün &lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Stretch &lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;özelliği ile ayarlama yapılır. Dört seçenekten biri seçilir: None, Fill, Uniform, UniforToFill. Bu dört özellikten None, resmin orjinal boyutlarında tutar. Bu rumda eğer resim image kontrolünden daha büyükse o zaman taşan kısımlar gösterilmez. Fill seçeneğinde, resim image kontrolüne göre yeniden&amp;nbsp;boyutlandırılır (image kontrolünün içini tamamen kaplar). Uniform seçeneğinde ise resim image kontrolün içini dolruracak şekilde boyutlandırılırken bu defa kendi genişlik ve yükseklik oranını da korur. Eğer vesikalık bir resim için bir image kontrolü hazırlıyorsanız böyle bir özelliği seçmekte fayda var. Resimleriniz farklı boyutlarda da olsa, image kontrolü içinde en-boy oranı korunarak gösterileceği için kişilerin fotoğrafları düzgün görünür. Son seçenek ise UniformToFill. Bu seçenekte resim image kontrolünün içinde yine tekrar boyutladırılır ancak bu defa resmin en-boy oranı korunurken, image&#39;in içine sığmayan kısım görüntülenmez. Bu dört seçeneği deneyip yanılarak görmenizde fayda var.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJEa2bSaTgShXwFE_iam2RPX_21Gy7TeafvBmpkRc-ltEp_mYSDIVkLNBT93izWoDkE9ffIpL8lvOt8C6K0shYxqVdPod_r5pNH3775trXEDg6GQZFdVLo0y47QGDAGw1hoTK-VdvaAgc/s1600/Untitled-5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;121&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJEa2bSaTgShXwFE_iam2RPX_21Gy7TeafvBmpkRc-ltEp_mYSDIVkLNBT93izWoDkE9ffIpL8lvOt8C6K0shYxqVdPod_r5pNH3775trXEDg6GQZFdVLo0y47QGDAGw1hoTK-VdvaAgc/s200/Untitled-5.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Bir başka özellik de Effects özelliği. image kontrolünü seçip Properties penceresinden Effects özelliğini bulursanız resminize gölge (drop shadow) ya da bulanıklık (blur) efektleri verebilirsiniz. Bunların yoğunluğu ya da derinliği aynı pencereden ayarlayabilirsiniz.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTLpDq4Z2ItLwyX6HFBZAaxRo8O9UjQtjTwoaSASFqZbV-56ZD0bydaMjagQ6kToopCqu0drVj73Njeio9_1Dg9xhXRdgMjW4FPuz5TflS5FnJy7y0aiFPVi2SuNFdIGTqrxqgt2YsioI/s1600/Untitled-6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;136&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTLpDq4Z2ItLwyX6HFBZAaxRo8O9UjQtjTwoaSASFqZbV-56ZD0bydaMjagQ6kToopCqu0drVj73Njeio9_1Dg9xhXRdgMjW4FPuz5TflS5FnJy7y0aiFPVi2SuNFdIGTqrxqgt2YsioI/s320/Untitled-6.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;4. Dinamik Resim Değiştirme&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Dinamik resim değiştirme dediğimiz zaman uygulamanız çalışırken resmi değiştirmek ya da yüklemek aklımıza gelsin. Bunun için 2 önemli şey var. Birincisi, yüklenecek resmi önceden projeye eklemek, ikincisi kod yazarak image kontrolüne bu resmi yüklemek.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Birinci adımda resmi projeye ekliyoruz. Bunun için projenize sağ tıklayıp &quot;Add Existing Item&quot; diyoruz. Açılan pencereden resmimizi seçip projemize ekliyoruz. Ekleme sırasında 250 KB büyüklüğünden daha büyük resim seçmişseniz size &quot;XAP dosyasına gömülsün mü?&quot; diye soracaktır. Onaylayıp devam edin.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;İkinci adımda resmi ne zaman&amp;nbsp;değiştireceğinize&amp;nbsp;karar verin. Resmi değiştirmek için ben bir buton kullanacağım. Butona her tıkladığımda resmim değişecek. Aşağıdaki kodlara bu işe yarıyor.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;private void btnResimDegistir_Click(object sender, System.Windows.RoutedEventArgs e)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;// image kontrolünün resminin adını öğrenmek için önce bitmap&#39;e çevirmek gerekiyor&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;BitmapImage obitmapImage1 = (BitmapImage)(this.image1.Source);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;if (obitmapImage1.UriSource.OriginalString == &quot;bilgisayarresmi.png&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;this.image1.Source = new BitmapImage(new Uri(&quot;Penguins.jpg&quot;, UriKind.RelativeOrAbsolute));&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;this.image1.Source = new BitmapImage(new Uri(&quot;bilgisayarresmi.png&quot;, UriKind.RelativeOrAbsolute));&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Gördüğünüz gibi butona her tıkladığımda resim değişecektir.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfE3Ut8uaX-S4nKzmDTM7T-bhNgA-mEl48PNRIbvUE9pRjh-cWx2kFCuIDNnvREcqbw3PMK7gLxkL4Hgd1FGxsSs5oWNiqK4sq_ahyphenhyphen1tfqZ75eeklhnucmE_WIDygyP8NA2V5nAibfeS8/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;230&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfE3Ut8uaX-S4nKzmDTM7T-bhNgA-mEl48PNRIbvUE9pRjh-cWx2kFCuIDNnvREcqbw3PMK7gLxkL4Hgd1FGxsSs5oWNiqK4sq_ahyphenhyphen1tfqZ75eeklhnucmE_WIDygyP8NA2V5nAibfeS8/s400/Untitled-1.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Son olarak belirtmeliyim ki, buradaki resimler proje içerisine gömülmüş resimlerdir. Yani dinamik olarak değiştirdiğimiz resimler XAP dosyasının içine eklediğimiz resimlerdir. Eğer fotoğraf albümü gibi çok sayıda resim ile çalışacaksanız o zaman resimleri XAP içine gömmeyin, başka bir klasörün altında tutun. Bu klasörün altındaki resimleri de new Uri(&quot;/resimler/resim1.jpg&quot;,&amp;nbsp;UriKind.Relative) şeklinde verin. Albümün web&#39;de yayınlanacağını unutmayın. Görüşmek üzere.&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://halilsuper-silverlight.blogspot.com/feeds/6269425983465629065/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://halilsuper-silverlight.blogspot.com/2010/07/ders-3-resim-ekleme.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/920409670622798703/posts/default/6269425983465629065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/920409670622798703/posts/default/6269425983465629065'/><link rel='alternate' type='text/html' href='http://halilsuper-silverlight.blogspot.com/2010/07/ders-3-resim-ekleme.html' title='Ders 3: Resim Ekleme'/><author><name>Halil Ersoy</name><uri>http://www.blogger.com/profile/15491264915010248089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBBNX7rFo-4_erqfplO5Ys7X0KbXcK4OZ5fXwufAvYfoyB8VsQQFUv1vN-tlTRzc_nK1pgcbxKElunvrlvwWCVMwvfudK9DQCkg4AIjxwi9PZrmbKS_bacIMtebwnxDTg/s220/halilersoy_yeni.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFebkBuqWDHr5DgOc_0whX-cOMcU6vl-GkTXOCgoCRwhVr5A1dMtdgZba7j-BJmuKnn1yvfsrE2H4C9ZTpl7Q-VxxkJFcrZtGRvy91vWVzhlMbjpg3-pfCsnr2NT2qujUxPZeZ-x3-xqw/s72-c/Untitled-1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-920409670622798703.post-3740296278878419378</id><published>2010-06-25T11:03:00.001+03:00</published><updated>2010-06-25T12:40:08.889+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="audio"/><category scheme="http://www.blogger.com/atom/ns#" term="capturesource"/><category scheme="http://www.blogger.com/atom/ns#" term="silverlight 4"/><category scheme="http://www.blogger.com/atom/ns#" term="video"/><category scheme="http://www.blogger.com/atom/ns#" term="webcam"/><title type='text'>Silverlight 4 ile Web Kamerası ile görüntü (CaptureSource Nesnesi)</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;Merhaba arkadaşlar. Bir internet sayfasının bilgisayarınızdaki kamera ve mikrofona ulaşması bugüne kadar kolay olmayan bir durumdu. Ancak Silverlight 4.0 bu işi çok kolaylaştırmış. Aşağıdaki gibi bir uygulama yapacağım.&lt;/div&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEMtCeCEdm-_aL1OZ29jTX7RxZHh5dtIoDXC2W6JYmX5So9YlEHxPfrgYk_uiJh95TumPsHs9KmuFJE83tVaLKz69WQ8y7F7qZYsNnvM0JJ5rXfLfUMwd4ibdrYdQq5aN69Mm5Kh_xo44/s400/Untitled-1.jpg&quot; style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 354px; height: 400px;&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5486624787488460498&quot; /&gt;&lt;div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;Projeye başlarken User Control üzerine bir adet rectangle, 4 tane buton, 2 adet combobox ve bir tane de image controlü ekliyoruz. Bunlardan image controlü Exp. Blend&#39;de toolbox&#39;da görünmez. Toolbox&#39;ın en altındaki &quot;&gt;&gt;&quot; butonu ile genişlettiğimiz Assest menüsünden &quot;Locations&quot; sekmesinin altında &quot;image&quot; kontrolünü bulup seçebiliriz. &lt;/div&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgv8pb9wBPZmdMsAJd4ZdGRAFRWvmyMNAxGkb4-eE1cfP9kt5oBWw6GcshY-x2Tqlmhyphenhyphen3hQpfbiP-aTn0joRKzV7f7kz2uLUW0IH2FZfrzQegjhb0SUQN1K4hmmR_afihdQYPpGf30-OT8/s400/Untitled-3.jpg&quot; style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 271px;&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5486625591460644082&quot; /&gt;&lt;div&gt;Seçtiğimiz &quot;image&quot; kontrolünü istediğimiz yere çizip eklemiş oluruz. Yukarıdaki arayüzde sağ üst tarafta bulunan küçük resim &quot;image&quot; kontrolümüzdür.&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Arayüzü hazırladıktan sonra yapmamız gereken şey tüm kontrollerimize isim vermek. C# yada VB bilenler isimlendirmede bazı kısaltmalara alışkındırlar. Mesela &quot;btnBasla&quot;, &quot;Başla&quot; butonuna verdiğim isim. Bu şekilde &quot;cboVideo&quot;, &quot;cboAudio&quot;, &quot;btnResim&quot;, &quot;imgCapture&quot;, &quot;recVideo&quot; gibi isimleri kullandım. Sizler de istediğiniz isimleri kullanabilirsiniz, yeter ki isimlendirmede boşluk ve noktalama karakterleri kullanmayın!&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;İşim gerisi kod yazmak. Kod kısmına &quot;Önce Kamera ve mikrofon listesi oluştur&quot; butonu ile başlayacağız. Butonu seçip Properties penceresinde &quot;Event&quot; sekmesine geçin ve &quot;Click&quot; eventine çift tıklayın. Kod penceresi (MainPAge.xaml.cs) açılacaktır. Aşağıda bu buton için gerekli kodları yazıyorum. Açıklaması hemen altında.&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;private void btnKameraListesiOlustur_Click(object sender, System.Windows.RoutedEventArgs e)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;        {&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;// TODO: Add event handler implementation here.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt; // Kamera ve mikrofon erişimi için izin iste&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            if (CaptureDeviceConfiguration.AllowedDeviceAccess || CaptureDeviceConfiguration.RequestDeviceAccess())&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            {&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;// Combobox&#39;lara aygıtları yükle&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;                // Kameraları combobox&#39;a yükle&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;                cboVideo.ItemsSource = CaptureDeviceConfiguration.GetAvailableVideoCaptureDevices();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;                cboVideo.DisplayMemberPath = &quot;FriendlyName&quot;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;                if (cboVideo.Items.Count &gt; 0)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;cboVideo.SelectedIndex = 0;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;                // Mikrofonları combobox&#39;a yükle&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;                cboAudio.ItemsSource = CaptureDeviceConfiguration.GetAvailableAudioCaptureDevices();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;                cboAudio.DisplayMemberPath = &quot;FriendlyName&quot;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;                if (cboAudio.Items.Count &gt; 0)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;cboAudio.SelectedIndex = 0;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Burada ilk if ifadesi ile kullanıcıya &quot;kameralarına erişim izni veriyor musun? &quot; sorusunu soruyoruz. Bu Silverlight 4 ile gelen yeni bir özellik.&lt;/div&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc6mIhLaAYQoxqXDXIjTz3IcGrTVz0q_jzfcMBlqWZLewekX6puDYF7wyWUjlEw5YDHuF-SgvsWKxwwg9E-EOPAIsxK6mzOKt8Zh0iXMHXRfW1s4_BRg6kXtp3sXuX3N58y7o4wV1qEp0/s400/Untitled-2.jpg&quot; style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 341px;&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5486634995188182418&quot; /&gt;&lt;div&gt;Eğer kullanıcı ever derse kodların devamında makinede tanımlı kamera ve mikrofonların listesini alıp combobox&#39;lara dolduruyoruz. Eğer kamera ve mikrofon varsa, ilk elemanları seçili duruma getiriyoruz. Kullanıcı daha sonra combobox&#39;dan istediği kamera ve mikrofonu seçebilir.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Sıra Başla ve Bitir butonlarında. Ancak bir de asıl yakalama işini (capture) yapacak nesnemizi tanımlıyoruz. Global alanda yaptığımız bu tanımlada CaptureSource tipinde bir nesne oluşturuyoruz.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;// CaptureSource tipindeki nesnemizi tanımlıyoruz.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;        CaptureSource objYakalamaNesnesi = new CaptureSource();&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;private void btnBasla_Click(object sender, System.Windows.RoutedEventArgs e)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            // eğer zaten başladıysa durdur&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;if(cboVideo.Items.Count == 0)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;MessageBox.Show(&quot;Kamera bulunamadı&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;return;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            if (objYakalamaNesnesi.State == CaptureState.Started)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;                objYakalamaNesnesi.Stop();&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            // seçilen aygıtları al&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            objYakalamaNesnesi.VideoCaptureDevice = (VideoCaptureDevice)cboVideo.SelectedItem;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            objYakalamaNesnesi.AudioCaptureDevice = (AudioCaptureDevice)cboAudio.SelectedItem;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            // goruntuyu önce hafızaya al&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            VideoBrush KameraGoruntusu = new VideoBrush();&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            KameraGoruntusu.SetSource(objYakalamaNesnesi);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            // goruntuyu sonra ekranda bir rectangle elemanına bağla&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            recVideo.Fill = KameraGoruntusu;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            // başlat&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            objYakalamaNesnesi.Start();&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Başla butonu tıklandığında yaptığımız iş, CaptureSource tipineki &quot;objYakalamaNesnesi&quot; nesnemize seçilen kamera ve mikrofonu atamak, ardından görüntüyü rectangle kontrolüne bağlamak ve son olarak yakalamayı başlatmak.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Aşağıda Bitir butonu için gerekli kodlar var.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;        private void btnBitir_Click(object sender, RoutedEventArgs e)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;        {&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            // Eğer kamera çalışıyorsa durdur&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            if (objYakalamaNesnesi.State != CaptureState.Stopped)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;                objYakalamaNesnesi.Stop();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;.State özelliği, yakalama nesnemizin o anda ne yaptığını kontrol eden bir özellik. Eğer durmamışsa durdurmak için önce kontrol ediyoruz. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Son olarak resim yakalamayı yapalım. Bunun için hem &quot;Resim&quot;  butonuna hem de bundan önce resim yakalama olayının yaratılmasına ihtiyacımız var. Aşağıda Resim_Click() metodu, GoruntuKaydedildi() eventi, ve bu event&#39;i CaptureSource tipindeki nesnemize bağlamak için UserControl_Loaded() eventlerine kod yazıyoruz:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt; private void UserControl_Loaded(object sender, RoutedEventArgs e)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;// Yakalama ogjesine Event ekliyoruz&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;objYakalamaNesnesi.CaptureImageCompleted += new EventHandler&amp;lt;captureimagecompletedeventargs&amp;gt;(GoruntuKaydedildi);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;private void GoruntuKaydedildi(object sender, CaptureImageCompletedEventArgs e)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;   {&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;     //Hafızadaki resmi ekrandaki imgCaptured kontrolüne getir&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            imgCaptured.Source = e.Result;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;private void btnResim_Click(object sender, RoutedEventArgs e)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;   {&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;            //Resim çek&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;if(objYakalamaNesnesi.State == CaptureState.Started)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;              objYakalamaNesnesi.CaptureImageAsync();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FFFFCC;&quot;&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;   style=&quot;  ;font-family:georgia;font-size:medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;   style=&quot;  ;font-family:georgia;font-size:medium;&quot;&gt;Bu metodlardan UserControl_Loaded() ilk başta çalışıyor ve yakalama objesine GoruntuKaydedildi() olayını bağlıyor. Bunda sonra kullnıcı Resim butonuna tıkladığında CaptureImageAsync() metodu ile o andaki görüntü karesini hafızaya aktarıyor. Bu sırada GoruntuKaydedildi()eventi tetiklendiği için, bu event içine program geliyor. &quot;e.Result&quot; nesnesi ile ekrandaki &quot;imgCapture&quot; resim kutusuna resmi aktarıyoruz.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;   style=&quot;  ;font-family:georgia;font-size:medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;   style=&quot;  ;font-family:georgia;font-size:medium;&quot;&gt;Hepsi bu kadar. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;   style=&quot;  ;font-family:georgia;font-size:medium;&quot;&gt;Bu uygulamayı Tim Heuer&#39;in bloğundan uyarlayarak yaptım. (http://timheuer.com)&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://halilsuper-silverlight.blogspot.com/feeds/3740296278878419378/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://halilsuper-silverlight.blogspot.com/2010/06/silverlight-4-ile-web-kameras-ile.html#comment-form' title='1 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/920409670622798703/posts/default/3740296278878419378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/920409670622798703/posts/default/3740296278878419378'/><link rel='alternate' type='text/html' href='http://halilsuper-silverlight.blogspot.com/2010/06/silverlight-4-ile-web-kameras-ile.html' title='Silverlight 4 ile Web Kamerası ile görüntü (CaptureSource Nesnesi)'/><author><name>Halil Ersoy</name><uri>http://www.blogger.com/profile/15491264915010248089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBBNX7rFo-4_erqfplO5Ys7X0KbXcK4OZ5fXwufAvYfoyB8VsQQFUv1vN-tlTRzc_nK1pgcbxKElunvrlvwWCVMwvfudK9DQCkg4AIjxwi9PZrmbKS_bacIMtebwnxDTg/s220/halilersoy_yeni.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEMtCeCEdm-_aL1OZ29jTX7RxZHh5dtIoDXC2W6JYmX5So9YlEHxPfrgYk_uiJh95TumPsHs9KmuFJE83tVaLKz69WQ8y7F7qZYsNnvM0JJ5rXfLfUMwd4ibdrYdQq5aN69Mm5Kh_xo44/s72-c/Untitled-1.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-920409670622798703.post-3133700419437255599</id><published>2010-06-23T13:03:00.000+03:00</published><updated>2010-06-23T14:38:18.882+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="basit animasyon"/><category scheme="http://www.blogger.com/atom/ns#" term="c#"/><category scheme="http://www.blogger.com/atom/ns#" term="event"/><category scheme="http://www.blogger.com/atom/ns#" term="expression blend"/><category scheme="http://www.blogger.com/atom/ns#" term="olay"/><category scheme="http://www.blogger.com/atom/ns#" term="rotate"/><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight"/><category scheme="http://www.blogger.com/atom/ns#" term="storyboard"/><title type='text'>Dersler 2: Basit Animasyon - Tekerlek</title><content type='html'>Expression Blend&#39;de (ExB) basit bir animasyon yapacağız. Bu animasyon küçük bir dönen tekerlek.&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuMLfAl0nl3vzh-Mkd67P19J5JSM5rKpS2eTCHTzdkn_fAcXWcm0fsQdwLXa08tV6mZouAEow9p-UzuIxB3ocCTB-G4uxaubMI92qGWlj14McWB5DdAOOySZCjxg-Ie6TvaqK7MtqDziI/s400/Ekran+Al%C4%B1nt%C4%B1s%C4%B1.JPG&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5485908855182422322&quot; style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 46px; height: 48px; &quot; /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Bu tekerlek kendi etrafında dönecek.&lt;/div&gt;&lt;div&gt;Adım adım yapalım.&lt;/div&gt;&lt;div&gt;1. ExB&#39;de yeni bir proje açın. Adına &quot;Tekerlek&quot; diyelim. Önemli bir nokta proje adlarına rakam ile başlamayın. Aksi takdirde ExB kodlama yaparken şaşırıyor ve bu ilk rakamı başka bir karakter ile değiştiriyor. O nedenle &quot;2.Ders&quot; gibi bir proje adı kullanmayın.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2. User Control&#39;ün enini ve boyunu 40x40 yapınız. User Control altındaki Layout&#39;u silip yerine boş bir Canvas ekleyin. Canvas&#39;ı toolbox&#39;dan seçeren eleyebilirsiniz. Canvas&#39;ın da enini ve boyunu 40x40 yapın, marjinleri 0&#39;layın. Arka plan rengini beyaz yapın. Daha sonra toolbox&#39;dan daire ve dikdörtgen araçlarını kullanarak aşağıdaki gibi basit bir tekerlek yapın. Dairenineni ve boyu 40x40, marjinleri de 0 olsun.  Daha sonra daire ve dikdörtgeni seçin (Ctrl basılı), sağ tıklayın ve Group Into&gt;Canvas yapın. Bu sayede döndürme hareketini her birine ayrı ayrı vermektense, onları gruplayan Canvas&#39;a vereceğiz.&lt;/div&gt;&lt;div&gt;3. Bu yeni Canvas&#39;a bir isim verin. Ben &quot;TekerlekCanvas&quot; dedim.&lt;/div&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNIgRHzufiNC8_TCp8Rkx90EF4f2rLu_-EbzheAsgWhzS_RXpBxKNj0TPVesxBpYqEIiEuwcef5PLrjMexojdtBxO64XXjqIntupisPzqsPYfVpM2Am90H1yd18VmJwg_M7Y76kZlEMqk/s400/Untitled-1.jpg&quot; style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5485917693403070098&quot; /&gt;&lt;div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;4. Şimdi gelsi sıra animasyonu hareketi olan dönme hareketini tanımamaya. Bunun için önce animasyonun oynayacağı bir plan ekliyoruz. ExB&#39;de buna StoryBoard deniyor. Storyboard eklemek için önce F6&#39;ya basarak animasyon moduan geçiyoruz. Bu mod ekrana storyboard paneli açıyor. Tekrar F6&#39;ya basarak bu paneli kapatabilirsiniz. Şimdilik açık kalsın. Animasyon modu aşağıdaki gibi bir görünme sahip.&lt;/div&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpV8M3_OqAcySBU4xIXhJ6N9wPnFZonGdigj8qgQRmsxErj2WhmVFuYu-CbR3-aH4JhCrV1bP-usdUohsGW6prSwEcIucrJKR1X-gHOqdSu-NjwpAjjFFK3lOtF2KsUJhCOAttLUeIKyo/s400/Untitled-2.jpg&quot; style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5485917791051027138&quot; /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;5. Animasyon modundayken, ilk önce yeni bir storyboard ekliyoruz. &quot;Object and Timeline&quot; penceresindeki &quot;+&quot; işareti ile yani storyboard&#39;umuzu ekliyoruz. Burada isim vermek önemli. Storyboard&#39;umuza isim verirken yine ilk harf rakam olamadan, içerisinde boşluk ve noktalama işaretleri olmayan bir kelime seçiyoruz. Ben &quot;TekerlekDon&quot; dedim.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;6. Storyboard eklenince, aynı panele bir zaman çizelgesi ekleniyor. Tüm yapacağımız bu zaman çizelgesinde istediğimi saniyelerde nasıl bir görüntü oluşsun onu ayarlamak. Zaman çizelgesi toplam 42 dakikalık (neden 42 bilmiyorum) biz zamanı gösteriyor. Saniye saniye (hatta mili saniyeler de var) karelerden oluşabilen bir çizelge. İstediğimiz kareye gitmek için sarı çizgiyi üstünden tutup çizelge üzerinde hareket ettirmek yeterli.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;7. Sıfırıncı kareye geliyoruz ve bir anahtar kare ekliyoruz. Bunu çizelgenin üst tarafındaki beyaz sıfır ve artı işareti (0+ benzeri) butonuna tıklayarak yapıyoruz. Aynı şekilde 1. saniyeye geliyoruz ve yine bir anahtar kare ekliyoruz. Anahtar kare, çizimlerimizin o andaki durumlarını belirlemek için belirlediğimi kareler. Aralardaki değişimleri kendisi yapıyor.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;8. 1 saniyede geliyoruz ve &quot;TekerlekCanvas&quot; grubunun seçiyoruz. Daha sonra Transform penceresinden rotate özelliğini 360 yapıyoruz. Yani 0. saniyede ilk hali olan tekerleğimizi, 1. saniyede 360 derece dönmüş hale getiriyoruz. Bunu yapınca zaman çizelgesinde 0. ile 1. karelerin arası gri oluyor. Bu aradaki değişimin otomatik olarak yapıldığı belirtiyor. &lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;9. Dönme hareketi (yeni yapılan tüm hareketler gibi) sadece 1 kez oynatılır ve sonra durur. Bunu sürekli hale getirmek için &quot;TekerlekDon&quot; storyboard&#39;unu seçip özelliklerden &quot;RepeatBehavior:Forever&quot;  yapıyoruz. Bu şekilde bir kez başladıktan sonra, komut ile durdurulmadığı sürece hareket tekrar edecek demektir.&lt;/div&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjYDN31pBU1_KN31tgfz6gMKC1wOQRvenuPS5xcBawi6Lzy7Zn27wRI5K5odQAOLXBUwq5cuzYCjy85V-As1s5CXFZfVAuFugjFrK-I34RoP9mxT4WS_EMzEHqOzJfGbYpFfN76fIQqMo/s400/Untitled-3.jpg&quot; style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5485917853949728738&quot; /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;10. Şimdi animasyonumuzu oynamaya başlaması için kod yazmamız gerekiyor. Aslında ExB 4.0 ile artık bu işi kod yazmadan da yapabiliriz. &quot;Assets &gt; Behaviors&quot; sekmesinin altında, hangi nesneye, ne yapınca (event), sonuç olarak ne yapsın mantığı ile davranışlar kazandırmak mümkün. Ancak ben şu anda tüm detayları bilmiyorum. O nedenle size code-behind kodları yazarak aynı işi çözeceğim. Projeye başlarken dil olarak C# seçtiğimizi unutmayın. C# bildiğinizi varsayarak bu adımları atıyorum. (Visual Basic de olur). &lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;11. İstiyorum ki uygulama yüklenince (loaded) animasyon oynamaya başlasın, ve üzerine her tıkladığımda (MouseLeftButtonDown ya da Up) bir durup bir devam etsin (Pause/Resume). Bunun için 2 laya (event&#39;e) kod yazmam gerek: Birinncisi &quot;Canvas_Loaded()&quot;, ikincisi &quot;TekerlekCanvas_MouseLeftBottunDown()&quot; eventlerine kod yazmak. Bunun için önce &quot;Objects and TimeLine&quot; kısmından &quot;Canvas&quot;ı seçiyorumi ardından Properties penceresinde Event listesini açıp oradan istediğim event&#39;i çift tıklıyorum. Tıkladığım anda beyaz bir kod penceresi açılıyor.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDRe1DIByosBCIjw5MZhnWTVlsnzW5pY226cZnT_QEmuiI0YFAFegt0e5pX-LXWcjm4Gh6Foi9re4WiKyq0IrB8xAe1ujhKHAew_x76ff5Gc6YDuGpbkjIQdfqU6xZDHTEM2ES6iv2W8c/s400/Untitled-4.jpg&quot; style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5485917940127913282&quot; /&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZN1bUHWQA53TBlAf2vfsJtaCEI2PyjvhiC2z8tUejmS65UCk0bGKZ71oLyXI5jmTur0jX8stf5wRG5uvH_dU837HwVJT1sjZbELCyDM59ML2aghQKJg30Y7zwZgCRKDEF09_YaQbMOtM/s400/Untitled-5.jpg&quot; style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5485918018629070962&quot; /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;12. İlk önce Canvas_Loaded() event&#39;ine animasyona başlaması için kod yazıyorum:&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3333FF;&quot;&gt;private void&lt;/span&gt; Canvas_Loaded(object sender, System.Windows.RoutedEventArgs e)&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;{&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#009900;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#009900;&quot;&gt;// TODO: Add event handler implementation here.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3333FF;&quot;&gt;this&lt;/span&gt;.TekerlekDon.Begin();&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;IsPlaying =&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3333FF;&quot;&gt; true&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;13. Bu kodda IsPlaying diye bir değişken var. Bu değişken global olarak (event&#39;in dışında) tanımlanmış boolean bir değişken. Birazdan animasyonu bir durdurup bir oynakmak için bu değişkeni kullanacağım. this kelimesi User Controlü temsil ediyor. Bu nedenle kontrol etmek istediğimiz nesnelerin sanki onu alt nesneleriymiş gibi araya nokta &quot;.&quot; koyarak isimleri ile ulaşabiliyoruz (yaşasın nesne tabanlı programlama :) )&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;14. İlk kodlarımız yazdıktan sonra dikkat edeceğimiz bir başka nokta kodu nereye yazdığımız farkında olmak. Kodu &quot;MainPage.xaml.cs&quot; dosyasına yazıyoruz. Microsoft NET platformundan sonra arka planda çalışan kodları ayrı bir sayfada tutup kodlayanların işini kolaylaştırma istemiştir. Derleme sırasında bu dosya da XAP dosyasının içine eklenir. Ancak geliştirme aşamasında farklı 2 dosya olarak saklanır. Kod yazma ekranınızın üzerinde hangi dosyada olduğunuzu gösteren sekmeler vardır. Önceki görüntüye dönmek için MainPage.xaml segmesin tıklamanız yeterli.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;15. Şimdi &quot;TekerlekCanvas&quot; nesnemizi seçin event listesinde &quot;MouseLeftbuttonDown&quot; kısmına çift tıklayarak yine kod penceremizi açıyoruz. Buraya da &quot;eğer animasyon oynuyorsa duraklat, duraklatılmış ise kaldığı yerden devam ettir&quot; kodunu yazacağız:&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3333FF;&quot;&gt;private void&lt;/span&gt; TekerlekCanvas_MouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;{&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#009900;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#009900;&quot;&gt;// TODO: Add event handler implementation here.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3333FF;&quot;&gt;if&lt;/span&gt;(IsPlaying)&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;{&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3366FF;&quot;&gt;this.&lt;/span&gt;TekerlekDon.Pause();&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;    &lt;/span&gt;IsPlaying=&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3366FF;&quot;&gt;false&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;}&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3366FF;&quot;&gt;else&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;{&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3366FF;&quot;&gt;this&lt;/span&gt;.TekerlekDon.Resume();&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;    &lt;/span&gt;IsPlaying = &lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3366FF;&quot;&gt;true&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;}&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;16. İşlem tamam. Eğer bir noklama hatası vb. yapmadıysanız çekinmeden F5&#39;e basın. Tarayıcınızda aşağıdaki gibi animasyonunuzu döner halde görmeniz gerekiyor. Ben &quot;Kaynağı görüntüle&quot; dediğim için ekranımda &quot;Testpage.html&quot; sayfasının kodlarını da görüyorsunuz. Aşağıdaki resimde tekerlek dönmüyor ama aslında dönüyor. Bu bloğa silverlight uygulaması ekleyemediğim için gösteremiyorum.&lt;/div&gt;&lt;/div&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYZBPXLKsQngWnQjw2u7q-oRjKrENXZZJ4X1L4tIDefe3EokPso8R8vZzv_1gr5uSgQE_6HAPbkuQMauNxGrgOUnOOtuEuJ9dhl7MHvwPYIZS-6aWtt4Z_bIEXtvY4wUS6cUhrN-dKWAA/s1600/Untitled-6.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 267px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYZBPXLKsQngWnQjw2u7q-oRjKrENXZZJ4X1L4tIDefe3EokPso8R8vZzv_1gr5uSgQE_6HAPbkuQMauNxGrgOUnOOtuEuJ9dhl7MHvwPYIZS-6aWtt4Z_bIEXtvY4wUS6cUhrN-dKWAA/s400/Untitled-6.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5485918095842719618&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYZBPXLKsQngWnQjw2u7q-oRjKrENXZZJ4X1L4tIDefe3EokPso8R8vZzv_1gr5uSgQE_6HAPbkuQMauNxGrgOUnOOtuEuJ9dhl7MHvwPYIZS-6aWtt4Z_bIEXtvY4wUS6cUhrN-dKWAA/s1600/Untitled-6.jpg&quot;&gt;&lt;/a&gt;17. Son olarak &quot;Kaynağı göster&quot; dememin nedeni, bu tekerleği başka bir HTML sayfasında göstermek istediğinizde almanız gereken kodları göstermek. Bu kodlar istediğiniz bir HTML sayfasına eklerseniz, veeee &quot;Tekerlek.xap&quot; dosyasını aynı klasöre koyarsanız silverlight uygulamanız o sayfada çalışacaktır.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Bugünlük bu kadar. Görüşmek üzere.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Halil Ersoy&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://halilsuper-silverlight.blogspot.com/feeds/3133700419437255599/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://halilsuper-silverlight.blogspot.com/2010/06/dersler-2-basit-animasyon-tekerlek.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/920409670622798703/posts/default/3133700419437255599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/920409670622798703/posts/default/3133700419437255599'/><link rel='alternate' type='text/html' href='http://halilsuper-silverlight.blogspot.com/2010/06/dersler-2-basit-animasyon-tekerlek.html' title='Dersler 2: Basit Animasyon - Tekerlek'/><author><name>Halil Ersoy</name><uri>http://www.blogger.com/profile/15491264915010248089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBBNX7rFo-4_erqfplO5Ys7X0KbXcK4OZ5fXwufAvYfoyB8VsQQFUv1vN-tlTRzc_nK1pgcbxKElunvrlvwWCVMwvfudK9DQCkg4AIjxwi9PZrmbKS_bacIMtebwnxDTg/s220/halilersoy_yeni.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuMLfAl0nl3vzh-Mkd67P19J5JSM5rKpS2eTCHTzdkn_fAcXWcm0fsQdwLXa08tV6mZouAEow9p-UzuIxB3ocCTB-G4uxaubMI92qGWlj14McWB5DdAOOySZCjxg-Ie6TvaqK7MtqDziI/s72-c/Ekran+Al%C4%B1nt%C4%B1s%C4%B1.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-920409670622798703.post-5160590528317534674</id><published>2010-06-22T15:38:00.000+03:00</published><updated>2010-06-23T11:05:37.564+03:00</updated><title type='text'>Dersler 1: Expression Blend&#39;e giriş, basit çizimler</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Merhaba arkadaşlar. Expression Blend&#39;i (ExBl) ilk açtığımızda ne tür proje yapmak istediğimiz soruyor. NET platformu geldikten sonra Microsoft&#39;un tüm geliştirme uygulamaları hep proje tabanlı çalışıyor. ExBl&#39;de farklı proje tiplerinde uygulama geliştirmek mümkün. Sadece Silverlight uygulaması için &quot;Silverlight Application&quot; türünü seçin. Proje adınızı ve nereye saklamak istediğinizi belirtin. Son olarak Silverlight uygulamanızı geliştirmek için kullanmak istediğiniz dillerden birini (Visual Basic ya da C#) ve silverlight sürümünü seçin. Ok deyin.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvHCarl244hCSnPDp-sKnWOTivJHqhEpjrwPU3GQyUr54z5pfzWuQYLrm9Aw4AdnYeoSrGCJ2qMnVG0MUNOnYAZeW8Z2mDEFHzUNaZl9aCmBdU_qNfhcxwpOypiXqrJ8WShkqMd8AiOCw/s320/Untitled-1.jpg&quot; style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 294px;&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5485577478251084962&quot; /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Bu seçimlerden sonra ekrana aşağıdaki gibi bir silverlight projesi gelecektir. İlk başta boş bir çizim alanı gelir. Bu beyaz alan sizin silverlight uygulamanızın görsel sınırlarıdır. Bu alanın dışına geliştirme sırasında taşabilirsiniz ancak derlendikten sonra sadece beyaz alan görünür olacaktır. Bu alanı küçüktüp büyütmek tabiki mümkün. İlk olarak Ekrandaki User Control ve altındaki layout seçeneklerine bakalım. User Control geliştirdiğimiz silverlight uygulamasının ana nesnesi. Diğer bütün nesneler (çizimler, şekiller vs) bu nesnenin alt nesneleridir. Silverlight&#39;ta bu şekilde ekrandaki nesneler arasında hiyerarşik biri ilişki vardır. User Controlün hemen altında LayoutRoot diye bie nesne göreceksiniz. Bu da diğer nesneleri bir arada tutmayı sağlayan bir nesnedir. varsayılan olarak gelir. Ancak kullanmak zorunda değiliz. Canvas dediğimiz daha kullanışlı bir gruplama nesnesi kullanacağız. Bu nesne sayesinde istediğimiz nesneleri istediğimiz gibi gruplayabileceğiz. Şimdi LatouyRoot&#39;u sağ tıklayıp, Change Layout Type &gt; Canvas yapalım. Daha sonra User Control&#39;ü seçip ekranın sağ tarafında bulunan Properties penceresinden width ve height özelliklerini değiştirerek istediğimiz boyuta getiriyoruz. Ben 400 x 300&#39;lük bir alan yaptım. Aynı şekilde LayoutRoot nesnesini de seçip 400x300 boyutlarına ayrıca getirmek gerekiyor. Properties penceresi, &quot;Object and Timeline&quot; penceresinde seçtiğimiz nesnelerin özelliklerini gösterir. İstediğimiz nesneyi ister Objects and Timeline&quot; penceresinden, istersen ekranda üzerine tıklayarak seçebiliriz. Seçilen nesnenin etrafı mavi bir renkle gösterilir. Her nesnenin farklı özellikleri vardır. Properties penceresi seçilen nesneye göre içeriğini değiştirir. Bu nedenle seçtiğiniz nesneyi dikkat etmek gerekir.&lt;/div&gt;&lt;div&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ7qeLw9fwjnqH7H39zWHL7gQ-pFONdSmT5VWK440TG2ULq7IrivyQz223vFhhyEsRWLYcXlC5Ufvso8MBI5KxCgTH6s2sNWxq1NrtDTwtQQLhUSjEmzqjjZ9bRrNxa6WakkvDtYVpbcg/s400/Untitled-2.jpg&quot; style=&quot;text-align: justify;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; cursor: pointer; width: 400px; height: 300px; &quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5485581285335238514&quot; /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Şimdi yeni bir nesne ekleyelim. En soldaki toolbox&#39;da Rectangle aracını seçin ve ekranda istediğiniz bir yere dikdörtgeninizi çizin. Çizim bitince Object and Timeline penceresine dikkat edin. Son eklediğiniz bu nesne hiyerarşide el alta eklenir. Bu nesneyi seçtiğinizde properties penceresinde bu nesneye yönelik özellikler gelir. İsteğimizi değişiklikleri burada yapabilirsiniz. Deneye yanılma ile kolaylıkla farklı özelliklerin ne işe yaradığını görebilirsiniz. Önemli olan bir nokta, nesnelere isim verip vermemektir. Vermek zorunlu değildir. Ancak ileride kod yazarak bu nesneleri kontrol etmek istiyorsanız şimdiden bir isim vermeniz iyi olur. İsim vermek için Proerties penceresindeki en üst kutucuğa bir isim giriniz. İsim verirken boşluk kullanmadan, noktalama işaretleri kullanmadan, rakamları kullanarak ve amacına uygun bir isim vermeniz gerekmektedir. Örneğin MaviKutucuk gibi.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Yine önemli olan bir başka konu da ExBl&#39;in tüm çizim ve animasyonları aslında bir XML dosyası olarak saklamasıdır. Kendine has bu formata XAML formatı dedir. Bunu görmek için View \ Active Document View seçeneğinin altındaki 3 alternatiften birini seçin. Split dediğinizde hem XAML hem de çıktısını aynı anda görebilirsiniz.&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidxGzt0k3fJv9RwEqnhc2gqVLjb8-R0LIP2hnGhcILzzaCVwMPhOvQ3P6ATcQ3vwVqvte1jd_2yD29FTpq3bqmaVqU8CBMkhxnakoSHNRP2whbfBvXeYh7ohCHi32cM8q3_DwBi3JlNwI/s400/Untitled-3.jpg&quot; style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5485584802331989986&quot; /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;Bundan sonra ister arayüzde değişiklik yapın ister XAML&#39;de değişiklik yapın. Her ikisi de aynı anda diğerine yansıyacaktır.&lt;/div&gt;&lt;div&gt;Projemizi bu haliyle kaydetmek için File&gt; Save All diyelim.  Prki projemizi nasıl çalıştıracağız? Klavyeden F5 tuşuna basarsak varsayılan tarayıcımızda projemizin çıktısını görürüz. Ben Chrome kullandığım için aşağıdaki gibi görüntü gelecektir. Sizler IE kullanıyorsanız IE gelecektir.&lt;/div&gt;&lt;div&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_d-e9qyGCX9WHqLYivhEE4RV8tFwxgCbbsRY64UgbkoPoLQRnE9nrZVmrI69AcjI1a_OP2stfmMxHFHFU8qJbCfv_CWmc2A8EGhLCeA15TqhADc2oNuyPTBRL3q28QUr3mtugNCVEMsg/s1600/Untitled-4.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 266px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_d-e9qyGCX9WHqLYivhEE4RV8tFwxgCbbsRY64UgbkoPoLQRnE9nrZVmrI69AcjI1a_OP2stfmMxHFHFU8qJbCfv_CWmc2A8EGhLCeA15TqhADc2oNuyPTBRL3q28QUr3mtugNCVEMsg/s400/Untitled-4.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5485587870076034274&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Tarayıcımızı kapatıp ExBl&#39;ye geri dönebilirsiniz. F5&#39;e basarak yaptığımız işlem projemizi derlemek. Bu işlem sırasında tüm kodlar (XAML ve ileride göreceğimiz code-behind kodları) derlenir. Eğer hata varsa derleme yapılmaz ve hata mesajları ekranın altında birikir. Bu hataları teker teker halletmeden derleme yapılmaz. Derleme sonunda ise projeniz içinde Bin\Debug klasörü içine gerekli dosyalar oluşturulup yerleştirilir. &lt;/div&gt;&lt;div&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdA8lhL3f0Yql_yodc628yokN1SZIA_bAlPomP5KMcgw5OatPE1rvKzK-vSfk699sFquC-HupKakr_f7cXTD8llfTLYTH5zpcX8FAPee_ypEdNa3TUNQe1uIiN7pY9pqViDWUywu_C7cg/s400/Untitled-5.jpg&quot; style=&quot;text-align: justify;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; cursor: pointer; width: 400px; height: 162px; &quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5485587938929080370&quot; /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Bu dosyalardan Xap uzantılı dosya bizin ürünümüzdür. Derlendiği için tekrar açılamaz. Ancak projemiz içerisinde derlenmemiş hali olan MainPage.xaml dosyası halen ExBl içinde açık bir şekilde saklanmaktadır. Projemizi kaydedip çıktığımızda proej klasörüne bir göz atın. İçerisindeki dosya ve klasör yapısını asla bozmayın. Bir yerden bir yere taşımak istediğinizde tüm klasörü olduğu gibi taşıyın ya da kopyalayın. Yoksa projenizi başka bir yerde açamayabilirsiniz.  Şimdilik bu kadar. Görüşmek üzere.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Halil Ersoy&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://halilsuper-silverlight.blogspot.com/feeds/5160590528317534674/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://halilsuper-silverlight.blogspot.com/2010/06/dersler-1-expression-blende-giris-basit.html#comment-form' title='1 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/920409670622798703/posts/default/5160590528317534674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/920409670622798703/posts/default/5160590528317534674'/><link rel='alternate' type='text/html' href='http://halilsuper-silverlight.blogspot.com/2010/06/dersler-1-expression-blende-giris-basit.html' title='Dersler 1: Expression Blend&#39;e giriş, basit çizimler'/><author><name>Halil Ersoy</name><uri>http://www.blogger.com/profile/15491264915010248089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBBNX7rFo-4_erqfplO5Ys7X0KbXcK4OZ5fXwufAvYfoyB8VsQQFUv1vN-tlTRzc_nK1pgcbxKElunvrlvwWCVMwvfudK9DQCkg4AIjxwi9PZrmbKS_bacIMtebwnxDTg/s220/halilersoy_yeni.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvHCarl244hCSnPDp-sKnWOTivJHqhEpjrwPU3GQyUr54z5pfzWuQYLrm9Aw4AdnYeoSrGCJ2qMnVG0MUNOnYAZeW8Z2mDEFHzUNaZl9aCmBdU_qNfhcxwpOypiXqrJ8WShkqMd8AiOCw/s72-c/Untitled-1.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-920409670622798703.post-3223795360394277824</id><published>2010-06-22T13:31:00.004+03:00</published><updated>2010-07-28T15:48:34.689+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ingilizce kaynak"/><category scheme="http://www.blogger.com/atom/ns#" term="msdn"/><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight"/><title type='text'>Silverlight ve Expression Blend Hakkında Kaynaklar</title><content type='html'>Silverlight ve alakalı teknolojiler hakkıdan tercih ettiğim kaynakları aşağıda sunuyorum. Bir çok konuda bu işi yalayıp yutmuş bu insanlara paylaşımlarından dolayı teşekkür ediyorum.&lt;br /&gt;
&lt;div&gt;1. &lt;a href=&quot;http://daron.yondem.com/tr/default.aspx&quot;&gt;http://daron.yondem.com/tr/default.aspx&lt;/a&gt; (Türkçe) Silverlight ve diğer teknolojiler hakkında sınırsız bir kaynak.&lt;br /&gt;
2.&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/cc838158(v=VS.95).aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/cc838158(v=VS.95).aspx&lt;/a&gt;&amp;nbsp;(İngilizce) Silverlight hakkında yazılı güzel bir kaynak. İngilizceniz varsa başka hiç bir kitaba gerek kalmıyor. Sıralı konu anlatımı var.&lt;br /&gt;
3. &lt;a href=&quot;http://expression.microsoft.com/en-us/cc188684.aspx&quot;&gt;http://expression.microsoft.com/en-us/cc188684.aspx&lt;/a&gt; (İngilizce) Videolardan oluşan Microsoft Expression ürün yelpazesine ait öğretici içerik&lt;br /&gt;
4.&amp;nbsp;&lt;a href=&quot;http://www.microsoft.com/student/en/us/learn/expression-studio.aspx&quot;&gt;http://www.microsoft.com/student/en/us/learn/expression-studio.aspx&lt;/a&gt;&amp;nbsp;(İngilizce) Microsoft&#39;un öğrenciler için hazıladığı özel site.&lt;br /&gt;
5.&amp;nbsp;&lt;a href=&quot;http://www.silverlight.net/learn/videos/all/&quot;&gt;http://www.silverlight.net/learn/videos/all/&lt;/a&gt; (İngilizce) Videolarla Expression ve Silverlight anlatımı&lt;br /&gt;
6.&amp;nbsp;&lt;a href=&quot;http://expression.microsoft.com/en-us/cc261636.aspx&quot;&gt;http://expression.microsoft.com/en-us/cc261636.aspx&lt;/a&gt;&amp;nbsp;(İngilizce) Videolarla Expression Blend Anlatımı&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://halilsuper-silverlight.blogspot.com/feeds/3223795360394277824/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://halilsuper-silverlight.blogspot.com/2010/06/silverlight-ve-expression-blend-hakknda.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/920409670622798703/posts/default/3223795360394277824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/920409670622798703/posts/default/3223795360394277824'/><link rel='alternate' type='text/html' href='http://halilsuper-silverlight.blogspot.com/2010/06/silverlight-ve-expression-blend-hakknda.html' title='Silverlight ve Expression Blend Hakkında Kaynaklar'/><author><name>Halil Ersoy</name><uri>http://www.blogger.com/profile/15491264915010248089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBBNX7rFo-4_erqfplO5Ys7X0KbXcK4OZ5fXwufAvYfoyB8VsQQFUv1vN-tlTRzc_nK1pgcbxKElunvrlvwWCVMwvfudK9DQCkg4AIjxwi9PZrmbKS_bacIMtebwnxDTg/s220/halilersoy_yeni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-920409670622798703.post-7182223884053096057</id><published>2010-06-22T10:16:00.001+03:00</published><updated>2010-07-28T15:27:43.614+03:00</updated><title type='text'>Silverlight Nedir?</title><content type='html'>Microsoft Silverlight teknolojisi hakkında giriş seviyesinde bilgi sahibi olun:&lt;br /&gt;
&lt;a href=&quot;http://blog.izleogren.com/2010/07/silverlight-nedir-2/&quot;&gt;http://blog.izleogren.com/2010/07/silverlight-nedir-2/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://halilsuper-silverlight.blogspot.com/feeds/7182223884053096057/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://halilsuper-silverlight.blogspot.com/2010/06/silverlight-nedir.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/920409670622798703/posts/default/7182223884053096057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/920409670622798703/posts/default/7182223884053096057'/><link rel='alternate' type='text/html' href='http://halilsuper-silverlight.blogspot.com/2010/06/silverlight-nedir.html' title='Silverlight Nedir?'/><author><name>Halil Ersoy</name><uri>http://www.blogger.com/profile/15491264915010248089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBBNX7rFo-4_erqfplO5Ys7X0KbXcK4OZ5fXwufAvYfoyB8VsQQFUv1vN-tlTRzc_nK1pgcbxKElunvrlvwWCVMwvfudK9DQCkg4AIjxwi9PZrmbKS_bacIMtebwnxDTg/s220/halilersoy_yeni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-920409670622798703.post-7318849830492670820</id><published>2010-06-21T16:06:00.001+03:00</published><updated>2010-07-28T15:31:58.334+03:00</updated><title type='text'>Silverlight için gerekli yazılımlar</title><content type='html'>Silverlight geliştirmek için gerekli olan yazılımlar hakkında bilgi edinin&lt;br /&gt;
&lt;a href=&quot;http://blog.izleogren.com/2010/07/silverlight-nedir-2/#more-460&quot;&gt;http://blog.izleogren.com/2010/07/silverlight-nedir-2/#more-460&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://halilsuper-silverlight.blogspot.com/feeds/7318849830492670820/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://halilsuper-silverlight.blogspot.com/2010/06/silverlight-icin-gerekli-yazlmlar.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/920409670622798703/posts/default/7318849830492670820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/920409670622798703/posts/default/7318849830492670820'/><link rel='alternate' type='text/html' href='http://halilsuper-silverlight.blogspot.com/2010/06/silverlight-icin-gerekli-yazlmlar.html' title='Silverlight için gerekli yazılımlar'/><author><name>Halil Ersoy</name><uri>http://www.blogger.com/profile/15491264915010248089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBBNX7rFo-4_erqfplO5Ys7X0KbXcK4OZ5fXwufAvYfoyB8VsQQFUv1vN-tlTRzc_nK1pgcbxKElunvrlvwWCVMwvfudK9DQCkg4AIjxwi9PZrmbKS_bacIMtebwnxDTg/s220/halilersoy_yeni.jpg'/></author><thr:total>0</thr:total></entry></feed>