public XrayFormatEditor(XrmlFormat x) { this.StartPosition = FormStartPosition.CenterParent; InitializeComponent(); _xray = x; PopulateForm(); }
public void TestXrmlSerialization() { var x = new XrmlFormat(); x.LineLengthLimit = 2; x.Density.Percentage = 50; var xx = x.ToXml(); var x2 = new XrmlFormat().FromXML(xx); x2.Source = "This and that are some. More of the. Oh, whatever the that, then. You know this? This is what I mean. That or that and or of yes."; Console.WriteLine(x2.Munged); Console.ReadKey(); }