예제 #1
0
 public CnCNetLobby(WindowManager windowManager, CnCNetManager connectionManager,
                    CnCNetGameLobby gameLobby, CnCNetGameLoadingLobby gameLoadingLobby,
                    TopBar topBar, PrivateMessagingWindow pmWindow, TunnelHandler tunnelHandler,
                    GameCollection gameCollection)
     : base(windowManager)
 {
     this.connectionManager = connectionManager;
     this.gameLobby         = gameLobby;
     this.gameLoadingLobby  = gameLoadingLobby;
     this.tunnelHandler     = tunnelHandler;
     this.topBar            = topBar;
     this.pmWindow          = pmWindow;
     this.gameCollection    = gameCollection;
 }
        public GlobalContextMenu(
            WindowManager windowManager,
            CnCNetManager connectionManager,
            CnCNetUserData cncnetUserData,
            PrivateMessagingWindow pmWindow
            ) : base(windowManager)
        {
            this.connectionManager = connectionManager;
            this.cncnetUserData    = cncnetUserData;
            this.pmWindow          = pmWindow;

            Name            = nameof(GlobalContextMenu);
            ClientRectangle = new Rectangle(0, 0, 150, 2);
            Enabled         = false;
            Visible         = false;
        }
예제 #3
0
 public PasswordRequestWindow(WindowManager windowManager, PrivateMessagingWindow privateMessagingWindow) : base(windowManager)
 {
     this.privateMessagingWindow = privateMessagingWindow;
 }