Ejemplo n.º 1
0
Archivo: Section.cs Proyecto: mnisl/OD
		///<summary></summary>
		public Section(AreaSectionKind kind,int height){
			_kind=kind;
			//name is not user editable, so:
			switch(_kind){
				case AreaSectionKind.ReportHeader:
					_name="Report Header";
					break;
				case AreaSectionKind.PageHeader:
					_name="Page Header";
					break;
				case AreaSectionKind.GroupTitle:
					_name="Group Title";
					break;
				case AreaSectionKind.GroupHeader:
					_name="Group Header";
					break;
				case AreaSectionKind.Detail:
					_name="Detail";
					break;
				case AreaSectionKind.GroupFooter:
					_name="Group Footer";
					break;
				case AreaSectionKind.PageFooter:
					_name="Page Footer";
					break;
				case AreaSectionKind.ReportFooter:
					_name="Report Footer";
					break;
				case AreaSectionKind.Query:
					_name="Query";
					break;
			}
			_height=height;
		}
Ejemplo n.º 2
0
 ///<summary></summary>
 public Section(AreaSectionKind myKind,int myHeight)
 {
     kind=myKind;
     //name is not user editable, so:
     switch(kind){
         case AreaSectionKind.ReportHeader:
             name="Report Header";
             break;
         case AreaSectionKind.PageHeader:
             name="Page Header";
             break;
         //case AreaSectionKind.GroupHeader:
         case AreaSectionKind.Detail:
             name="Detail";
             break;
         //case AreaSectionKind.GroupFooter:
         case AreaSectionKind.PageFooter:
             name="Page Footer";
             break;
         case AreaSectionKind.ReportFooter:
             name="Report Footer";
             break;
     }
     height=myHeight;
 }
Ejemplo n.º 3
0
        ///<summary></summary>
        public Section(AreaSectionKind myKind, int myHeight)
        {
            kind = myKind;
            //name is not user editable, so:
            switch (kind)
            {
            case AreaSectionKind.ReportHeader:
                name = "Report Header";
                break;

            case AreaSectionKind.PageHeader:
                name = "Page Header";
                break;

            //case AreaSectionKind.GroupHeader:
            case AreaSectionKind.Detail:
                name = "Detail";
                break;

            //case AreaSectionKind.GroupFooter:
            case AreaSectionKind.PageFooter:
                name = "Page Footer";
                break;

            case AreaSectionKind.ReportFooter:
                name = "Report Footer";
                break;
            }
            height = myHeight;
        }