private void button_araba_ekle_Click(object sender, EventArgs e)
        {
            Araba nesne = new Araba()
            {
                ArabaID           = (comboBox_araba_ID.SelectedIndex != -1) ? Convert.ToInt32(comboBox_araba_ID.Text) : 1,
                Araba_Marka       = textBox_araba_marka.Text,
                Araba_Model       = textBox_araba_model.Text,
                Araba_RenkID      = Convert.ToInt32(textBox_araba_renkID.Text),
                Araba_VitesTuruID = Convert.ToInt32(textBox_araba_vtID.Text),
                Araba_YakitTuruID = Convert.ToInt32(textBox_araba_ytID.Text),
            };

            DB_Ekle dbIslem = new DB_Ekle();
            bool    result  = dbIslem.ArabaEkle(nesne);

            SonucGoster(result);
        }
        private void button_ilan_ekle_Click(object sender, EventArgs e)
        {
            Ilan ilan = new Ilan()
            {
                IlanID       = (comboBox_ilanID.SelectedIndex != -1) ? Convert.ToInt32(comboBox_ilanID.Text) : 1,
                Ilan_SehirID = Convert.ToInt32(textBox_ilan_sehirID.Text),
                Ilan_ArabaID = Convert.ToInt32(textBox_ilan_arabaID.Text),
                Ilan_Adi     = textBox_ilan_ad.Text,
                Ilan_Fiyat   = Convert.ToDouble(textBox_ilan_fiyat.Text),
                Ilan_Km      = Convert.ToDouble(textBox_ilan_km.Text),
                Ilan_Tarih   = Convert.ToDateTime(textBox_ilan_tarih.Text),
            };

            DB_Ekle dbIslem = new DB_Ekle();
            bool    result  = dbIslem.IlanEkle(ilan);

            SonucGoster(result);
        }