Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.inputWindow = ((QuanLyKho.ChildWindows.InputWindow)(target));
                return;

            case 2:
                this.controlBar = ((QuanLyKho.UserControls.ControlBarChildWindowUC)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ucControlBarChildWindow = ((QuanLyKho.UserControls.ControlBarChildWindowUC)(target));
                return;

            case 2:
                this.packIcon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;
            }
            this._contentLoaded = true;
        }