Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Control.CheckForIllegalCrossThreadCalls = false;
            ss yeni = new ss();


            try
            {
                MemoryReadLib sd = new MemoryReadLib("war3");
                sd.ReadOffset(MemoryReadLib.WhichDLL.GAMEDLL, 0x12121, 5, new byte[] { 0x12 });
            }
            catch (ArgumentNullException sd)
            {
                Console.WriteLine("Oyun Bulunamadı");
            }
            catch(NullReferenceException ss )
                {
                    Console.WriteLine(ss.Message);
                }


            XReactorSockets XRS = new XReactorSockets(new IPEndPoint(IPAddress.Parse("127.0.0.1"),11000));
            new LoginPanel(XRS).ShowDialog();

            new DashBoard(XRS).ShowDialog();
            XRS.Dispose();
                       
        }
Exemplo n.º 2
0
 public LoginPanel(XReactorSockets xrs)
 {
     
     InitializeComponent();
     label1.Visible = false;
     this.MySokcets = xrs;
     Messenger.Default.Register<string>(this, "loginform", new Action<string>(OnMessengerReceive));
     MySokcets.OnLoginRequestResponse += new OnReceivedLoginResponse(LoginResponseProcess);
 }
Exemplo n.º 3
0
 public DashBoard(XReactorSockets xrs)
 {
     InitializeComponent();
 }