protected void Page_Load(object sender, System.EventArgs e) { this._gridHelper = new GridHelperForRPT(this.gridWebGrid); this._helper = new WebQueryHelper(this.cmdQuery, this.cmdGridExport, this.gridWebGrid, this.pagerSizeSelector, this.pagerToolBar, this.languageComponent1); 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 TSPerformanceSummaryTarget(), this.rblSummaryTargetQuery, this.languageComponent1); if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); this._initialWebGrid(); builder.Build(); this.upDown.Value = 3; this.dateStartDateQuery.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(System.DateTime.Now)); this.dateEndDateQuery.Text = this.dateStartDateQuery.Text; } RadioButtonListBuilder.FormatListControlStyle(this.rblSummaryTargetQuery, 50); }
protected void Page_Load(object sender, System.EventArgs e) { this.OWCPivotTable1.LanguageComponent = this.languageComponent1; RadioButtonListBuilder builder1 = new RadioButtonListBuilder( new TimingType(), this.rblTimingType, this.languageComponent1); RadioButtonListBuilder builder2 = new RadioButtonListBuilder( new SummaryTarget(), this.rblSummaryTarget, this.languageComponent1); RadioButtonListBuilder builder3 = new RadioButtonListBuilder( new VisibleStyle(), this.rblVisibleStyle, this.languageComponent1); RadioButtonListBuilder builder4 = new RadioButtonListBuilder( new ChartStyle(), this.rblChartType, this.languageComponent1); RadioButtonListBuilder builder5 = new RadioButtonListBuilder( new YieldCatalog(), this.rblYieldCatalog, this.languageComponent1); if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); builder1.Build(); builder2.Build(); builder3.Build(); builder4.Build(); builder5.Build(); /* * // Added by Icyer 2007/01/17 仅显示不良率 * for (int i = rblYieldCatalog.Items.Count - 1; i >= 0; i--) * { * if (rblYieldCatalog.Items[i].Value != YieldCatalog.NotYield) * { * rblYieldCatalog.Items.RemoveAt(i); * } * } * // Added end */ this.dateStartDateQuery.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(System.DateTime.Now)); this.dateEndDateQuery.Text = this.dateStartDateQuery.Text; this.OWCChartSpace1.Display = false; this.rblSummaryTarget.Attributes.Add("onclick", "judgePPM()"); this.rblYieldCatalog.Attributes.Add("onclick", "judgePPM()"); } RadioButtonListBuilder.FormatListControlStyle(this.rblChartType, 50); RadioButtonListBuilder.FormatListControlStyle(this.rblTimingType, 50); RadioButtonListBuilder.FormatListControlStyle(this.rblSummaryTarget, 50); RadioButtonListBuilder.FormatListControlStyle(this.rblVisibleStyle, 50); RadioButtonListBuilder.FormatListControlStyle(this.rblYieldCatalog, 50); }
protected void Page_Load(object sender, System.EventArgs e) { this.OWCPivotTable1.LanguageComponent = this.languageComponent1; RadioButtonListBuilder builder1 = new RadioButtonListBuilder( new TimingType(), this.rblTimingType, this.languageComponent1); RadioButtonListBuilder builder2 = new RadioButtonListBuilder( new SummaryTarget(), this.rblSummaryTarget, this.languageComponent1); RadioButtonListBuilder builder3 = new RadioButtonListBuilder( new VisibleStyle(), this.rblVisibleStyle, this.languageComponent1); RadioButtonListBuilder builder4 = new RadioButtonListBuilder( new ChartStyle(), this.rblChartType, this.languageComponent1); if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); builder1.Build(); builder2.Build(); builder3.Build(); builder4.Build(); this.dateStartDateQuery.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(System.DateTime.Now)); this.dateEndDateQuery.Text = this.dateStartDateQuery.Text; this.OWCChartSpace1.Display = false; this.rblSummaryTarget.Attributes.Add("onclick", "judgeSummaryTarget()"); } RadioButtonListBuilder.FormatListControlStyle(this.rblTimingType, 50); RadioButtonListBuilder.FormatListControlStyle(this.rblSummaryTarget, 50); RadioButtonListBuilder.FormatListControlStyle(this.rblVisibleStyle, 50); RadioButtonListBuilder.FormatListControlStyle(this.rblChartType, 50); }
// 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); if (!this.IsPostBack) { // 初始化页面语言 this.InitPageLanguage(this.languageComponent1, false); RadioButtonListBuilder builder = new RadioButtonListBuilder( new TSInfoSummaryTarget(), this.rblSummaryTargetQuery, this.languageComponent1); builder.Build(); this._initialWebGrid(); this.txtErrorCodeGroup.Enabled = false; this.txtErrorCodeGroup.Text = string.Empty; this.upDown.Value = 5; this.dateStartDateQuery.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(System.DateTime.Now)); this.dateEndDateQuery.Text = this.dateStartDateQuery.Text; this.paretoChart.Visible = false; this.pie3DChart.Visible = false; } InitQueryText(); RadioButtonListBuilder.FormatListControlStyle(this.rblSummaryTargetQuery, 80); }
//protected ControlLibrary.Web.Language.LanguageComponent languageComponent1; //private System.ComponentModel.IContainer components; protected void Page_Load(object sender, System.EventArgs e) { RadioButtonListBuilder builder1 = new RadioButtonListBuilder( new TimingType(), this.rblTimingType, this.languageComponent1); RadioButtonListBuilder builder2 = new RadioButtonListBuilder( new SummaryTarget(), this.rblSummaryTarget, this.languageComponent1); RadioButtonListBuilder builder3 = new RadioButtonListBuilder( new VisibleStyle(), this.rblVisibleStyle, this.languageComponent1); RadioButtonListBuilder builder4 = new RadioButtonListBuilder( new ChartStyle(), this.rblChartType, this.languageComponent1); RadioButtonListBuilder builder5 = new RadioButtonListBuilder( new YieldCatalog(), this.rblYieldCatalog, this.languageComponent1); this.gridHelper = new GridHelperNew(gridWebGrid, DtSource); this.gridWebGrid.Visible = false; this.cmdGridExport.Visible = false; this.columnChart.Visible = false; this.lineChart.Visible = false; if (!this.IsPostBack) { // 初始化页面语言 //this.InitPageLanguage(this.languageComponent1, false); builder1.Build(); builder2.Build(); builder3.Build(); builder4.Build(); builder5.Build(); /* * //Laws Lu,2007/01/17 不显示PPM和直通率 * rblYieldCatalog.Items.RemoveAt(1); * rblYieldCatalog.Items.RemoveAt(1); */ this.dateStartDateQuery.Text = FormatHelper.ToDateString(FormatHelper.TODateInt(System.DateTime.Now)); this.dateEndDateQuery.Text = this.dateStartDateQuery.Text; this.rblSummaryTarget.Attributes.Add("onclick", "judgePPM()"); this.rblYieldCatalog.Attributes.Add("onclick", "judgePPM()"); if (this.Request.Params["Width"] != null) { ViewState["Width"] = this.Request.Params["Width"]; } if (this.Request.Params["Height"] != null) { ViewState["Height"] = this.Request.Params["Height"]; } } RadioButtonListBuilder.FormatListControlStyle(this.rblChartType, 50); RadioButtonListBuilder.FormatListControlStyle(this.rblTimingType, 50); RadioButtonListBuilder.FormatListControlStyle(this.rblSummaryTarget, 50); RadioButtonListBuilder.FormatListControlStyle(this.rblVisibleStyle, 50); RadioButtonListBuilder.FormatListControlStyle(this.rblYieldCatalog, 50); }