protected void Page_Load(object sender, System.EventArgs e) { //this.pagerSizeSelector.Readonly = true; this.gridHelper = new GridHelperNew(this.gridWebGrid, this.DtSource); this.txtOQCLotQuery.Text = this.GetRequestParam("oqclot"); this._gridHelper = new GridHelperNew(this.gridWebGrid, this.DtSource); this._helper = new WebQueryHelperNew(null, this.cmdGridExport, this.gridWebGrid, this.pagerSizeSelector, this.pagerToolBar, this.languageComponent1, this.DtSource); this._helper.LoadGridDataSource += new EventHandler(_helper_LoadGridDataSource); this._helper.DomainObjectToGridRow += new EventHandler(_helper_DomainObjectToGridRow); this._helper.DomainObjectToExportRow += new EventHandler(_helper_DomainObjectToExportRow); this._helper.GetExportHeadText += new EventHandler(_helper_GetExportHeadText); //this.gridWebGrid.DisplayLayout.CellClickActionDefault = CellClickAction.NotSet; if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); this._initialWebGrid(); this._helper.Query(sender); } }
//protected GridHelper gridHelper = null; protected void Page_Load(object sender, System.EventArgs e) { this.gridHelper = new GridHelperNew(this.gridWebGrid, DtSource); this._helper = new WebQueryHelperNew(this.cmdQuery, this.cmdGridExport, this.gridWebGrid, this.pagerSizeSelector, this.pagerToolBar, this.languageComponent1, DtSource); this._helper.LoadGridDataSource += new EventHandler(_helper_LoadGridDataSource); this._helper.DomainObjectToGridRow += new EventHandler(_helper_DomainObjectToGridRow); this._helper.DomainObjectToExportRow += new EventHandler(_helper_DomainObjectToExportRow); this._helper.GetExportHeadText += new EventHandler(_helper_GetExportHeadText); //this._helper.GridCellClick += new EventHandler(_helper_GridCellClick); CheckBoxListBuilder builder = new CheckBoxListBuilder( new RMAVisibleStyle2(), this.CheckBoxList1, this.languageComponent1); if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); this._initialWebGrid(); builder.Build(); this.tbOWC1.Visible = false; this.tbOWC2.Visible = false; foreach (ListItem listItem in CheckBoxList1.Items) { listItem.Selected = true; } this.dateStartDateQuery.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(System.DateTime.Now)); this.dateEndDateQuery.Text = this.dateStartDateQuery.Text; } }
protected void Page_Load(object sender, System.EventArgs e) { this.gridHelper = new GridHelperNew(this.gridWebGrid, DtSource); if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); this._initialWebGrid(); txtDateFrom.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(DateTime.Today)); txtDateTo.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(DateTime.Today)); this.drpSPStatusQuery.Items.Clear(); this.drpSPStatusQuery.Items.Add(new ListItem("", "")); new DropDownListBuilder2(new SolderPasteStatus(), this.drpSPStatusQuery, this.languageComponent1).Build(); } this._helper = new WebQueryHelperNew(this.cmdQuery, this.cmdGridExport, this.gridWebGrid, this.pagerSizeSelector, this.pagerToolBar, this.languageComponent1, DtSource); this._helper.LoadGridDataSource += new EventHandler(_helper_LoadGridDataSource); this._helper.DomainObjectToGridRow += new EventHandler(_helper_DomainObjectToGridRow); this._helper.DomainObjectToExportRow += new EventHandler(_helper_DomainObjectToExportRow); this._helper.GetExportHeadText += new EventHandler(_helper_GetExportHeadText); }
protected void Page_Load(object sender, System.EventArgs e) { //this.pagerSizeSelector.Readonly = true; this.gridHelper = new GridHelperNew(this.gridWebGrid, this.DtSource); this.txtKeypartsQuery.Text = this.GetRequestParam("Keyparts"); this.txtKeyparts.Text = this.GetRequestParam("MCARD"); this._gridHelper = new GridHelperNew(this.gridWebGrid, this.DtSource); this._helper = new WebQueryHelperNew(null, this.cmdGridExport, this.gridWebGrid, this.pagerSizeSelector, this.pagerToolBar, this.languageComponent1, this.DtSource); this._helper.LoadGridDataSource += new EventHandler(_helper_LoadGridDataSource); this._helper.DomainObjectToGridRow += new EventHandler(_helper_DomainObjectToGridRow); this._helper.DomainObjectToExportRow += new EventHandler(_helper_DomainObjectToExportRow); this._helper.GetExportHeadText += new EventHandler(_helper_GetExportHeadText); if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); this._initialWebGrid(); this._helper.Query(sender); } }
//GridHelper gridHelper = null; protected void Page_Load(object sender, System.EventArgs e) { this.gridHelper = new GridHelperNew(this.gridWebGrid, DtSource); this._helper = new WebQueryHelperNew(this.cmdQuery, this.cmdGridExport, this.gridWebGrid, this.pagerSizeSelector, this.pagerToolBar, this.languageComponent1, DtSource); this._helper.LoadGridDataSource += new EventHandler(_helper_LoadGridDataSource); this._helper.DomainObjectToGridRow += new EventHandler(_helper_DomainObjectToGridRow); this._helper.DomainObjectToExportRow += new EventHandler(_helper_DomainObjectToExportRow); this._helper.GetExportHeadText += new EventHandler(_helper_GetExportHeadText); //this._helper.GridCellClick +=new EventHandler(_helper_GridCellClick); this.txtItemCodeQuery.Target = this.MakeRedirectUrl("FItemSP.aspx"); this.txtMoCodeQuery.Target = this.MakeRedirectUrl("FMOSP.aspx"); if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); this._initialWebGrid(); this.dateStartDateQuery.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(System.DateTime.Now)); this.dateEndDateQuery.Text = this.dateStartDateQuery.Text; this.columnChart.Visible = false; } }
//protected GridHelper gridHelper = null; protected void Page_Load(object sender, System.EventArgs e) { this.gridHelper = new GridHelperNew(this.gridWebGrid, DtSource); this._helper = new WebQueryHelperNew(this.cmdQuery, this.cmdGridExport, this.gridWebGrid, this.pagerSizeSelector, this.pagerToolBar, this.languageComponent1, DtSource); this._helper.LoadGridDataSource += new EventHandler(_helper_LoadGridDataSource); this._helper.DomainObjectToGridRow += new EventHandler(_helper_DomainObjectToGridRow); this._helper.DomainObjectToExportRow += new EventHandler(_helper_DomainObjectToExportRow); this._helper.GetExportHeadText += new EventHandler(_helper_GetExportHeadText); //this._helper.GridCellClick +=new EventHandler(_helper_GridCellClick); RadioButtonListBuilder builder = new RadioButtonListBuilder( new TSInfoSummaryTarget(), this.rblSummaryTargetQuery, this.languageComponent1); if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); this._initialWebGrid(); builder.Build(); this.upDown.Value = 5; this.paretoChart.Visible = false; this.dateStartDateQuery.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(System.DateTime.Now)); this.dateEndDateQuery.Text = this.dateStartDateQuery.Text; } RadioButtonListBuilder.FormatListControlStyle(this.rblSummaryTargetQuery, 80); }
//protected GridHelper gridHelper = null; protected void Page_Load(object sender, System.EventArgs e) { //this.pagerSizeSelector.Readonly = true; this.ViewState["Status"] = this.GetRequestParam("Status"); this.txtItemCodeQuery.Text = this.GetRequestParam("ItemCode"); this.txtMoCodeQuery.Text = this.GetRequestParam("MoCode"); this.txtOperationCodeQuery.Text = this.GetRequestParam("OperationCode"); this.txtResourceCodeQuery.Text = this.GetRequestParam("ResourceCode"); this.ViewState["StartDate"] = this.GetRequestParam("StartDate"); this.ViewState["EndDate"] = this.GetRequestParam("EndDate"); this.ViewState["MoCodes"] = this.GetRequestParam("MoCodes"); this.ViewState["ShiftDay"] = this.GetRequestParam("ShiftDay"); this.ViewState["ShiftCode"] = this.GetRequestParam("ShiftCode"); this.ViewState["IsFQC"] = this.GetRequestParam("IsFQC"); this.gridHelper = new GridHelperNew(this.gridWebGrid, DtSource); this._helper = new WebQueryHelperNew(null, this.cmdGridExport, this.gridWebGrid, this.pagerSizeSelector, this.pagerToolBar, this.languageComponent1, DtSource); this._helper.LoadGridDataSource += new EventHandler(_helper_LoadGridDataSource); this._helper.DomainObjectToGridRow += new EventHandler(_helper_DomainObjectToGridRow); this._helper.DomainObjectToExportRow += new EventHandler(_helper_DomainObjectToExportRow); this._helper.GetExportHeadText += new EventHandler(_helper_GetExportHeadText); //this._helper.GridCellClick +=new EventHandler(_helper_GridCellClick); if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); this._initialWebGrid(); this._helper.Query(sender); } }
//protected GridHelper gridHelper = null; protected void Page_Load(object sender, System.EventArgs e) { this.gridHelper = new GridHelperNew(this.gridWebGrid, DtSource); this._helper = new WebQueryHelperNew(this.cmdQuery, this.cmdGridExport, this.gridWebGrid, this.pagerSizeSelector, this.pagerToolBar, this.languageComponent1, DtSource); this._helper.LoadGridDataSource += new EventHandler(_helper_LoadGridDataSource); this._helper.DomainObjectToGridRow += new EventHandler(_helper_DomainObjectToGridRow); this._helper.DomainObjectToExportRow += new EventHandler(_helper_DomainObjectToExportRow); this._helper.GetExportHeadText += new EventHandler(_helper_GetExportHeadText); //this._helper.GridCellClick += new EventHandler(_helper_GridCellClick); if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); this._initialWebGrid(); TSStatus tsstatus = new TSStatus(); tsstatus.Items.Remove(TSStatus.TSStatus_Reflow); //不包括回流 tsstatus.Items.Remove(TSStatus.TSStatus_RepeatNG); new CheckBoxListBuilder(tsstatus, this.chkTSStateList, this.languageComponent1).Build(); this.txtReceiveBeginDate.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(System.DateTime.Now)); this.txtReceiveEndDate.Text = this.txtReceiveBeginDate.Text; this.txtReceiveBeginTime.Text = FormatHelper.ToTimeString(0); this.txtReceiveEndTime.Text = FormatHelper.ToTimeString(235959); } CheckBoxListBuilder.FormatListControlStyle(this.chkTSStateList, 80); }
protected void Page_Load(object sender, EventArgs e) { this.gridHelper = new GridHelperNew(this.gridWebGrid, DtSource); this._helper = new WebQueryHelperNew(this.cmdQuery, this.cmdGridExport, this.gridWebGrid, this.pagerSizeSelector, this.pagerToolBar, this.languageComponent1, DtSource); this._helper.LoadGridDataSource += new EventHandler(_helper_LoadGridDataSource); this._helper.DomainObjectToGridRow += new EventHandler(_helper_DomainObjectToGridRow); this._helper.DomainObjectToExportRow += new EventHandler(_helper_DomainObjectToExportRow); this._helper.GetExportHeadText += new EventHandler(_helper_GetExportHeadText); //this._helper.GridCellClick += new EventHandler(_helper_GridCellClick); this.txtSegmentCodeQuery.TextBox.TextChanged += new EventHandler(TextBox_TextChanged); if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); this._initialWebGrid(); TSStatus tsstatus = new TSStatus(); tsstatus.Items.Remove(TSStatus.TSStatus_Reflow); tsstatus.Items.Remove(TSStatus.TSStatus_RepeatNG); tsstatus.Items.Remove(TSStatus.TSStatus_OffMo); new CheckBoxListBuilder(tsstatus, this.chkTSStateList, this.languageComponent1).Build(); this.dateStartDateQuery.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(System.DateTime.Now)); this.dateEndDateQuery.Text = this.dateStartDateQuery.Text; } CheckBoxListBuilder.FormatListControlStyle(this.chkTSStateList, 80); FormatHelper.SetSNRangeValue(txtStartSnQuery, txtEndSnQuery); this.InitQueryText(); }
protected void Page_Load(object sender, System.EventArgs e) { this.gridHelper = new GridHelperNew(this.gridWebGrid, this.DtSource); this._gridHelper = new GridHelperNew(this.gridWebGrid, this.DtSource); this._helper = new WebQueryHelperNew(this.cmdQuery, this.cmdGridExport, this.gridWebGrid, this.pagerSizeSelector, this.pagerToolBar, this.languageComponent1, this.DtSource); this._helper.LoadGridDataSource += new EventHandler(_helper_LoadGridDataSource); this._helper.DomainObjectToGridRow += new EventHandler(_helper_DomainObjectToGridRow); this._helper.DomainObjectToExportRow += new EventHandler(_helper_DomainObjectToExportRow); this._helper.GetExportHeadText += new EventHandler(_helper_GetExportHeadText); //this._helper.GridCellClick += new EventHandler(_helper_GridCellClick); FormatHelper.SetSNRangeValue(txtStartSnQuery, txtEndSnQuery); if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); this._initialWebGrid(); this.drpCrewCodeQuery_Load(); bool loaddata = false; txtOQCBeginDate.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(DateTime.Today)); txtOQCEndDate.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(DateTime.Today)); //this.txtOQCBeginTime.Text = FormatHelper.ToTimeString(0); //this.txtOQCEndTime.Text = FormatHelper.ToTimeString(235959); if (Page.Request["reworkrcard"] != null && Page.Request["reworkrcard"] != string.Empty) { this.txtStartSnQuery.Text = Page.Request["reworkrcard"]; this.txtEndSnQuery.Text = this.txtStartSnQuery.Text; loaddata = true; } if (Page.Request["reworklotno"] != null && Page.Request["reworklotno"] != string.Empty) { this.txtOQCLotQuery.Text = Page.Request["reworklotno"]; loaddata = true; } if (loaddata) { DateTime begin = new DateTime(DateTime.Now.Year - 2, DateTime.Now.Month, DateTime.Now.Day); this.txtOQCBeginDate.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(begin)); this._helper.Query(null); } } }
protected void Page_Load(object sender, System.EventArgs e) { this.gridHelper = new GridHelperNew(this.gridWebGrid, this.DtSource); if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); this._initialWebGrid(); this._initialOQCStatus(); this.ddlMaterialExportImportWhere_Load(); dateInDateFromQuery.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(DateTime.Today)); dateInDateToQuery.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(DateTime.Today)); txtPackedBeginDate.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(DateTime.Today)); txtPackedEndDate.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(DateTime.Today)); txtOQCBeginDate.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(DateTime.Today)); txtOQCEndDate.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(DateTime.Today)); //this.txtOQCBeginTime.Text = FormatHelper.ToTimeString( 0 ) ; //this.txtOQCEndTime.Text = FormatHelper.ToTimeString(235959); this.txtPackedBeginTime.Text = FormatHelper.ToTimeString(0); this.txtPackedEndTime.Text = FormatHelper.ToTimeString(235959); this.chbItemDetail.Attributes["onclick"] = "onCheckBoxChange(this)"; this.chbRepairDetail.Attributes["onclick"] = "onCheckBoxChange(this)"; this.rdbPackedDate.Attributes["onclick"] = "onRadioCheckChange(this)"; this.chbOQCDate.Attributes["onclick"] = "onCheckBoxChange(this)"; //this.rdbPackedDate.Checked = true; this.rdbPackedDate.Checked = false; } this._helper = new WebQueryHelperNew(this.cmdQuery, this.cmdGridExport, this.gridWebGrid, this.pagerSizeSelector, this.pagerToolBar, this.languageComponent1, this.DtSource); this._helper.LoadGridDataSource += new EventHandler(_helper_LoadGridDataSource); this._helper.DomainObjectToGridRow += new EventHandler(_helper_DomainObjectToGridRow); this._helper.DomainObjectToExportRow += new EventHandler(_helper_DomainObjectToExportRow); this._helper.GetExportHeadText += new EventHandler(_helper_GetExportHeadText); //this._helper.GridCellClick += new EventHandler(_helper_GridCellClick); FormatHelper.SetSNRangeValue(txtStartSnQuery, txtEndSnQuery); this.txtOQCLotQuery.Attributes.Add("onkeyup", "OnOQCLotKeyUp();"); }
protected void Page_Load(object sender, System.EventArgs e) { this.gridHelper = new GridHelperNew(this.gridWebGrid, this.DtSource); this._gridHelper = new GridHelperNew(this.gridWebGrid, this.DtSource); if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); this._initialWebGrid(); } this._helper = new WebQueryHelperNew(this.cmdQuery, this.cmdGridExport, this.gridWebGrid, this.pagerSizeSelector, this.pagerToolBar, this.languageComponent1, this.DtSource); this._helper.LoadGridDataSource += new EventHandler(_helper_LoadGridDataSource); this._helper.DomainObjectToGridRow += new EventHandler(_helper_DomainObjectToGridRow); this._helper.DomainObjectToExportRow += new EventHandler(_helper_DomainObjectToExportRow); this._helper.GetExportHeadText += new EventHandler(_helper_GetExportHeadText); }
//protected GridHelper gridHelper = null; protected void Page_Load(object sender, System.EventArgs e) { this.gridHelper = new GridHelperNew(this.gridWebGrid, DtSource); this._helper = new WebQueryHelperNew(null, this.cmdGridExport, this.gridWebGrid, this.pagerSizeSelector, this.pagerToolBar, this.languageComponent1, DtSource); this._helper.LoadGridDataSource += new EventHandler(_helper_LoadGridDataSource); this._helper.DomainObjectToGridRow += new EventHandler(_helper_DomainObjectToGridRow); this._helper.DomainObjectToExportRow += new EventHandler(_helper_DomainObjectToExportRow); this._helper.GetExportHeadText += new EventHandler(_helper_GetExportHeadText); //this._helper.GridCellClick +=new EventHandler(_helper_GridCellClick); if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); /* added by jessie lee, 2005/12/30, * 在在制分布页面判断工序是否为FQC工序 */ bool isFQC = false; if (string.Compare(this.GetRequestParam("OperationCode"), "TS", true) != 0) { FacadeFactory facadeFactory = new FacadeFactory(base.DataProvider); isFQC = facadeFactory.CreateQueryFacade3().IsOpFQC( this.GetRequestParam("OperationCode"), this.GetRequestParam("ItemCode"), this.GetRequestParam("MoCode"), FormatHelper.TODateInt(this.GetRequestParam("STARTDATE")), FormatHelper.TODateInt(this.GetRequestParam("ENDDATE"))); } this.ViewState["IsFQC"] = isFQC; this._initialWebGrid(); this.txtItemCodeQuery.Text = this.GetRequestParam("ItemCode"); this.txtMoCodeQuery.Text = this.GetRequestParam("MoCode"); this.txtOperationCodeQuery.Text = this.GetRequestParam("OperationCode"); this.txtStartDate.Value = this.GetRequestParam("STARTDATE"); this.txtEndDate.Value = this.GetRequestParam("ENDDATE"); this._helper.Query(sender); } }
//protected GridHelper gridHelper = null; protected void Page_Load(object sender, System.EventArgs e) { gridHelper = new GridHelperNew(this.gridWebGrid, this.DtSource); this._helper = new WebQueryHelperNew(this.cmdQuery, this.cmdGridExport, this.gridWebGrid, this.pagerSizeSelector, this.pagerToolBar, this.languageComponent1, DtSource); this._helper.LoadGridDataSource += new EventHandler(_helper_LoadGridDataSource); this._helper.DomainObjectToGridRow += new EventHandler(_helper_DomainObjectToGridRow); this._helper.DomainObjectToExportRow += new EventHandler(_helper_DomainObjectToExportRow); this._helper.GetExportHeadText += new EventHandler(_helper_GetExportHeadText); //this._helper.GridCellClick += new EventHandler(_helper_GridCellClick); FormatHelper.SetSNRangeValue(txtStartSnQuery, txtEndSnQuery); FormatHelper.SetSNRangeValue(txtStartKeypartsQuery, txtEndKeypartsQuery); if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); this._initialWebGrid(); } }
protected void Page_Load(object sender, System.EventArgs e) { this.gridHelper = new GridHelperNew(this.gridWebGrid, this.DtSource); this._gridHelper = new GridHelperNew(this.gridWebGrid, this.DtSource); if (!IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); this._initialWebGrid(); this.txtDateFrom.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(DateTime.Today)); this.txtDateTo.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(DateTime.Today)); } this._helper = new WebQueryHelperNew(this.cmdQuery, this.cmdGridExport, this.gridWebGrid, this.pagerSizeSelector, this.pagerToolBar, this.languageComponent1, this.DtSource); this._helper.LoadGridDataSource += new EventHandler(_helper_LoadGridDataSource); this._helper.DomainObjectToGridRow += new EventHandler(_helper_DomainObjectToGridRow); this._helper.DomainObjectToExportRow += new EventHandler(_helper_DomainObjectToExportRow); this._helper.GetExportHeadText += new EventHandler(_helper_GetExportHeadText); FormatHelper.SetSNRangeValue(txtStartSnQuery, txtEndSnQuery); this.chbFrmDate.Visible = false; }