Esempio n. 1
0
        private void SupplierCommand(object sender, RoutedEventArgs e)
        {
            ExMain.IsExpanded = false;
            UCSpace.Content   = null;
            var item = new SupplierUCView();

            UCSpace.Content = item;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.supplierUCVM = ((QuanLyKho_MVVM.Views.SupplierUCView)(target));
                return;

            case 2:
                this.FutureDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

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