Пример #1
0
        public XmlControl()
        {
            fileManager             = UnisensXmlFileManager.CurrentUnisensInstance;
            fileManager.FileLoaded += new UnisensXmlFileManager.FileEventHandler(fileManager_FileLoaded);
            fileManager.FileClosed += new UnisensXmlFileManager.FileEventHandler(fileManager_FileClosed);

            InitializeComponent();
        }
Пример #2
0
        public XmlControl(string xsdfilepath)
        {
            fileManager             = UnisensXmlFileManager.CreateNewInstance;
            fileManager.FileLoaded += new UnisensXmlFileManager.FileEventHandler(fileManager_FileLoaded);
            fileManager.FileClosed += new UnisensXmlFileManager.FileEventHandler(fileManager_FileClosed);

            fileManager.LoadXsd(xsdfilepath);

            InitializeComponent();
        }