Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.datacontext = ((WpfApp1.MainWindowViewModel)(target));
                return;

            case 2:
                this.dataGrdldlc = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 3:
                this.dataGrdtopachat = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 4:
                this.dataGrdamazon = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 5:
                this.dataGrdgrosbill = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 6:
                this.dataGrdMaterielNet = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }