void frmDriverReport_Load(object sender, EventArgs e)
        {
            ComboFunctions.FillCompanyCombo(ddlCompany);

            ComboFunctions.FillDriverNoComboSorted(ddlDriver);
            dtpFromDate.Value = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1);
            dtpTillDate.Value = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.LastDayOfMonthValue());

            IsLoaded = true;
        }
        private void LoadData()
        {
            try
            {
                ComboFunctions.FillDriverNoComboSorted(ddl_Driver);
                ddl_Driver.KeyUp += new KeyEventHandler(ddl_Driver_KeyUp);
                ddl_Driver.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(ddlDriver_SelectedIndexChanged);

                this.Shown += new EventHandler(frmSearchDriver_Shown);
            }
            catch
            {
            }
        }
Esempio n. 3
0
 private void FillCombo()
 {
     ComboFunctions.FillDriverNoComboSorted(ddlAllDriver);
 }