public void CanGenerateFormFromXsdFile() { //asign var formManager = new FormManager(new Panel()); //action formManager.GenerateFormFromXsdFile("DocumentumArchivageSettings.xsd"); //assert }
public void CanUseIsFormValid() { //asign var formManager = new FormManager(new Panel()); //action formManager.IsFormValid(); //assert }
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 }
private void MainFormLoad(object sender, EventArgs e) { _formManager = new FormManager(mainPanel); }