Example #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.");
     }
 }
Example #2
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.");
 }