Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // OpenFileDialog Script:
- OpenFileDialog openFileDialog = new OpenFileDialog();
- openFileDialog.Filter = "Text files|*.txt|Lua files|*.lua|Axon Files|*.axon";
- openFileDialog.Title = "Select a script .txt .lua";
- if (openFileDialog.ShowDialog() == DialogResult.OK)
- {
- ScriptBox.Text = (File.ReadAllText(openFileDialog.FileName));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement