Ejemplo n.º 1
0
            protected override object SetUpMember(int index, object member)
            {
                Debug.Assert(!this.m_Parent.InvokeRequired);

                PresentationRadioButton button = new PresentationRadioButton(this.m_Parent.m_EventQueue, (PresentationModel)member, this.m_Parent.m_Startup, this.m_Parent, index, this.m_Classroom);

                return(button);
            }
Ejemplo n.º 2
0
            protected override void TearDownMember(int index, object member, object tag)
            {
                Debug.Assert(!this.m_Parent.InvokeRequired);

                PresentationRadioButton rb = tag as PresentationRadioButton;

                if (this.m_Parent.Controls.Contains(rb))
                {
                    this.m_Parent.Controls.Remove(rb);
                }
                rb.Dispose();
            }
Ejemplo n.º 3
0
            protected override object SetUpMember(int index, object member)
            {
                Debug.Assert(!this.m_Parent.InvokeRequired);

                PresentationRadioButton button = new PresentationRadioButton(this.m_Parent.m_EventQueue, (PresentationModel)member, this.m_Parent.m_Startup, this.m_Parent, index, this.m_Classroom);
                return button;
            }