示例#1
0
        void BaseValues()
        {
            this.UseStandardPrinter = true;
            this.GraphicsUnit       = GraphicsUnit.Pixel;
            this.Padding            = new Padding(5);
            this.DefaultFont        = GlobalValues.DefaultFont;
            this.ReportType         = GlobalEnums.ReportType.FormSheet;

            this.DataModel = GlobalEnums.PushPullModel.FormSheet;

            this.CommandType      = System.Data.CommandType.Text;
            this.ConnectionString = String.Empty;
            this.CommandText      = String.Empty;

            this.TopMargin    = GlobalValues.DefaultPageMargin.Left;
            this.BottomMargin = GlobalValues.DefaultPageMargin.Bottom;
            this.LeftMargin   = GlobalValues.DefaultPageMargin.Left;
            this.RightMargin  = GlobalValues.DefaultPageMargin.Right;

            this.availableFields     = new AvailableFieldsCollection();
            this.groupingsCollection = new GroupColumnCollection();
            this.sortingCollection   = new SortColumnCollection();
            this.sqlParameters       = new SqlParameterCollection();
            this.parameterCollection = new ParameterCollection();
            this.NoDataMessage       = "No Data for this Report";
        }
示例#2
0
 void BaseValues()
 {
     this.useStandardPrinter  = true;
     this.graphicsUnit        = GraphicsUnit.Pixel;
     this.padding             = new Padding(5);
     this.defaultFont         = GlobalValues.DefaultFont;
     this.reportType          = GlobalEnums.ReportType.FormSheet;
     this.dataModel           = GlobalEnums.PushPullModel.FormSheet;
     this.pageSize            = GlobalValues.DefaultPageSize;
     this.topMargin           = GlobalValues.DefaultPageMargin.Left;
     this.bottomMargin        = GlobalValues.DefaultPageMargin.Bottom;
     this.leftMargin          = GlobalValues.DefaultPageMargin.Left;
     this.rightMargin         = GlobalValues.DefaultPageMargin.Right;
     this.availableFields     = new AvailableFieldsCollection();
     this.groupingsCollection = new ColumnCollection();
     this.sortingCollection   = new SortColumnCollection();
     this.parameterCollection = new ParameterCollection();
 }