예제 #1
0
        private void ObjectCommand(object sender, RoutedEventArgs e)
        {
            ExMain.IsExpanded = false;
            UCSpace.Content   = null;
            var item = new ObjectUCView();

            UCSpace.Content = item;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.objectUCVM = ((QuanLyKho_MVVM.Views.ObjectUCView)(target));
                return;

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