Beispiel #1
0
        void btnTag_Click(object sender, EventArgs e)
        {
            List <ABCUserInfo> lstTemps = UserChooserForm.ShowChoose(new List <string>(Users.Keys));

            if (lstTemps != null)
            {
                Users.Clear();
                foreach (ABCUserInfo user in lstTemps)
                {
                    if (Users.ContainsKey(user.User) == false)
                    {
                        Users.Add(user.User, user);
                    }
                }
                InvalidateTags();
            }
        }
        public static List <ABCUserInfo> ShowChoose(List <String> lstOldValue)
        {
            UserChooserForm form = new UserChooserForm();

            return(form.ShowChoose(lstOldValue.ToArray()));
        }