//Template public void Initialization(string xsdFile, string namespaceurl = null) { //File- { XmlElement module = Doc.CreateElement("File"); Root.AppendChild(module); //IN-- module.AppendChild(FormFile.InitialTemplate()); //OS-- module.AppendChild(FormBasicFunction.InitialTemplate()); } //Method- Root.AppendChild(FormMethod.InitialTemplate()); //EMCParameters- Root.AppendChild(FormFrequency.InitialTemplate()); //Excitation- Root.AppendChild(FormExcitation.InitialTemplate()); //Solution- Root.AppendChild(FormSolution.InitialTemplate()); //Request- Root.AppendChild(FormRequest.InitialTemplate()); _settings.Schemas.Add(namespaceurl, xsdFile); _settings.ValidationEventHandler += ErrorEventHanlde; Doc.Schemas = _settings.Schemas; }
private void FRButton_Click(object sender, EventArgs e) { Form fre = new FormFrequency(); fre.ShowDialog(); InformationText.Clear(); InformationText.Text = @"Click Parameter"; FRButton.BackColor = Color.MistyRose; }