Пример #1
0
        public MatrixWindow(string filename)
        {
            InitializeComponent();
            matrixForm = this;

            doc  = XDocument.Load("files\\" + filename + ".xml");
            name = filename;

            toFillForm();
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MatrixForm = ((SZI.MatrixWindow)(target));
                return;

            case 2:
                this.mGrid = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }