Forum > Coding >

[HELP]Does anyone know how to make a list full of scripts

Posts: 18

Threads: 7

Joined: Feb, 2019

Reputation: 0

Posted

for example when u click on a script which is in the list it will load it on your textbox.

Thanks For Your Time!

  • 0

Posts: 5

Threads: 0

Joined: May, 2018

Reputation: 0

Replied

This is an easy way, create a list box and put something like this.

You can easily change the text of the other box

 

 private void listBox1_SelectedIndexChanged(object sender, EventArgs e)

        {

            if(listBox1.Text == "script name")

            {

                richTextBox.Text = "put script here";

            }

        }

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )