Пример #1
0
        public void Load(string fileName)
        {
            this.ChartLegendDescription.InitDefault();

            Type [] extraTypes = this.GetExtraTypes();

            StreamReader  objStreamReader = new StreamReader(fileName);
            XmlSerializer x2 = new XmlSerializer(this.ChartLegendDescription.GetType(), extraTypes);

            this.ChartLegendDescription = (ChartLegendDescription)x2.Deserialize(objStreamReader);
            objStreamReader.Close();
        }
Пример #2
0
 private void InitDefault()
 {
     m_ChartLegendDescription = new ChartLegendDescription();
     m_ChartLegendDescription.InitDefault();
 }
Пример #3
0
		private void InitDefault ()
		{
			m_ChartLegendDescription = new ChartLegendDescription ();
			m_ChartLegendDescription.InitDefault ();
		}
Пример #4
0
		public void Load (string fileName)
		{
			this.ChartLegendDescription.InitDefault ();

			Type [] extraTypes= this.GetExtraTypes ();

			StreamReader objStreamReader = new StreamReader(fileName);
			XmlSerializer x2 = new XmlSerializer(this.ChartLegendDescription.GetType (), extraTypes);
			this.ChartLegendDescription = (ChartLegendDescription)x2.Deserialize(objStreamReader);
			objStreamReader.Close();
		}