Esempio n. 1
0
        private void btnEditScript_Click(object sender, EventArgs e)
        {
            uint script_id = 0;

            uint.TryParse(txtScriptId.Text, out script_id);
            if (script_id > 0)
            {
                FormScriptEditor script_editor = new FormScriptEditor();
                script_editor.Show();
                script_editor.LoadScript(script_id, "creature_spells_scripts");
            }
        }
Esempio n. 2
0
        private void picScriptEditor_Click(object sender, EventArgs e)
        {
            FormScriptEditor editor = new FormScriptEditor();

            editor.Show();
        }