public frmCompanyVehcile() { InitializeComponent(); InitializeConstructor(); ComboFunctions.FillSubCompanyCombo(ddlSubCompany); ComboFunctions.FillVehicleTypeCombo(ddlVehicleType); ComboFunctions.FillVehicleColorsCombo(ddlVehicleColor); ComboFunctions.FillFuelTypeCombo(ddlFuelType); btnInsuranceExpiryBrowsing.Click += new EventHandler(btnInsuranceExpiryBrowsing_Click); btnMOTExpiryBrowsing.Click += new EventHandler(btnMOTExpiryBrowsing_Click); btnRoadTaxExpiryBrowsing.Click += new EventHandler(btnRoadTaxExpiryBrowsing_Click); btnPlateExpiryBrowsing.Click += new EventHandler(btnPlateExpiryBrowsing_Click); btnPlateExpiryBrowsing2.Click += new EventHandler(btnPlateExpiryBrowsing2_Click); btnPlateExpiryBrowsing3.Click += new EventHandler(btnPlateExpiryBrowsing3_Click); btnVehicleBookBrowsing.Click += new EventHandler(btnVehicleBookBrowsing_Click); btnPlateExpiryView.Click += new EventHandler(btnPlateExpiryView_Click); btnPlateExpiryView2.Click += new EventHandler(btnPlateExpiryView2_Click); btnPlateExpiryView3.Click += new EventHandler(btnPlateExpiryView3_Click); btnMOTExpiryView.Click += new EventHandler(btnMOTExpiryView_Click); btnInsuranceExpiryView.Click += new EventHandler(btnInsuranceExpiryView_Click); btnRoadTaxExpiryView.Click += new EventHandler(btnRoadTaxExpiryView_Click); btnVehicleBookView.Click += new EventHandler(btnVehicleBookView_Click); btnInsuranceExpiryClear.Click += new EventHandler(btnInsuranceExpiryClear_Click); btnMOTExpiryClear.Click += new EventHandler(btnMOTExpiryClear_Click); btnPlateExpiryClear.Click += new EventHandler(btnPlateExpiryClear_Click); btnPlateExpiryClear2.Click += new EventHandler(btnPlateExpiryClear2_Click); btnPlateExpiryClear3.Click += new EventHandler(btnPlateExpiryClear3_Click); btnRoadTaxExpiryClear.Click += new EventHandler(btnRoadTaxExpiryClear_Click); btnVehicleBookClear.Click += new EventHandler(btnVehicleBookClear_Click); }