private void btnKaydet1_Click(object sender, EventArgs e)
        {
            if (!VerifyTexts1())
            {
                return;
            }

            Model.OdulCezaModel model = new Model.OdulCezaModel();

            model.ID      = selectedid;
            model.Ad      = txtAd1.Text;
            model.Tur     = cmbTur1.Text;
            model.Aralik1 = Convert.ToInt32(txtAralik11.Text);
            model.Aralik2 = Convert.ToInt32(txtAralik21.Text);

            Database.Update.OdulveCezaGuncelle(model);
            main.YenidenCiz();
        }
        private void btmKaydet_Click(object sender, EventArgs e)
        {
            if (!VerifyTexts())
            {
                return;
            }

            Model.OdulCezaModel model = new Model.OdulCezaModel();

            model.ID      = 0;
            model.Ad      = txtAd.Text;
            model.Tur     = cmbTur.SelectedItem.ToString();
            model.Aralik1 = Convert.ToInt32(txtAralik1.Text);
            model.Aralik2 = Convert.ToInt32(txtAralik2.Text);

            Database.Insert.OdulCezaEkleme(model);
            temizle();
            main.YenidenCiz();
        }