<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwizguide.com/rss_namespace/">
 <channel>
  <title>Datakent Forum : Windows Phone 8 Klasör ve Dosya işlemleri</title>
  <link>http://forum.datakent.com/</link>
  <description>XML içerik linki; Datakent Forum : C# &amp; ASP.NET : Windows Phone 8 Klasör ve Dosya işlemleri</description>
  <pubDate>Thu, 07 May 2026 06:09:33 +0000</pubDate>
  <lastBuildDate>Mon, 04 Nov 2013 08:27:22 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.54</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.datakent.com/RSS_post_feed.asp?TID=2499</WebWizForums:feedURL>
  <image>
   <title>Datakent Forum</title>
   <url>http://forum.datakent.com/forum_images/datakent.com_forums.png</url>
   <link>http://forum.datakent.com/</link>
  </image>
  <item>
   <title>Windows Phone 8 Klasör ve Dosya işlemleri : Merhaba, bulunamayan k&#252;t&#252;phaneler...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=2499&amp;PID=5502#5502</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=1" rel="nofollow">murat turan</a><br /><strong>Konu:</strong> 2499<br /><strong>Gönderim Zamanı:</strong> 04.Kasim.2013 Saat 08:27<br /><br />Merhaba, bulunamayan kütüphaneler üzerinde sağ tıklanıp RESOLVE komutu altındaki menüden bulunamayan kütüphaneler kod dosyasına import edilebilir.]]>
   </description>
   <pubDate>Mon, 04 Nov 2013 08:27:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=2499&amp;PID=5502#5502</guid>
  </item> 
  <item>
   <title>Windows Phone 8 Klasör ve Dosya işlemleri : peki &#231;al&#305;&#351;t&#305;rmak i&#231;in hangi k&#252;t&#252;phaneleri...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=2499&amp;PID=5306#5306</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=4297" rel="nofollow">sharkaslan</a><br /><strong>Konu:</strong> 2499<br /><strong>Gönderim Zamanı:</strong> 04.Agustos.2013 Saat 11:45<br /><br />peki çalıştırmak için hangi kütüphaneleri kullanıyorsun onları yazmamışsın?<div><br></div>]]>
   </description>
   <pubDate>Sun, 04 Aug 2013 11:45:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=2499&amp;PID=5306#5306</guid>
  </item> 
  <item>
   <title>Windows Phone 8 Klasör ve Dosya işlemleri : XAML (tasar&#305;m k&#305;sm&#305;):&amp;lt;!--ContentPanel...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=2499&amp;PID=5236#5236</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=1" rel="nofollow">murat turan</a><br /><strong>Konu:</strong> 2499<br /><strong>Gönderim Zamanı:</strong> 09.Mart.2013 Saat 15:49<br /><br /><div><b>XAML (tasarım kısmı):</b></div><div>&lt;!--ContentPanel - place additional content here--&gt;</div><div>&lt;Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0"&gt;</div><div>&nbsp; &nbsp; &lt;TextBox&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Name="textBox1"&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; HorizontalAlignment="Left"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Height="72"&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Margin="0,22,0,0"&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; TextWrapping="Wrap"&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Text="Enter text here."&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; VerticalAlignment="Top" Width="456"/&gt;</div><div>&nbsp; &nbsp; &lt;Button&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Name='btnWrite'&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Content="Write"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; HorizontalAlignment="Left"&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Margin="10,94,0,0"&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; VerticalAlignment="Top"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Width="156"&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Click="btnWrite_Click"/&gt;</div><div>&nbsp; &nbsp; &lt;TextBlock&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Name="textBlock1"&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; HorizontalAlignment="Left"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Margin="10,293,0,0"&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; TextWrapping="Wrap" Text=""</div><div>&nbsp; &nbsp; &nbsp; &nbsp; VerticalAlignment="Top"&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Height="61"&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Width="436"/&gt;</div><div>&nbsp; &nbsp; &lt;Button&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Name="btnRead"&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Content="Read"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; HorizontalAlignment="Left"&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Margin="10,374,0,0"&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; VerticalAlignment="Top"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Width="156"&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; IsEnabled="False"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Click="btnRead_Click"/&gt;</div><div>&lt;/Grid&gt;</div><div><br></div><div><br></div><div><br></div><div><b><font size="3">Klasör yaratmak ve yratılan klasöre dosya oluşturma:</font></b></div><div><pre><span style="color: blue;">private</span> <span style="color: blue;">async</span> <span style="color: blue;">void</span> btnWrite_Click(<span style="color: blue;">object</span> sender, RoutedEventArgs e){    <span style="color: blue;">await</span> WriteToFile();    <span style="color: green;">// Update UI.</span>    <span style="color: blue;">this</span>.btnWrite.IsEnabled = <span style="color: blue;">false</span>;    <span style="color: blue;">this</span>.btnRead.IsEnabled = <span style="color: blue;">true</span>;}<span style="color: blue;">private</span> <span style="color: blue;">async</span> Task WriteToFile(){    <span style="color: green;">// Get the text data from the textbox. </span>    <span style="color: blue;">byte</span>&#091;&#093; fileBytes = System.Text.Encoding.UTF8.GetBytes(<span style="color: blue;">this</span>.textBox1.Text.ToCharArray());    <span style="color: green;">// Get the local folder.</span>    StorageFolder local = Windows.Storage.ApplicationData.Current.LocalFolder;    <span style="color: green;">// Create a new folder name DataFolder.</span>    <span style="color: blue;">var</span> dataFolder = <span style="color: blue;">await</span> local.CreateFolderAsync(<span style="color: rgb163, 21, 21;">"DataFolder"</span>,        CreationCollisionOption.OpenIfExists);    <span style="color: green;">// Create a new file named DataFile.txt.</span>    <span style="color: blue;">var</span> file = <span style="color: blue;">await</span> dataFolder.CreateFileAsync(<span style="color: rgb163, 21, 21;">"DataFile.txt"</span>,    CreationCollisionOption.ReplaceExisting);    <span style="color: green;">// Write the data from the textbox.</span>    <span style="color: blue;">using</span> (<span style="color: blue;">var</span> s = <span style="color: blue;">await</span> file.OpenStreamForWriteAsync())    {        s.Write(fileBytes, 0, fileBytes.Length);    }}</pre></div><div><br></div><div><b><font size="3">Diskten dosya okumak:</font></b></div><div><pre><span style="color: blue;">private</span> <span style="color: blue;">async</span> <span style="color: blue;">void</span> btnRead_Click(<span style="color: blue;">object</span> sender, RoutedEventArgs e){    <span style="color: blue;">await</span> ReadFile();    <span style="color: green;">// Update UI.</span>    <span style="color: blue;">this</span>.btnWrite.IsEnabled = <span style="color: blue;">true</span>;    <span style="color: blue;">this</span>.btnRead.IsEnabled = <span style="color: blue;">false</span>;}<span style="color: blue;">private</span> <span style="color: blue;">async</span> Task ReadFile(){    <span style="color: green;">// Get the local folder.</span>    StorageFolder local = Windows.Storage.ApplicationData.Current.LocalFolder;    <span style="color: blue;">if</span> (local != <span style="color: blue;">null</span>)    {        <span style="color: green;">// Get the DataFolder folder.</span>        <span style="color: blue;">var</span> dataFolder = <span style="color: blue;">await</span> local.GetFolderAsync(<span style="color: rgb163, 21, 21;">"DataFolder"</span>);        <span style="color: green;">// Get the file.</span>        <span style="color: blue;">var</span> file = <span style="color: blue;">await</span> dataFolder.OpenStreamForReadAsync(<span style="color: rgb163, 21, 21;">"DataFile.txt"</span>);        <span style="color: green;">// Read the data.</span>        <span style="color: blue;">using</span> (StreamReader streamReader = <span style="color: blue;">new</span> StreamReader(file))        {            <span style="color: blue;">this</span>.textBlock1.Text = streamReader.ReadToEnd();        }    }}</pre></div><div><br></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Sat, 09 Mar 2013 15:49:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=2499&amp;PID=5236#5236</guid>
  </item> 
 </channel>
</rss>