GetDictionary() public static method

public static GetDictionary ( string cfg, char delim ) : string>.Dictionary
cfg string
delim char
return string>.Dictionary
Beispiel #1
0
        private void TagConfigure_Load(object sender, EventArgs e)
        {
            var d = Helper.GetDictionary(TagsNV, ';');

            foreach (var t in MainForm.Tags)
            {
                string v = "";
                if (d.ContainsKey(t))
                {
                    v = d[t];
                }
                var tc = new TagEntry
                {
                    TagName  = t,
                    TagValue = v
                };
                flowLayoutPanel1.Controls.Add(tc);
            }
        }