The Eryan Client window, handles the adding and removing of bot windows/loading scripts/etc.
상속: System.Utils
예제 #1
0
        public static extern void dllMoveMouse(IntPtr handle, int x, int y);


        public DrawableScreen(ClientWindow cw, WindowHandler wh) : base()
        {
            this.wh = wh;
            this.cw = cw;
            pm = wh.PMOUSE;
            m = wh.MOUSE;
예제 #2
0
파일: Bot.cs 프로젝트: MasterSpeed/Eryan
        /// <summary>
        /// Initializes the bot by creating a new WindowHandler and adding it as a tab to the ClientWindow
        /// </summary>
        /// <param name="cw">A reference to the ClientWindow</param>
        public void initializeBot(ClientWindow cw)
        {
            bot = new WindowHandler(cw);
            bot.bringToFront();
            bot.setTopLevel(false);
            bot.setVisible(true);

            bot.setFormBorderStyle(FormBorderStyle.None);
            bot.setDockStyle(DockStyle.Fill);

            cw.tabControl1.TabPages[0].Controls.Add(bot);
            cw.tabControl1.TabPages[0].Text = "Bot";

            /*
            backgroundScripts = new List<Scriptable>();
            Script.Scripts.InterfaceCloser icloser = new Script.Scripts.InterfaceCloser();
            icloser.initializeInputs(bot);
            backgroundScripts.Add(icloser);
            */

            this.cw = cw;
            //DEBUGGING STUFF
            //com = new Communicator("\\\\.\\pipe\\TestChannel");
            menuHandler = new MenuHandler(bot.MOUSE, bot.PMOUSE, bot.COMMUNICATOR, bot.KEYBOARD);
            over = new OverviewHandler(bot.MENU, bot.MOUSE, bot.PMOUSE, bot.COMMUNICATOR);
        }
예제 #3
0
파일: Client.cs 프로젝트: emist/Eryan
 /// <summary>
 /// Spawns the Eryan Client on a new thread
 /// </summary>
 public static void createWindow()
 {
     cWindow = new ClientWindow();
     Application.Run(cWindow);
 }