Inheritance: System.Windows.Forms.Form
Beispiel #1
0
 private void toToolStripMenuItem_Click(object sender, EventArgs e)
 {
     menuStrip1.Focus();
     if (customlistBoxsummons.SelectedIndex != -1)
     {
         ScriptDisplay sd = new ScriptDisplay(summons.PrintToQueryWindow(summon_id));
         sd.ShowDialog();
     }
     else
     {
         MessageBox.Show("There are no scripts selected in the list.");
     }
 }
Beispiel #2
0
        // Query window button
        private void queryWindowToolStripMenuItem_Click(object sender, EventArgs e)
        {
            menuStrip1.Focus();
            ScriptDisplay sd = null;

            if (bIsCreature)
            {
                sd = new ScriptDisplay(creatures.PrintCreatureToWindow(this.id));
            }
            else
            {
                sd = new ScriptDisplay(db_scripts.PrintScriptToWindow(this.id, scriptTable));
            }

            sd.ShowDialog();
        }
Beispiel #3
0
        // Query window button
        private void queryWindowToolStripMenuItem_Click(object sender, EventArgs e)
        {
            menuStrip1.Focus();
            ScriptDisplay sd = null;

            if (bIsCreature)
                sd = new ScriptDisplay(creatures.PrintCreatureToWindow(this.id));
            else
                sd = new ScriptDisplay(db_scripts.PrintScriptToWindow(this.id, scriptTable));

            sd.ShowDialog();
        }
Beispiel #4
0
 private void toToolStripMenuItem_Click(object sender, EventArgs e)
 {
     menuStrip1.Focus();
     if (customlistBoxsummons.SelectedIndex != -1)
     {
         ScriptDisplay sd = new ScriptDisplay(summons.PrintToQueryWindow(summon_id));
         sd.ShowDialog();
     }
     else
         MessageBox.Show("There are no scripts selected in the list.");
 }