public bool get_style_key(string key, out Itembase ib) { foreach (string k in this._items.Keys) { if (key.Equals(k)) { ib = this._items[key]; return true; } } ib = null; return false; }
public bool get_style(string text, out Itembase ib, out string type) { foreach (string key in this._items.Keys) { if (this._items[key].Contains(text)) { ib = this._items[text]; type = key; return true; } } ib = null; type = ""; return false; }