private void button1_Click(object sender, System.EventArgs e)
        {
            DateTime dt     = DateTime.Now;
            int      toplam = dt.Year + dt.Day + dt.Month + dt.Hour;
            string   sifre  = toplam.ToString() + "00";

            if (textBox1.Text == sifre)
            {
                this.Enabled = false;
                ConfigurationForm cf = new ConfigurationForm();
                cf.ShowDialog();
                this.Enabled = true;
            }
            else
            {
                MessageBox.Show("Hatalý þifre!");
                this.Close();
            }
        }
        public Form1()
        {
            cf = new ConfigurationForm();

            if (!config.IsConfigured)
            {
                this.Enabled = false;
                cf.ShowDialog();
                this.Enabled = true;
            }
            config.SetProertyes();

            bool aktarma = true;


            if (!File.Exists("ankara.sdf"))
            {
                DB d = new DB(config);
                aktarma = false;
            }



            Ceconn = config.CeConn;
            Ceconn.Open();


            if (!aktarma)
            {
                this.Enabled = false;
                AktarmalarForm af = new AktarmalarForm(config);
                af.ShowDialog();
                this.Enabled = true;
            }



            /*
             * cf = new ConfigurationForm();
             *
             *
             * if(!config.IsDbExist)
             * {
             *      this.Enabled=false;
             *
             *
             *      this.Enabled=true;
             * }
             *
             *
             *
             *
             * this.Enabled=false;
             * if(!config.IsConfigured)
             * {
             *
             *      cf.ShowDialog();
             *
             * }
             * else
             * {
             *      config.SetProertyes();
             * }
             *
             * this.Enabled=true;
             */

            InitializeComponent();
        }