Beispiel #1
0
        /// <summary>
        /// Creates a ControlStatusManager object.
        /// </summary>
        public ControlStatusManager(HostControlStatusManager hostStatus,
                                    GuestControlStatusManager[] guestStatuses,
                                    ListBox lstDssLobbies,
                                    Button btnCreateDss,
                                    Button btnJoinDss,
                                    Button btnLeaveDss,
                                    Button btnStartSim,
                                    //Graphics displayGc,
                                    ExtComboChangeMgr extComboChMgr)
        {
            this.extComboChMgr = extComboChMgr;
            this.hostStatus    = hostStatus;
            this.guestStatuses = guestStatuses;

            this.lstDssLobbies = lstDssLobbies;
            this.btnCreateDss  = btnCreateDss;
            this.btnJoinDss    = btnJoinDss;
            this.btnLeaveDss   = btnLeaveDss;
            this.btnStartSim   = btnStartSim;

            //this.displayGc = displayGc;

            this.status = FormStatus.Inactive;
            UpdateControls();
        }
Beispiel #2
0
        /// <summary>
        /// Creates a GuestControlStatusManager object.
        /// </summary>
        public GuestControlStatusManager(PictureBox picChannelState,
                                         Button btnOpen,
                                         Button btnClose,
                                         ComboBox cbColorSelector,
                                         int guestIndex,
                                         ExtComboChangeMgr extComboChMgr)
        {
            this.extComboChMgr   = extComboChMgr;
            this.picChannelState = picChannelState;
            this.cbColorSelector = cbColorSelector;
            this.btnClose        = btnClose;
            this.btnOpen         = btnOpen;
            this.guestIndex      = guestIndex;

            this.status = GuestControlStatus.Inactive;
            UpdateControls();
        }
Beispiel #3
0
        /// <summary>
        /// Creates a HostControlStatusManager object.
        /// </summary>
        public HostControlStatusManager(PictureBox picChannelState, ComboBox cbColorSelector, ExtComboChangeMgr extComboChMgr)
        {
            this.extComboChMgr   = extComboChMgr;
            this.picChannelState = picChannelState;
            this.cbColorSelector = cbColorSelector;

            this.status = HostControlStatus.Inactive;
            UpdateControls();
        }