ATMLCommonLibrary.forms.ATMLOptionsForm.ATMLOptionsForm C# (CSharp) Method

ATMLOptionsForm() public method

public ATMLOptionsForm ( ) : System
return System
        public ATMLOptionsForm()
        {
            InitializeComponent();

            Stream stream = GetType().Assembly.GetManifestResourceStream(Resources.Options);
            if( stream == null )
                throw new Exception( "Failed to load the Property Options resources.");

            var reader = new XmlTextReader(stream);
            var document = new XmlDocument();
            document.Load(reader);
            XmlElement root = document.DocumentElement;
            Dictionary<String, PropertyOption> options = new Dictionary<string, PropertyOption>();

            ProcessOption(root, null, options );
        }