• This is slide 1 description. Go to Edit HTML of your blogger blog. Find these sentences. You can replace these sentences with your own words.
  • This is slide 2 description. Go to Edit HTML of your blogger blog. Find these sentences. You can replace these sentences with your own words.
  • This is slide 3 description. Go to Edit HTML of your blogger blog. Find these sentences. You can replace these sentences with your own words.
  • This is slide 4 description. Go to Edit HTML of your blogger blog. Find these sentences. You can replace these sentences with your own words.
  • This is slide 5 description. Go to Edit HTML of your blogger blog. Find these sentences. You can replace these sentences with your own words.

25 Mart 2012 Pazar

25-03-2012 Saatler 1 Saat İleri Alınıyor !!


Bakanlar Kurulu’nun konuya ilişkin kararı, Resmi Gazete’nin bugünkü sayısında yayımlandı. Buna göre, gün ışığından daha fazla yararlanmak amacıyla bütün yurtta saatlerin, 25 Mart 2012 Pazar günü saat 03.00′dan itibaren bir saat ileri alınması, 28 Ekim 2012 Pazar günü saat 04.00′dan itibaren de bir saat geri alınması kararlaştırıldı.

24 Mart 2012 Cumartesi

C# - Klasör içindeki tüm dosyaları kopyalama

       /// <summary>
       /// Klasör İçindeki Dosyaları Kopyalamaktadır.
       /// </summary>
       /// <param name="sourcePatch">Kaynak yol</param>
       /// <param name="targetPatch">Hedef</param>
       /// <returns></returns>
        public static bool FolderCopy(string sourcePatch, string targetPatch)
        {
            if (String.IsNullOrEmpty(sourcePatch) || string.IsNullOrEmpty(targetPatch))
            {
                return false;
            }
            try
            {
                string[] folderInFile = Directory.GetFiles(sourcePatch);
                string[] fileName;
                for (int i = 0; i < folderInFile.Length; i++)
                {
                    fileName = folderInFile[i].Split('\\');
                    File.Copy(folderInFile[i], String.Format("{0}\\{1}", targetPatch, fileName[fileName.Length - 1]));
                }
                return true;
            }
            catch (Exception ex)
            {
                return false;
            }
        }