Ejemplo n.º 1
0
        private void MainHub_Shown(object sender, EventArgs e)
        {
            this.Client.CloseWhenClientCloses = true;

            // instantiate modules
            formCavebot     = new Cavebot(this.Client);
            formHealer      = new Healer(this.Client);
            formHotkeys     = new Hotkeys(this.Client);
            formInformation = new Information(this.Client);
            formPvP         = new PvP(this.Client);
            formScripter    = new Scripter(this.Client);
        }
Ejemplo n.º 2
0
 private void btnPvP_Click(object sender, EventArgs e)
 {
     if (formPvP == null)
     {
         formPvP = new PvP(Client);
     }
     formPvP.StartPosition = FormStartPosition.Manual;
     formPvP.Location      = new Point(this.Location.X + 20, this.Location.Y + 20);
     if (!formPvP.Visible)
     {
         formPvP.Show();
     }
     else
     {
         formPvP.Activate();
     }
 }
Ejemplo n.º 3
0
 private void btnPvP_Click(object sender, EventArgs e)
 {
     if (formPvP == null) formPvP = new PvP(Client);
     formPvP.StartPosition = FormStartPosition.Manual;
     formPvP.Location = new Point(this.Location.X + 20, this.Location.Y + 20);
     if (!formPvP.Visible) formPvP.Show();
     else formPvP.Activate();
 }
Ejemplo n.º 4
0
        private void MainHub_Shown(object sender, EventArgs e)
        {
            this.Client.CloseWhenClientCloses = true;

            // instantiate modules
            formCavebot = new Cavebot(this.Client);
            formHealer = new Healer(this.Client);
            formHotkeys = new Hotkeys(this.Client);
            formInformation = new Information(this.Client);
            formPvP = new PvP(this.Client);
            formScripter = new Scripter(this.Client);
        }