public Form2(Dictionary<string, Command> theCommands, Dictionary<string, SuperCommand> theSuperCommands)
{
InitializeComponent();
commands = theCommands;
superCommands = theSuperCommands;
foreach (string s in commands.Keys)
{
comboBox1.Items.Add(s.ToLower());
}
comboBox1.Items.Add("-----------------------");
dividerLocation = comboBox1.Items.Count - 1;
foreach (string s in superCommands.Keys)
{
comboBox1.Items.Add(s.ToLower());
}
comboBox1.SelectedIndex = 0;
}