Beispiel #1
0
        private void txtYedekKonum_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            FolderBrowserDialog form = new FolderBrowserDialog();

            if (form.ShowDialog() == DialogResult.OK)
            {
                txtYedekKonum.Text = form.SelectedPath;
                SettingsTool.AyarDegistir(SettingsTool.Ayarlar.YedeklemeAyarlari_YedeklemeKonumu, txtYedekKonum.Text);
                SettingsTool.Kaydet();
            }
        }
Beispiel #2
0
        private void btnKaydet_Click(object sender, EventArgs e)
        {
            BaglantiCumleOlustur();
            connectionStringBuilder.InitialCatalog = "master";

            if (ConnectionTool.CheckConnection(connectionStringBuilder.ConnectionString))
            {
                labelControl6.Text = "Durum : Sunucu ile Bağlantı Başarılı.";
                SettingsTool.AyarDegistir(SettingsTool.Ayarlar.DataBaseAyarlari_BaglantiCumlesi, connectionStringBuilder.ConnectionString);
                SettingsTool.Kaydet();
                kayitedildi = true;
                this.Close();
            }
            else
            {
                labelControl6.Text = "Durum : Sunucu ile Bağlantı Başarısız.";
            }
        }