internal void Cleanup() { GadgetModel.CopyFrom(GadgetReport.CreateDefault); ComponentControlModel = TComponentControlModel.CreateDefault; BusyVisibility = Visibility.Hidden; }
internal void Select(TActionComponent component) { component.ThrowNull(); GadgetModel.CopyFrom(component.Models.GadgetReportModel); ComponentControlModel.SelectModel(component); BusyVisibility = GadgetModel.BusyVisibility; }
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; } }
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; } } }