Ejemplo n.º 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();
        }