Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public partial class _WellPlateReport : Telerik.Reporting.Report
- {
- public _WellPlateReport(Dictionary<string, object> ReportParameters)
- {
- //
- // Required for telerik Reporting designer support
- //
- InitializeComponent();
- tbGenotype.Visible = false;
- //
- // TODO: Add any constructor code after InitializeComponent call
- //
- }
- private void labelsGroupHeaderSection_ItemDataBinding(object sender, EventArgs e)
- {
- string temp = "";
- Telerik.Reporting.Processing.GroupSection headerGroup = (Telerik.Reporting.Processing.GroupSection)sender;
- Telerik.Reporting.TextBox tb = new Telerik.Reporting.TextBox();
- tb.Left = new Telerik.Reporting.Drawing.Unit(0.5, UnitType.Inch) + tbGenotype.Left + tbGenotype.Width;
- //tb.Width = new Telerik.Reporting.Drawing.Unit(3.0, UnitType.Inch);
- tb.Size = tbSex.Size;
- tb.Name = "TestLabel1";
- tb.Value = "Test Label";
- tb.Location = new Telerik.Reporting.Drawing.PointU(tbGenotype.Left + tbGenotype.Width + new Telerik.Reporting.Drawing.Unit(0.5, UnitType.Inch), Telerik.Reporting.Drawing.Unit.Inch(0D));
- //this.labelsGroupHeaderSection.Items.Add(tb);
- //this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { tb });
- this.labelsGroupHeaderSection.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { tb });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement