public Form1() { InitializeComponent(); db = new thisDatabase(); disp_list(); myReportDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument(); crParameterValues = new ParameterValues(); crParameterDiscreteValue = new ParameterDiscreteValue(); // g_time = db.get_m99time(); //MaximizeBox = true; MinimizeBox = true; // g_number = db.get_m99smsrecipient(); comp_name = db.get_m99comp_name(); comp_addr = db.get_m99comp_addr(); bgWorker.RunWorkerAsync(); }