private void 备案确认情况查询_Load(object sender, EventArgs e) { m_信息区Grid = base.AssociateArchiveGrid(pnl信息区, "查询统计_备案确认情况查询") as ArchiveUnboundGrid; m_信息区Grid.DataRowTemplate.Cells["预录入号"].DoubleClick += new EventHandler(备案确认情况查询_DoubleClick); m_信息区Grid.ChangeControlPositionAccordColumn(lbl反馈区, "任务号"); Helper.SetGridDefault(this, m_信息区Grid); }
private void 任务正式备案_Load(object sender, EventArgs e) { m_rightGrid = base.AssociateArchiveGrid(pnl任务预备案信息区, m_gridName) as ArchiveUnboundGrid; m_cm = m_rightGrid.ControlManager as IWindowControlManager; m_rightGrid.DataRowTemplate.Cells["预录入号"].DoubleClick += new EventHandler(任务正式备案_DoubleClick); m_rightGrid.DataRowTemplate.Cells["确认"].DoubleClick += new EventHandler(任务正式备案_DoubleClick); m_rightGrid.DataRowTemplate.Cells["拒绝"].DoubleClick += new EventHandler(任务正式备案_DoubleClick); m_rightGrid.ChangeControlPositionAccordColumn(lbl备案确认区, "确认"); m_rightGrid.ChangeControlPositionAccordColumn(btn批量确认, "确认"); Helper.SetGridDefault(this, m_rightGrid); m_cm.DisplayManager.SearchManager.LoadData(); }