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(); }
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); }
public DashBoard(XReactorSockets xrs) { InitializeComponent(); }