Пример #1
0
        private void listBox1_Click(object sender, EventArgs e)
        {
            Dictionary <string, string> his = Program.getHistory();

            if (listBox1.SelectedItem != null)
            {
                string title = listBox1.SelectedItem.ToString();
                form1.selectHis(his[title]);
            }
            this.Close();
        }