12 Mayıs 2023 Cuma

Silly Dancer Privacy Policy

PRİVACY POLİCY seda cinar built the Silly Dancer app as an Ad Supported app. This SERVICE is provided by seda cinar at no cost and is intended for use as is. This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy. The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at TonBall unless otherwise defined in this Privacy Policy. Information Collection and Use For a better experience, while using our Service, I may require you to provide us with certain personally identifiable information, including but not limited to cookies, android advertising identifier, android advertising id . The information that I request will be retained on your device and is not collected by me in any way. The app does use third party services that may collect information used to identify you. Link to privacy policy of third party service providers used by the app Google Play Services Log Data I want to inform you that whenever you use my Service, in a case of an error in the app I collect data and information (through third party products) on your phone called Log Data. This Log Data may include information such as your device Internet Protocol (“IP”) address, device name, operating system version, the configuration of the app when utilizing my Service, the time and date of your use of the Service, and other statistics. Cookies Cookies are files with a small amount of data that are commonly used as anonymous unique identifiers. These are sent to your browser from the websites that you visit and are stored on your device's internal memory. This Service does not use these “cookies” explicitly. However, the app may use third party code and libraries that use “cookies” to collect information and improve their services. You have the option to either accept or refuse these cookies and know when a cookie is being sent to your device. If you choose to refuse our cookies, you may not be able to use some portions of this Service. Service Providers I may employ third-party companies and individuals due to the following reasons: To facilitate our Service; To provide the Service on our behalf; To perform Service-related services; or To assist us in analyzing how our Service is used. I want to inform users of this Service that these third parties have access to your Personal Information. The reason is to perform the tasks assigned to them on our behalf. However, they are obligated not to disclose or use the information for any other purpose. Security I value your trust in providing us your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and I cannot guarantee its absolute security. Links to Other Sites This Service may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by me. Therefore, I strongly advise you to review the Privacy Policy of these websites. I have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services. Children’s Privacy These Services do not address anyone under the age of 13. I do not knowingly collect personally identifiable information from children under 13. In the case I discover that a child under 13 has provided me with personal information, I immediately delete this from our servers. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact me so that I will be able to do necessary actions. Changes to This Privacy Policy I may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. I will notify you of any changes by posting the new Privacy Policy on this page. These changes are effective immediately after they are posted on this page. Contact Us If you have any questions or suggestions about my Privacy Policy, do not hesitate to contact me at cinar.seda@hotmail.com

7 Haziran 2019 Cuma

TonBall Privacy Policy

Privacy Policy

Privacy Policy

seda cinar built the TonBall app as an Ad Supported app. This SERVICE is provided by seda cinar at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at TonBall unless otherwise defined in this Privacy Policy.

Information Collection and Use

For a better experience, while using our Service, I may require you to provide us with certain personally identifiable information, including but not limited to cookies, android advertising identifier, android advertising id . The information that I request will be retained on your device and is not collected by me in any way.

The app does use third party services that may collect information used to identify you.

Link to privacy policy of third party service providers used by the app

Log Data

I want to inform you that whenever you use my Service, in a case of an error in the app I collect data and information (through third party products) on your phone called Log Data. This Log Data may include information such as your device Internet Protocol (“IP”) address, device name, operating system version, the configuration of the app when utilizing my Service, the time and date of your use of the Service, and other statistics.

Cookies

Cookies are files with a small amount of data that are commonly used as anonymous unique identifiers. These are sent to your browser from the websites that you visit and are stored on your device's internal memory.

This Service does not use these “cookies” explicitly. However, the app may use third party code and libraries that use “cookies” to collect information and improve their services. You have the option to either accept or refuse these cookies and know when a cookie is being sent to your device. If you choose to refuse our cookies, you may not be able to use some portions of this Service.

Service Providers

I may employ third-party companies and individuals due to the following reasons:

  • To facilitate our Service;
  • To provide the Service on our behalf;
  • To perform Service-related services; or
  • To assist us in analyzing how our Service is used.

I want to inform users of this Service that these third parties have access to your Personal Information. The reason is to perform the tasks assigned to them on our behalf. However, they are obligated not to disclose or use the information for any other purpose.

Security

I value your trust in providing us your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and I cannot guarantee its absolute security.

Links to Other Sites

This Service may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by me. Therefore, I strongly advise you to review the Privacy Policy of these websites. I have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.

Children’s Privacy

These Services do not address anyone under the age of 13. I do not knowingly collect personally identifiable information from children under 13. In the case I discover that a child under 13 has provided me with personal information, I immediately delete this from our servers. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact me so that I will be able to do necessary actions.

Changes to This Privacy Policy

I may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. I will notify you of any changes by posting the new Privacy Policy on this page. These changes are effective immediately after they are posted on this page.

Contact Us

If you have any questions or suggestions about my Privacy Policy, do not hesitate to contact me at sedacinar.sc@gmail.com.

22 Şubat 2018 Perşembe

c# ile webservis 3

Yazı dizimizin hataları düzeltmeye yönelik olacağından bahsetmiştik. İlk iki yazımızda webservis oluşturmayı ve sql bağlantısını kurmayı gördük. Bu yazımda ise sql izinlerine değineceğim. Bir önceki yazımızda defaultAppPool hatasını gidermiştik.  Sonrasında projeyi tekrar çalıştırırsanız veritabanına bağlantı izni hatasıyla karşı karşıya gelebilirsiniz.
Eğer yukarıdaki gibi bir hata ile karşılaşırsanız veritabanına erişim için kullanıcıya izin vermeniz gerekebilir. LocalSystem veritabanında NT AUTHORITY\SYSTEM kullanıcı altında bulunur. Sql Management studio'nuzu açın. Veritabanınızı seçip security>users>NTAUTHORITY\SYSTEM>Properties 'i açın.
Membership altında bulunan seçeneklerden db_owner 'ı seçin. Okuma yazma gibi izinleri de buradan verebilirsiniz. Veritabanına erişim kısıtları, isteğinize bağlıdır istediğiniz şekilde düzenleyin.
Ben 'veritabanının sahibidir' diyerek bıraktım. 

Şimdi projemizi yeniden çalıştıralım ve sonuçları görelim. 

Evet projemiz artık çalıştı. Ben veritabanına seda, deneme ve calis adında 3 adet string kaydetmiştim. XML sonucumda bu verileri görebiliyorum. Şimdiye kadar localde webservis çalıştırmayı gördük. Sorularınız olursa yazabilirsiniz. İyi günler dileyerek bu yazımı sonlandırıyorum.  

c# ile webservis 2

Bir önceki yazımızda webservis  için dosyalarımızı oluşturmayı Göstermiştik. Bu yazımızda kaldığımız yerden devam edeceğiz. Solution explorer penceresinde sağ tıklayıp add>New Item seçeneğini tıklıyoruz.
Açılan pencereden WebService. asmx uzantılı dosyayı seçiyoruz. Bu işlemi .Net 4 sonrası için yapın.  Net 3.5 framworkunde .asmx uzantılı dosyanız hazır olarak geliyor. 
Kullanmak istediğimiz fonksiyonları [WebMethod] etiketi altında yazıyoruz. Şimdi de sql bağlantımızı sağlayalım.
Aşağıdaki kod satırı projenin başında oluşturmuş olduğum veritabanına bizi bağlayacak.

[WebMethod] public DataSet cagir() { string query = String.Format("select isim from dbo.content"); return baglanti(query); } public DataSet baglanti(string sorgu) { SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=deneme;Integrated Security=True"); con.Open(); SqlDataAdapter da = new SqlDataAdapter(sorgu, con); da.SelectCommand.ExecuteNonQuery(); DataSet dt = new DataSet(); da.Fill(dt); con.Close(); return dt; }

DataSet tipinde cagir fonksiyonunu oluturup veritabanından çekeceğim verilerin sql sorgusunu bu fonksiyon içerisine yazdım. baglanti fonksiyonum ile veritabanına bağlantı sağlayacağım. Burada kütüphane olarak 
using System.Data;
using System.Data.SqlClient;
eklemeyi unutmayın. Projeyi çalıştırdığınızda aşağıdaki gibi 'IIS APPPOOL\DefaultAppPool' bir hatası mı aldınız. O zaman çalışma alanımızı local olarak belirtmemiz gerekiyor.
Bunun için denetim masasını açıp görüntüleme ölçütünü Küçük simgeler olarak değiştirip alt tarafta yer alan Yönetimsel Araçlar sekmesine tıklayın. 
Gelen pencereden Internet Information Services'i tıklayp açılan pencereden sol tarafta yer alan uygulama havuzlarını görüntüle seçeneğini seçin.
DefaultAppPool seçeneğine tıklayıp yan taraftan gelişmiş ayarları seçin.
Açılan pencerede kimlik kısmına gelip ApplicationPoolIdentity seçeneğini LocalSystem olarak değiştirin.
Visual studio'yu yeniden başlatıp projemize kaldığımız yerden devam edebiliriz. 


20 Şubat 2018 Salı

c# ile webservis 1

Merhabalar bugünkü yazımda c# ile webservis yazımını göstereceğim. Ancak bu yazıyı kaleme alma sebebim webservis yazarken karşılaşılabilecek sorunların çözümüne yönelik olacak. Çünkü webservis ile ilgili birçok türkçe kaynak web ortamında mevcut. Öncelikle yapıdan biraz bahsetmek istiyorum . Yazacağım webservis localde çalışacak ve veritabanı bağlantısı kullanacak. Daha sonraki yazımda sunucu üzerindeki çalışmasını da kaleme alacağım.  Veritabanını  Mssqlserver2012 de oluşturdum. Ide olarak da VisualStudio 2015 kullanıyorum. Bunları belirtmemin sebebi söyleyeceğim çözüm önerileri sonraki versiyonlarında değişiklik gösterebilir. Sql server Management Studio'yu açarak 'deneme' isimli bir veritabanı oluşturdum. İçerisinde de content isimli bir tablom mevcut. Tablom tek nvarchar tipinde bir kolondan oluşmakta ve kolon ismim 'isim' . Bu aşamayı tamamladı iseniz Visual Studio'yu yönetici olarak başlatın. Eğer başlatmazsanınz IIS'e bağlanamıyorsunuz. Açtıktan sonra File>New>WebSite diyerek penceremizi açıyoruz.
Açılan pencerede Asp.Net Web Service seçeneğini seçiyoruz ancak bu .Net 3.5 frameworkunde bu şekilde  .Net 4 ve sonrası için wcf Servisi seçebilirsiniz.
Web location'ı http olarak seçtikten sonra browse'a tıklıyoruz. Lakin admin yetkisiyle bağlanmanıza rağmen IIS Sites seçeneğinin altında uyarı işareti gördünüz ve bağlanamıyor musunuz. Bu aşamada IIS 'in bir kaç ayarını ve iznini vermemiz gerekmete. Denetim masası > Programlar > Programlar ve Özellikleri> Windows Özelliklerini aç veya kapat (sol tarafta) dedikten sonra açılan pencerede Internet Information Services  ayarlarını göreceksiniz.[1] Burada Internet Information Service, Ftp sunucusu, Web yönetimi araçları, World Wide Web hizmetleri sekmeleri işaretli değilse işaretleyip (bu başlıkların altındaki  seçeneklerin de işaretli olduğundan emin olun )
Artık vs 'i yönetici olarak yeniden başlatıp webservisimizi oluşturmaya çalıştığımızda aşağıdaki penceremiz açılacak. Burada create new diyerek yeni bir klasör oluşturum open diyin webservis sayfamız kodlanmaya hazır.

kaynak [1] : https://msdn.microsoft.com/en-us/library/aa983457.aspx

18 Aralık 2017 Pazartesi

Halkbank Bilgi Teknolojileri Uzmanı Sınavı Soruları

Merhaba arkadaşlar. Bildiğiniz üzere geçtiğimiz 10 Aralık'ta (10 Aralık 2017) Halkbank bilgi teknolojileri uzmanlık sınavı yapıldı. Bu sınav kapsamında bt müfettiş yardımcılığı, bt iç kontrolör yardımcılığı ve bt uzman yardımcılığı kadrolarına çeşitli lisans bölümlerinden alım olacaktı. Bu sınav içeriği hakkında bilgi vermek amacıyla bu yazıyı kaleme alıyorum. Sınav 150 sorudan oluşmaktaydı ve verilen süre 180 dakika idi.  Zaman konusunda pek sıkıntı çekmediğimi ifade edebilirim. Soruların 70 tanesi alan, 40 tanesi genel kültür-genel yetenek soruları, 40 tanesi ise ingilizce sorularından oluşmaktaydı. Alan bölümü elektronik ve bilişim olarak ikiye ayrılıyordu. Zaten başvuru esnasında hangi alandan girmek istediğinizi belirtiyorsunuz. Ben bilişim alanından bu sınava girdim. Bilişim sorularının içeriğinden bahsedeyim. Sorular ağırlıklı olarak algoritma mantığına dayalı idi. Üniversitedeki sınavlarınızdan hatırlarsınız bir kod parçası verilir ve ekran çıktısı ne olur tarzında sorular vardır. Bu tarz sorulardan 4-5 adet vardı. Bir adet pointer sorusu vardı. Pointer'ın c# dilinde nasıl tanımlandığı ile ilgiliydi. Algoritmalar dersinden hatırlarsınız sıralama algoritmalarının complexity'si  nedir tarzı sorular, bir kod parçası verip bu hangi sıralama algoritmasına aittir tarzı sorular (bubble sort, insertion sort, selection sort...) ,Yukarıdaki kod parçası hata vermektedir hatayı gideren şıkkı seçin tarzı sorular, mvc mimarisi hakkında sorular (bu konunun beni zorladığını söylemeliyim sınava kadar bu mimariyle yolum hiç kesişmemişti), tree treversal sorusu (inorder, preorder, postorder) kapılarla ilgi soru da vardı arkadaşlar, and or xor kapılarına iyi çalışın sınavda hangi sembolün hangi kapıya ait olduğunu hatırlamak zorlayabiliyor,  mantık sorusu gibi sorular vardı. Genel yetenek çok kolaydı arkadaşlar sakın ola ki çalışalım gibi bir hataya düşmeyin. Onun yerine gidin alan sınavına çalışın.Zaten gy-gk sınav ağırlığı çok düşük.  Türkçe: paragrafta ne anlatılmak isteniyor tarzı 5-6 sorudan oluşmaktaydı matematik ise 4 işlem olarak tabir edilen ygs matematiği idi. Köklü sayılar, denklem çözme, yaş problemleri, olasılık kombinasyon sorularından oluşuyordu. Yaklaşık 10-15 adet soru. Genel kültür ise tarih ve coğrafya konularını kapsamaktaydı. Bunda konuları bir kere okuyarak sınava girmenizde fayda var gibi. Açıkçası direk bilgi içeren sorular vardı. Aşağıdaki anadolu uygarlığı başkent eşleştirmelerinden hangisi doğrudur gibi. Cevap sanırım lidyalılar-sard olacaktı. Gelelim ingilizeceye. İngilizce uzun paragraflardan oluşmaktaydı. Yukarıdaki cümlenin ingilizce çevirisi, ingilizce verilen cümlenin en yakın türkçe çevirisi, verilen ingilizce paragrafta anlam akışını bozan cümle, verilen boşluğu hangi ingilizce cümle ile tamamlamalı, kelime boşluk doldurma, yukarıdaki metnin ana fikri gibi sorular yer almaktaydı. Gerçekten reading ingilizcenizin iyi olmasında fayda var. Benim anlatacaklarım bu kadar. Eğer aklıma gelen sorular olursa yazıyı güncellerim. Bu linkten sınav hakkında detaylı bilgiler edinebilirsiniz. Sorularınız olursa da yorum atın en kısa cevaplamaya çalışırım. İyi günler diliyorum. 

27 Temmuz 2016 Çarşamba

MapInfo_Ders8

Artık projenin son demlerine yaklaşıyoruz. Projeye başlarken haritanın anket şirketlerinin yakın tahminlerine göre şirketin rengine boyanacağından bahsetmiştik. Yani gerçek seçim sonucuna en yakın tahmini veren şirketin rengi ilin rengi olacaktı. Yapacağımız bu işleme tematik adı verilmektedir. Yani haritayı tematik harita yapacağız bu sebeple formumuza koymuş olacağımız tematik analizler butonunu kodlamaya başlayalım. Ama öncelikle bir form daha oluşturalım. Bu formun adı yazmış olduğum programda form2 olarak geçmektedir. Formun tasarımı aşağıdaki resimde görüldüğü gibi olacaktır. 
Bu form üzerinde 6 adet buton vardır. butonlara birer renk ekledik. Böylelikle hangi rengin hangi şirkete ait olduğu görülmüş olacak. Parti isimlerinin yer aldığı bir adet listbox ve payların bölüneceği range kısmı bulunmaktadır. Range renkleri oluşturmamızı sağlayacaktır. Eğer listboxtan bir parti bir seçip tümü butonuna basarsanız şirketleri sıralayan bir tematik oluşturacaktır. Ancak parti seçip şirket adını seçerseniz şirketin en yakın tahminden en uzak tahmine göre  iller koyudan açığa tematiklendirilecektir.
Aşağıdaki örneğe göre Türkiye'de Akp için en doğru tahmini veren şirket AKAM anket şirketi olarak görülmektedir.
Chp için bakacak olursak ;
Doğu illerinde Türkiye genelinde ve ağırlıklı olarak doğu illerinde Andy-Ar Başarılı iken iç anadoluda metropol şirketi daha başarılı çalışmalar vermiştir. Ayrıca sol alt köşede ne kadarlık bir yanılma payının olduğunu da görebilirsiniz. Sol alt köşedeki alana cartografic legend denmektedir. hangi rengin ne kadarlık bir farkı ifade ettiğine buradan bakabilirsiniz.
Form2 kodları aşağıdaki gibidir. 

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Secim
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }
       
         
        private void button1_Click(object sender, EventArgs e)
        {
            string p = panel1.Handle.ToString();
            int n = Convert.ToInt16(textBox1.Text);
            string thematic_column = string.Empty;

            if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[0]))
            {
                try
                {

                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (FARK_AKP Float)From AKAM_ICIN Set To FARK_AKP Where COL1 = COL2");
                }
                catch
                {
                }
                thematic_column = "FARK_AKP";
                Form1.mi.Do("select FARK_AKP from Iller order by FARK_AKP  into sel");
            }
            else if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[1]))
            {
                try
                {
                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (FARK_CHP Float)From AKAM_ICIN Set To FARK_CHP Where COL1 = COL2");
                }
                catch
                {
                }
                Form1.mi.Do("select FARK_CHP from Iller order by FARK_CHP into sel");
                thematic_column = "FARK_CHP";
            }
            else if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[2]))
            {
                try
                {
                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (FARK_HDP Float)From AKAM_ICIN Set To FARK_HDP Where COL1 = COL2");
                }
                catch
                {
                }
                Form1.mi.Do("select FARK_HDP from Iller order by FARK_HDP into sel");
                thematic_column = "FARK_HDP";
            }
            else if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[3]))
            {
                try
                {
                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (FARK_MHP Float)From AKAM_ICIN Set To FARK_MHP Where COL1 = COL2");
                }
                catch
                {
                }
                Form1.mi.Do("select FARK_MHP from Iller order by FARK_MHP into sel");
                thematic_column = "FARK_MHP";
            }
            // TEMATİKKK OLUŞTURMA


            int range = Convert.ToInt16(Form1.mi.Eval("int(tableinfo(sel,8)/" + Convert.ToString(n) + ")"));
            int c_range = Convert.ToInt16(255 / n);

            //----------part 2 -----
            Form1.mi.Do("fetch first from sel");
            string r1 = Convert.ToString(Form1.mi.Eval("sel.col1"));
            string r2 = string.Empty;
            string cmstr = string.Empty;

            for (int i = 1; i < n; i++)
            {
                Form1.mi.Do("fetch rec " + Convert.ToString(i * range) + " from sel");
                r2 = Convert.ToString(Form1.mi.Eval("sel.col1"));
                string rgb = Convert.ToString(Form1.mi.Eval("RGB(" + Convert.ToString((n - i) * c_range) + "," + Convert.ToString((n - i) * c_range) + ",255)"));
                cmstr = cmstr + r1 + ":" + r2 + " brush(2," + rgb + ",16777215), ";
                r1 = r2;
            }

            Form1.mi.Do("fetch last from sel");
            r2 = Convert.ToString(Form1.mi.Eval("sel.col1"));
            cmstr = cmstr + r1 + ":" + r2 + " brush(2,255,16777215)";


            Form1.mi.Do("shade window " + Form1.win_id + " iller with " + thematic_column + " ranges apply all use color Brush (2,16711680,16777215) " + cmstr);
            Form1.mi.Do("Set Next Document Parent " + p + " Style 1");
            Form1.mi.Do("Create Cartographic Legend From Window " + Form1.win_id + " Behind Frame From Layer 2");
            Form1.mi.Do("select * from iller where plaka_no =\"82\" into sel");
            
        }


        //TEMATİK SİLME

        public void removetematik()
        {
            for (int k = Convert.ToInt16(Form1.mi.Eval("mapperinfo(" + Form1.win_id + ",9)")); k > 0; k = k - 1)
            {
                if (Convert.ToInt16(Form1.mi.Eval("layerinfo(" + Form1.win_id + "," + Convert.ToString(k) + ",24)")) == 3)
                {
                    Form1.mi.Do("remove map layer \"" + Form1.mi.Eval("layerinfo(" + Form1.win_id + "," + Convert.ToString(k) + ",1)") + "\"");
                }
            }
        }

        private void button2_Click(object sender, EventArgs e)
        {
            int n = Convert.ToInt16(textBox1.Text);
           string thematic_column = string.Empty;
            removetematik();
        }

      
        private void button4_Click(object sender, EventArgs e)
        {
            string p = panel1.Handle.ToString();
            int n = Convert.ToInt16(textBox1.Text);
            string thematic_column = string.Empty;

            if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[0]))
            {
                try
                {

                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (FARK_AKP_2 Float)From METROPOLL_ICIN Set To FARK_AKP Where COL1 = COL2");
                }
                catch
                {
                }
                thematic_column = "FARK_AKP_2";
                Form1.mi.Do("select FARK_AKP_2 from Iller order by FARK_AKP_2  into sel");
            }
            else if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[1]))
            {
                try
                {
                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (FARK_CHP_2 Float)From METROPOLL_ICIN Set To FARK_CHP Where COL1 = COL2");
                }
                catch
                {
                }
                Form1.mi.Do("select FARK_CHP_2 from Iller order by FARK_CHP_2 into sel");
                thematic_column = "FARK_CHP_2";
            }
            else if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[2]))
            {
                try
                {
                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (FARK_HDP_2 Float)From METROPOLL_ICIN Set To FARK_HDP Where COL1 = COL2");
                }
                catch
                {
                }
                Form1.mi.Do("select FARK_HDP_2 from Iller order by FARK_HDP_2 into sel");
                thematic_column = "FARK_HDP_2";
            }
            else if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[3]))
            {
                try
                {
                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (FARK_MHP_2 Float)From METROPOLL_ICIN Set To FARK_MHP Where COL1 = COL2");
                }
                catch
                {
                }
                Form1.mi.Do("select FARK_MHP_2 from Iller order by FARK_MHP_2 into sel");
                thematic_column = "FARK_MHP_2";
            }
            // TEMATİKKK OLUŞTURMA


            int range = Convert.ToInt16(Form1.mi.Eval("int(tableinfo(sel,8)/" + Convert.ToString(n) + ")"));
            int c_range = Convert.ToInt16(255 / n);

            //----------part 2 -----
            Form1.mi.Do("fetch first from sel");
            string r1 = Convert.ToString(Form1.mi.Eval("sel.col1"));
            string r2 = string.Empty;
            string cmstr = string.Empty;

            for (int i = 1; i < n; i++)
            {
                Form1.mi.Do("fetch rec " + Convert.ToString(i * range) + " from sel");
                r2 = Convert.ToString(Form1.mi.Eval("sel.col1"));
                string rgb = Convert.ToString(Form1.mi.Eval("RGB(" + Convert.ToString((n - i) * c_range) + "," + Convert.ToString((n - i) * c_range) + ",255)"));
                cmstr = cmstr + r1 + ":" + r2 + " brush(2," + rgb + ",16777215), ";
                r1 = r2;
            }

            Form1.mi.Do("fetch last from sel");
            r2 = Convert.ToString(Form1.mi.Eval("sel.col1"));
            cmstr = cmstr + r1 + ":" + r2 + " brush(2,255,16777215)";


            Form1.mi.Do("shade window " + Form1.win_id + " iller with " + thematic_column + " ranges apply all use color Brush (2,16711680,16777215) " + cmstr);
            Form1.mi.Do("Set Next Document Parent " + p + " Style 1");
            Form1.mi.Do("Create Cartographic Legend From Window " + Form1.win_id + " Behind Frame From Layer 2");
            Form1.mi.Do("select * from iller where plaka_no =\"82\" into sel");
        }

        private void button6_Click(object sender, EventArgs e)
        {
            int n = Convert.ToInt16(textBox1.Text);
            string p = panel1.Handle.ToString();
            string thematic_column = string.Empty;

            if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[0]))
            {
                try
                {

                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (FARK_AKP_3 Float)From ANDY_AR_ICIN Set To FARK_AKP Where COL1 = COL2");
                }
                catch
                {
                }
                
                Form1.mi.Do("select FARK_AKP_3 from Iller order by FARK_AKP_3  into sel");
                thematic_column = "FARK_AKP_3";
            }
            else if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[1]))
            {
                try
                {
                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (FARK_CHP_3 Float)From ANDY_AR_ICIN Set To FARK_CHP Where COL1 = COL2");
                }
                catch
                {
                }
                Form1.mi.Do("select FARK_CHP_3 from Iller order by FARK_CHP_3 into sel");
                thematic_column = "FARK_CHP_3";
            }
            else if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[2]))
            {
                try
                {
                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (FARK_HDP_3 Float)From ANDY_AR_ICIN Set To FARK_HDP Where COL1 = COL2");
                }
                catch
                {
                }
                Form1.mi.Do("select FARK_HDP_3 from Iller order by FARK_HDP_3 into sel");
                thematic_column = "FARK_HDP_3";
            }
            else if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[3]))
            {
                try
                {
                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (FARK_MHP_3 Float)From ANDY_AR_ICIN Set To FARK_MHP Where COL1 = COL2");
                }
                catch
                {
                }
                Form1.mi.Do("select FARK_MHP_3 from Iller order by FARK_MHP_3 into sel");
                thematic_column = "FARK_MHP_3";
            }
            // TEMATİKKK OLUŞTURMA


            int range = Convert.ToInt16(Form1.mi.Eval("int(tableinfo(sel,8)/" + Convert.ToString(n) + ")"));
            int c_range = Convert.ToInt16(255 / n);

            //----------part 2 -----
            Form1.mi.Do("fetch first from sel");
            string r1 = Convert.ToString(Form1.mi.Eval("sel.col1"));
            string r2 = string.Empty;
            string cmstr = string.Empty;

            for (int i = 1; i < n; i++)
            {
                Form1.mi.Do("fetch rec " + Convert.ToString(i * range) + " from sel");
                r2 = Convert.ToString(Form1.mi.Eval("sel.col1"));
                string rgb = Convert.ToString(Form1.mi.Eval("RGB(" + Convert.ToString((n - i) * c_range) + "," + Convert.ToString((n - i) * c_range) + ",255)"));
                cmstr = cmstr + r1 + ":" + r2 + " brush(2," + rgb + ",16777215), ";
                r1 = r2;
            }

            Form1.mi.Do("fetch last from sel");
            r2 = Convert.ToString(Form1.mi.Eval("sel.col1"));
            cmstr = cmstr + r1 + ":" + r2 + " brush(2,255,16777215)";


            Form1.mi.Do("shade window " + Form1.win_id + " iller with " + thematic_column + " ranges apply all use color Brush (2,16711680,16777215) " + cmstr);
            Form1.mi.Do("Set Next Document Parent " + p + " Style 1");
            Form1.mi.Do("Create Cartographic Legend From Window " + Form1.win_id + " Behind Frame From Layer 2");
            Form1.mi.Do("select * from iller where plaka_no =\"82\" into sel");
        }

        private void button5_Click(object sender, EventArgs e)
        {
            int n = Convert.ToInt16(textBox1.Text);
            string p = panel1.Handle.ToString();
            string thematic_column = string.Empty;

            if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[0]))
            {
                try
                {

                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (FARK_AKP_4 Float)From ORC_ICIN Set To FARK_AKP Where COL1 = COL2");
                }
                catch
                {
                }
                thematic_column = "FARK_AKP_4";
                Form1.mi.Do("select FARK_AKP_4 from Iller order by FARK_AKP_4  into sel");
            }
            else if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[1]))
            {
                try
                {
                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (FARK_CHP_4 Float)From ORC_ICIN Set To FARK_CHP Where COL1 = COL2");
                }
                catch
                {
                }
                thematic_column = "FARK_CHP_4";
                Form1.mi.Do("select FARK_CHP_4 from Iller order by FARK_CHP_4 into sel");
                
            }
            else if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[2]))
            {
                try
                {
                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (FARK_HDP_4 Float)From ORC_ICIN Set To FARK_HDP Where COL1 = COL2");
                }
                catch
                { }

                thematic_column = "FARK_HDP_4";
                Form1.mi.Do("select FARK_HDP_4 from Iller order by FARK_HDP_4 into sel");

            }
            else if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[3]))
            {
                try
                {
                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (FARK_MHP_4 Float)From ORC_ICIN Set To FARK_MHP Where COL1 = COL2");
                }
                catch
                {
                }
                thematic_column = "FARK_MHP_4";
                Form1.mi.Do("select FARK_MHP_4 from Iller order by FARK_MHP_4 into sel");

            }
            // TEMATİKKK OLUŞTURMA


            int range = Convert.ToInt16(Form1.mi.Eval("int(tableinfo(sel,8)/" + Convert.ToString(n) + ")"));
            int c_range = Convert.ToInt16(255 / n);

            //----------part 2 -----
            Form1.mi.Do("fetch first from sel");
            string r1 = Convert.ToString(Form1.mi.Eval("sel.col1"));
            string r2 = string.Empty;
            string cmstr = string.Empty;

            for (int i = 1; i < n; i++)
            {
                Form1.mi.Do("fetch rec " + Convert.ToString(i * range) + " from sel");
                r2 = Convert.ToString(Form1.mi.Eval("sel.col1"));
                string rgb = Convert.ToString(Form1.mi.Eval("RGB(" + Convert.ToString((n - i) * c_range) + "," + Convert.ToString((n - i) * c_range) + ",255)"));
                cmstr = cmstr + r1 + ":" + r2 + " brush(2," + rgb + ",16777215), ";
                r1 = r2;
            }

            Form1.mi.Do("fetch last from sel");
            r2 = Convert.ToString(Form1.mi.Eval("sel.col1"));
            cmstr = cmstr + r1 + ":" + r2 + " brush(2,255,16777215)";


            Form1.mi.Do("shade window " + Form1.win_id + " iller with " + thematic_column + " ranges apply all use color Brush (2,16711680,16777215) " + cmstr);
            Form1.mi.Do("Set Next Document Parent " + p + " Style 1");
            Form1.mi.Do("Create Cartographic Legend From Window " + Form1.win_id + " Behind Frame From Layer 2");
            Form1.mi.Do("select * from iller where plaka_no =\"82\" into sel");
        }

        private void button3_Click(object sender, EventArgs e)
        {

            int n = Convert.ToInt16(textBox1.Text);
            string p = panel1.Handle.ToString();
            string thematic_column = string.Empty;

            if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[0]))
            {
                try
                {
                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (G_AKP Float)From karsılaştırma Set To G_AKP Where COL1 = COL2");
                }
                catch
                {
                }
                thematic_column = "G_AKP";
                Form1.mi.Do("select G_AKP from Iller order by G_AKP  into sel");
            }
            else if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[1]))
            {
                try
                {
                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (G_CHP Float)From karsılaştırma Set To G_CHP Where COL1 = COL2");
                }
                catch
                {
                }
                Form1.mi.Do("select G_CHP from Iller order by G_CHP into sel");
                thematic_column = "G_CHP";
            }
            else if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[2]))
            {
                try
                {
                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (G_HDP Float)From karsılaştırma Set To G_HDP Where COL1 = COL2");
                }
                catch
                {
                }
                Form1.mi.Do("select G_HDP from Iller order by G_HDP into sel");
                thematic_column = "G_HDP";
            }
            else if (listBox1.SelectedItem.ToString().Equals(listBox1.Items[3]))
            {
                try
                {
                    Form1.mi.Do("Add Column " + "\"Iller\"" + " (G_MHP Float)From karsılaştırma Set To G_MHP Where COL1 = COL2");
                }
                catch
                {
                }
                Form1.mi.Do("select G_MHP from Iller order by G_MHP into sel");
                thematic_column = "G_MHP";
            }
            // TEMATİKKK OLUŞTURMA


            int range = Convert.ToInt16(Form1.mi.Eval("int(tableinfo(sel,8)/" + Convert.ToString(n) + ")"));
            int c_range = Convert.ToInt16(255 / n);

            //----------part 2 -----
            Form1.mi.Do("fetch first from sel");
            string r1 = Convert.ToString(Form1.mi.Eval("sel.col1"));
            string r2 = string.Empty;
            string cmstr = string.Empty;

            for (int i = 1; i < n; i++)
            {
                Form1.mi.Do("fetch rec " + Convert.ToString(i * range) + " from sel");
                r2 = Convert.ToString(Form1.mi.Eval("sel.col1"));
                string rgb = Convert.ToString(Form1.mi.Eval("RGB(" + Convert.ToString((n - i) * c_range) + "," + Convert.ToString((n - i) * c_range) + ",255)"));
                cmstr = cmstr + r1 + ":" + r2 + " brush(2," + rgb + ",16777215), ";
                r1 = r2;
            }

            Form1.mi.Do("fetch last from sel");
            r2 = Convert.ToString(Form1.mi.Eval("sel.col1"));
            cmstr = cmstr + r1 + ":" + r2 + " brush(2,255,16777215)";


            Form1.mi.Do("shade window " + Form1.win_id + " iller with " + thematic_column + " ranges apply all use color Brush (2,16711680,16777215) " + cmstr);
            Form1.mi.Do("Set Next Document Parent " + p + " Style 1");
            Form1.mi.Do("Create Cartographic Legend From Window " + Form1.win_id + " Behind Frame From Layer 2");
            Form1.mi.Do("select * from iller where plaka_no =\"82\" into sel");
        }

        public void Form2_Load(object sender, EventArgs e)
        {
            
            
        }
       
        private void panel1_Paint(object sender, PaintEventArgs e)
        {

        }

        private void panel1_Paint_1(object sender, PaintEventArgs e)
        {

        }

        public string p { get; set; }
    }
}
Burada kodları tek tek açıklama gereksinimi duymuyorum Çünkü daha önceki derslerde mapinfo komutlarını açıklamıştım. Komutların içeriği ise sıradan bildiğimiz sql sorguları. Bu formun içerisindeki en önemli kodlama tematiğin yapıldığı kodlamadır. Bu kodlama içeriğinde iller teker teker taranmış sütunlar fark değerlerine göre karşılaştırılmıştır. Karşılaştırılmaya göre de renklendirme yapılmıştır. Projemiz burada sona erdi umarım bu anlatımın size bir faydası dokunur.  Kolay gelmesi dileğiyle...