public override Control CreateControl()
        {
            GroupFooterSection gfs = new GroupFooterSection();

            CopyTo(gfs);
            return(gfs);
        }
 public override Control CreateControl()
 {
     GroupFooterSection gfs = new GroupFooterSection();
     CopyTo(gfs);
     return gfs;
 }
예제 #3
0
 public void AddGroup(Group gr)
 {
     Groups.Add (gr);
     GroupHeaderSection gh = new GroupHeaderSection { Name = Catalog.GetString("Group header ") + gr.ExpressionFieledName, Size = new Model.Size (Width, 20), Location = new Point (0, 150) };
     GroupHeaderSections.Add (gh);
     GroupFooterSection gf = new GroupFooterSection { Name = Catalog.GetString("Group footer ") + gr.ExpressionFieledName, Size = new Model.Size(Width, 20), Location = new Point(0, 250) };
     GroupFooterSections.Add (gf);
 }
예제 #4
0
 public void AddGroup(string fieldName)
 {
     Group gr = new Group { GroupingFieldName = fieldName };
     Groups.Add (gr);
     GroupHeaderSection gh = new GroupHeaderSection { Name = "Group header " + gr.GroupingFieldName, Size = new Model.Size (Width, 20), Location = new Point (0, 150) };
     GroupHeaderSections.Add (gh);
     GroupFooterSection gf = new GroupFooterSection { Name = "Group footer " + gr.GroupingFieldName, Size = new Model.Size (Width, 20), Location = new Point (0, 250) };
     GroupFooterSections.Add (gf);
 }