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

            case 2:
                this.img = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.tab1 = ((System.Windows.Controls.ListBox)(target));
                return;

            case 4:
                this.Tien = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.img3 = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.img6 = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.img1 = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.img4 = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.comboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 10:
                this.img5 = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.img2 = ((System.Windows.Controls.Image)(target));
                return;

            case 12:
                this.a = ((System.Windows.Controls.ScrollViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((QuanLyNhaHang.MainWindow)(target));
                return;

            case 2:
                this.Tien = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.a = ((System.Windows.Controls.ScrollViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }