public MatrixWindow(string filename) { InitializeComponent(); matrixForm = this; doc = XDocument.Load("files\\" + filename + ".xml"); name = filename; toFillForm(); }
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; }