Exemplo n.º 1
0
        internal void ContentTestTargetChanged(GadgetTest gadget)
        {
            // content Test Target

            // save result
            foreach (var item in ContentTestItemsSource)
            {
                if (item.UpdateValue(ContentTestTargetCurrent))
                {
                    break;
                }
            }

            ContentTestTargetCurrent.CopyFrom(gadget);
        }
Exemplo n.º 2
0
        internal void Cleanup()
        {
            Registration.CopyFrom(GadgetRegistration.CreateDefault);

            ContentTestItemsSource.Clear();
            ContentTestSelectedIndex = -1;
            ContentTestTargetCurrent.CopyFrom(GadgetTest.CreateDefault);

            ContentTargetItemsSource.Clear();
            ContentTargetSelectedIndex = -1;

            SlideIndex = -1;

            SelectorContentTestEnabled = false;
            SelectorContentTestChecked = false;

            SelectorContentTargetEnabled = false;
            SelectorContentTargetChecked = false;

            m_FullCollection.Clear();

            m_SelectorContentTestDone   = false;
            m_SelectorContentTargetDone = false;
        }