Ejemplo n.º 1
0
        private void AES_LoadFile_Click(object sender, EventArgs e)
        {
            DialogResult result = HashLoader.ShowDialog();

            if (result == DialogResult.OK)
            {
                var quote = quoter.Text;
                AES_FileLocation.Text = HashLoader.FileName;
            }
        }
Ejemplo n.º 2
0
 public NetworkManager(ITcpServer tcpServer, IHashRepository hashRepository, IHashLoader hashLoader,
                       [Named("GameUserRepository")] IUserRepository gameUserRepository,
                       [Named("PendingUserRepository")] IUserRepository pendingUserRepository)
 {
     Server             = (TcpServer)tcpServer;
     _hashRepository    = (HashRepository)hashRepository;
     _hashLoader        = (HashLoader)hashLoader;
     _userRepository    = (GameUserRepository)gameUserRepository;
     _pendingRepository = (PendingUserRepository)pendingUserRepository;
 }