예제 #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();
		}