Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            BaseRepository <CariGrup> c = new CariGrupRepository();
            string       path           = "";
            var          fbd            = new FolderBrowserDialog();
            DialogResult d = fbd.ShowDialog();

            if (d == DialogResult.OK)
            {
                path = fbd.SelectedPath;
            }
            c.YedekAl(path);
            label1.Text = "Yedek alındı.";
        }