// int pageSize = 0; public frmEscortList() { try { InitializeComponent(); this.Load += new EventHandler(frmCompanyList_Load); LoadCompanyList(); //skip = 0; //txtSearch.Text = string.Empty; // PopulateData(); grdLister.CellDoubleClick += new GridViewCellEventHandler(grdLister_CellDoubleClick); grdLister.RowsChanging += new Telerik.WinControls.UI.GridViewCollectionChangingEventHandler(Grid_RowsChanging); objMaster = new Gen_EscortBO(); this.SetProperties((INavigation)objMaster); grdLister.CommandCellClick += new CommandCellClickEventHandler(grid_CommandCellClick); grdLister.ShowRowHeaderColumn = false; //this.Shown += new EventHandler(frmCompanyList_Shown); //PopulateData(); //---- adil grdLister.ShowGroupPanel = false; // pageSize = AppVars.objPolicyConfiguration.ListingPagingSize.ToInt(); //grdLister.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill; } catch (Exception ex) { //ex.Message ENUtils.ShowMessage(ex.Message); } }
private void InitializeConstructor() { objMaster = new Gen_EscortBO(); this.SetProperties((INavigation)objMaster); //timer1.Tick += new EventHandler(timer1_Tick); txtAddress1.ListBoxElement.Width = 400; //txtAddress2.ListBoxElement.Width = 400; this.Shown += new EventHandler(frmCustomer_Shown); }