Example #1
0
        internal void Cleanup()
        {
            GadgetModel.CopyFrom(GadgetReport.CreateDefault);
            ComponentControlModel = TComponentControlModel.CreateDefault;

            BusyVisibility = Visibility.Hidden;
        }
Example #2
0
        internal void Select(TActionComponent component)
        {
            component.ThrowNull();

            GadgetModel.CopyFrom(component.Models.GadgetReportModel);

            ComponentControlModel.SelectModel(component);

            BusyVisibility = GadgetModel.BusyVisibility;
        }
Example #3
0
        internal void Select(TActionComponent component)
        {
            component.ThrowNull();

            if (component.IsCategory(TCategory.Material))
            {
                GadgetModel.CopyFrom(component.Models.GadgetMaterialModel);

                ComponentControlModel.SelectModel(component);

                BusyVisibility = component.Models.GadgetMaterialModel.BusyVisibility;
            }
        }
Example #4
0
        internal void Select(TActionComponent component)
        {
            if (component.NotNull())
            {
                if (component.IsCategory(TCategory.Registration))
                {
                    GadgetModel.CopyFrom(component.Models.GadgetRegistrationModel);

                    ComponentControlModel.SelectModel(component);

                    BusyVisibility = component.Models.GadgetRegistrationModel.BusyVisibility;
                }
            }
        }