Esempio n. 1
0
 public CreateForm(CSocket socket, login _login)
 {
     InitializeComponent();
     Socket = socket;
     Login  = _login;
     SetStyle(ControlStyles.SupportsTransparentBackColor, true);
     UpdateStyles();
 }
Esempio n. 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            CSocket socket = new CSocket();

            socket.Initialize("211.214.234.220", 5000);
            //socket.Initialize("210.118.75.145", 7788);
            //socket.Initialize("210.118.75.145", 7788);//창회형 데스크탑
            //socket.Initialize("210.118.75.148", 7788);//내꺼 데스크탑
            Application.Run(new login(socket));

            socket.Release();
        }
Esempio n. 3
0
        public gameEnd(CSocket socket, login _login)
        {
            CheckForIllegalCrossThreadCalls = false;
            InitializeComponent();
            InfoData = null;
            Socket   = socket;

            Exit = false;

            Login = _login;
            Login.SetLobby(this);

            m_hThread = new Thread(new ThreadStart(GetInfo));
            m_hThread.Start();

            LobbySound = new System.Media.SoundPlayer(socket.MusicPath + "..\\lobby\\" + "lobby.wav");
            LobbySound.PlayLooping();//노래 재생
            //LobbySound.Stop();
        }
Esempio n. 4
0
 public UserMakeSubject(CSocket socket, login _login)
 {
     InitializeComponent();
     Socket = socket;
     Login  = _login;
 }