Gui with working Thread menu

User Tag List

Results 1 to 2 of 2
  1. #1
    hamburger12's Avatar Contributor CoreCoins Purchaser
    Reputation
    87
    Join Date
    Jan 2010
    Posts
    297
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Gui with working Thread

    Hello! I tray to make an GUI for my bot. Now i came to the Point where the bot should write from an Thread into an listbox. Iam using the Visuall Studios 2008 version vor Developing. How can i do it?

    Gui with working Thread
  2. #2
    Jens's Avatar Contributor
    Reputation
    179
    Join Date
    Sep 2006
    Posts
    251
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Assuming you are keeping everything in the same project, and not communicating between assemblies
    Code:
    public delegate void AddToListBoxDel(string msg);
    
    private void ListBoxAdd(string msg)
    {
       if (listBox1.InvokeRequired)
          {
             this.Invoke(new AddToListBoxDel(ListBoxAdd), msg);
           }
           else
          {
             listBox1.Add(msg);
          }
    }

Similar Threads

  1. Creating Weapons with working Displays
    By weaselking1973 in forum WoW EMU Guides & Tutorials
    Replies: 8
    Last Post: 11-17-2007, 01:24 AM
  2. Anyway to make a server with working Black Temple and other High level instances?
    By Polka in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 09-12-2007, 07:03 PM
  3. gnome female > undead male (with working textures)
    By xforeversendx in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 09-03-2007, 12:19 AM
  4. Replies: 1
    Last Post: 11-26-2006, 03:47 PM
All times are GMT -5. The time now is 07:24 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search