Exemple #1
0
 public HeaderCell(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
 {
     try
     {
         _Row = info.GetInt32("_Row");
     }
     catch
     {
         _Row = 0;
     }
     try
     {
         _Col = info.GetInt32("_Col");
     }
     catch
     {
         _Col = 0;
     }
     try
     {
         _Text = info.GetString("_Text");
     }
     catch
     {
         _Text = string.Empty;
     }
     try
     {
         _MergerdIndex = info.GetInt32("_MergerdIndex");
     }
     catch
     {
         _MergerdIndex = 0;
     }
     try
     {
         _MergerdCount = info.GetInt32("_MergerdCount");
     }
     catch
     {
         _MergerdCount = 0;
     }
     try
     {
         _ChangeStyle = info.GetBoolean("_ChangeStyle");
     }
     catch
     {
         _ChangeStyle = false;
     }
     try
     {
         _CellStyle = (Webb.Reports.ExControls.IBasicStyle)info.GetValue("_CellStyle", typeof(Webb.Reports.ExControls.IBasicStyle));
     }
     catch
     {
         _CellStyle = new BasicStyle();
     }
 }
Exemple #2
0
 public void ToZero()
 {
     _MergerdIndex      = 0;
     _MergerdCount      = 0;
     _Text              = "";
     _ChangeStyle       = false;
     _CellStyle         = null;
     _updateAllRowstyle = false;
 }