private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         string source = Globals.Globals.GetPathFromFullname(Application.ExecutablePath) + "\\WeightsOrganizer.mdb";
         string gola   = textBox1.Text + "\\WeightsOrganizer.mdb";
         if (!File.Exists(source))
         {
             System.Windows.Forms.MessageBox.Show("الرجاء التاكد من المدخلات..الملف المصدر"); return;
         }
         ExportAndImportDbaseAsFile n = new ExportAndImportDbaseAsFile(source, gola);
         fthread = new Thread(new ThreadStart(n.Copy));
         fthread.IsBackground = true;
         fthread.Start();
         timer1.Enabled = true;
     }
     catch { MessageBox.Show("يوجد خطأ"); }
 }
 public void CreateEmptyDataBase()
 {
     try
     {
         textBox2.Text = Globals.Globals.GetPathFromFullname(Application.ExecutablePath);
         this.Show();
         this.Enabled = false;
         string source = textBox2.Text + "\\Empty.mdb";
         string gola   = Globals.Globals.GetPathFromFullname(Application.ExecutablePath) + "\\WeightsOrganizer.mdb";
         if (!File.Exists(source))
         {
             System.Windows.Forms.MessageBox.Show("الرجاء التاكد من المدخلات..الملف المصدر"); return;
         }
         ExportAndImportDbaseAsFile n = new ExportAndImportDbaseAsFile(source, gola);
         fthread = new Thread(new ThreadStart(n.Copy));
         fthread.IsBackground = true;
         fthread.Start();
         timer1.Enabled = true;
     }
     catch { MessageBox.Show("يوجد خطأ"); }
 }