Example #1
0
        private void btnSelect_Click(object sender, EventArgs e)
        {
            List <KeyValuePair <string, string> > lst = new List <KeyValuePair <string, string> >();

            foreach (KeyValuePair <string, string> item in Combo.Items)
            {
                lst.Add(item);
            }

            MultiChoice mc = new MultiChoice(this, lst, SelectedIdsString);

            mc.ShowDialog();
        }
        private void btnSelect_Click(object sender, EventArgs e)
        {
            List<KeyValuePair<string, string>> lst = new List<KeyValuePair<string,string>>();
            foreach(KeyValuePair<string,string> item in Combo.Items)
            {
                lst.Add(item);
            }

            MultiChoice mc = new MultiChoice(this, lst, SelectedIdsString);
            mc.ShowDialog();
        }