private void frmChart_Load(object sender, System.EventArgs e) { try { this.dtTo.Value = this.dtFrom.Value.AddDays(1); tools.CPaintForm.paintCountry(this.cmbCountry); tools.CPaintForm.paintWell(this.cmbCountry.Text, this.trvDep); this.chkLeft.Checked = true; this.paintChart(""); CDBConnection.refreshHis(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }