This repository was archived by the owner on Oct 16, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212using ICSharpCode . Reporting . BaseClasses ;
1313using ICSharpCode . Reporting . Globals ;
1414using ICSharpCode . Reporting . Addin . Designer ;
15+ using ICSharpCode . Reporting . Addin . Dialogs ;
1516using ICSharpCode . Reporting . Addin . TypeProvider ;
1617
1718namespace ICSharpCode . Reporting . Addin . DesignableItems
@@ -22,6 +23,8 @@ namespace ICSharpCode.Reporting.Addin.DesignableItems
2223 [ Designer ( typeof ( TextItemDesigner ) ) ]
2324 public class BaseTextItem : AbstractItem
2425 {
26+ const string datatypeOfTheUnderlyingColumn = "Datatype of the underlying Column" ;
27+
2528
2629 string formatString ;
2730 StringFormat stringFormat ;
@@ -146,11 +149,10 @@ public System.Windows.Forms.RightToLeft RTL
146149
147150 #region DataType
148151
149- // [Browsable(true),
150- // Category("Databinding"),
151- // Description("Datatype of the underlying Column")]
152- // [DefaultValue("System.String")]
153- // [TypeConverter(typeof(DataTypeStringConverter))]
152+
153+ [ Category ( "Databinding" ) , Description ( datatypeOfTheUnderlyingColumn ) ]
154+ [ DefaultValue ( "System.String" ) ]
155+ [ TypeConverter ( typeof ( DataTypeStringConverter ) ) ]
154156
155157 public string DataType { get ; set ; }
156158
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ namespace ICSharpCode.Reporting.Addin.Designer
1414 /// <summary>
1515 /// Description of DataItemDesigner.
1616 /// </summary>
17- public class DataItemDesigner : TextItemDesigner
17+ class DataItemDesigner : TextItemDesigner
1818 {
1919 public DataItemDesigner ( ) {
2020
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ namespace ICSharpCode.Reporting.Addin.Designer
1818 /// <summary>
1919 /// Description of LineDesigner.
2020 /// </summary>
21- public class LineDesigner : AbstractDesigner
21+ class LineDesigner : AbstractDesigner
2222 {
2323 BaseLineItem baseLine ;
2424 bool dragging ;
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ namespace ICSharpCode.Reporting.Addin.Designer
3737 /// Description of ReportRootDesigner.
3838 /// </summary>
3939
40- public class ReportRootDesigner : DocumentDesigner
40+ class ReportRootDesigner : DocumentDesigner
4141 {
4242 ICollection currentSelection ;
4343 IDesignerHost host ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ namespace ICSharpCode.Reporting.Addin.Designer
1515 /// <summary>
1616 /// Description of ReportSettingsDesigner.
1717 /// </summary>
18- public class ReportSettingsDesigner : ComponentDesigner
18+ class ReportSettingsDesigner : ComponentDesigner
1919 {
2020 static string settingsName = "ReportSettings" ;
2121 public ReportSettingsDesigner ( )
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ namespace ICSharpCode.Reporting.Addin.Designer
2121 ///
2222
2323
24- public class RootReportModel : RootDesignedComponent
24+ class RootReportModel : RootDesignedComponent
2525 {
2626
2727
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ namespace ICSharpCode.Reporting.Addin.Designer
1919 /// <summary>
2020 /// Description of SectionDesigner.
2121 /// </summary>
22- public class SectionDesigner : ParentControlDesigner
22+ class SectionDesigner : ParentControlDesigner
2323 {
2424 BaseSection section ;
2525 ISelectionService selectionService ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ namespace ICSharpCode.Reporting.Addin.Designer
1515 /// <summary>
1616 /// Description of TextItemDesigner.
1717 /// </summary>
18- public class TextItemDesigner : AbstractDesigner
18+ class TextItemDesigner : AbstractDesigner
1919 {
2020
2121
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ namespace ICSharpCode.Reporting.Addin.Dialogs
1515 /// <summary>
1616 /// Description of DataTypeStringConverter.
1717 /// </summary>
18- public class DataTypeStringConverter : StringConverter
18+ class DataTypeStringConverter : StringConverter
1919 {
2020 public override bool GetStandardValuesSupported ( ITypeDescriptorContext context )
2121
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ public static string[] DataTypeList ()
2929 "System.TimeSpan" ,
3030 "System.Decimal" ,
3131 "System.Int" } ;
32+
3233 #endregion
3334 }
3435}
You can’t perform that action at this time.
0 commit comments