private void btExport_Click(object sender, EventArgs e)
 {
     try
     {
         MemoryStream ms = new MemoryStream();
         MySqlConnection conn = new MySqlConnection(Program.ConnectionString);
         MySqlCommand cmd = new MySqlCommand();
         MySqlBackup mb = new MySqlBackup(cmd);
         cmd.Connection = conn;
         conn.Open();
         mb.ExportToMemoryStream(ms);
         conn.Close();
         LoadIntoMemory(ms.ToArray());
         MessageBox.Show("Finished.");
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }