GenerateFormFromXsdFile() 개인적인 메소드

Creates XForm from given Xsd file
private GenerateFormFromXsdFile ( string file ) : void
file string Path to Xsd file.
리턴 void
예제 #1
0
        public void CanGenerateFormFromXsdFile()
        {
            //asign
            var formManager = new FormManager(new Panel());

            //action
            formManager.GenerateFormFromXsdFile("DocumentumArchivageSettings.xsd");

            //assert
        }
예제 #2
0
        public void CanUseSaveFormToXmlFile()
        {
            //asign
            var formManager = new FormManager(new Panel());
            var stream = new MemoryStream();

            //action
            formManager.GenerateFormFromXsdFile("DocumentumArchivageSettings.xsd");
            formManager.UpdateFormFromXml("DocumentumArchivageSettings.xml");
            formManager.SaveFormToXmlFile(stream);

            //assert
        }