Пример #1
0
        public UserControl1(CaseObject caseObj)
        {
            m_CaseObject = caseObj;
            InitializeComponent();

            reader = new FileStream(AppDomain.CurrentDomain.BaseDirectory + "\\AnalysisHistory.xml", FileMode.Open);

            XmlSerializer serializer = new XmlSerializer(typeof(AnalysisHistory));

            m_AnalysisHistory = (AnalysisHistory)serializer.Deserialize(reader);
        }
Пример #2
0
        public UserControl1(CaseObject caseObj)
        {
            m_CaseObject = caseObj;
            InitializeComponent();

            reader = new FileStream(AppDomain.CurrentDomain.BaseDirectory + "\\AnalysisHistory.xml", FileMode.Open);

            XmlSerializer serializer = new XmlSerializer(typeof(AnalysisHistory));

            m_AnalysisHistory = (AnalysisHistory)serializer.Deserialize(reader);

        }