public AutoComplete(AutoCompleteKeeper Keeper, AutoCompleteType type = AutoCompleteType.replace) { this.Keeper = Keeper; ParentForm = ThisControl.FindForm(); Type = type; AddEvents(); }
public AutoComplete(Control ctrl, List <string> values, AutoCompleteKeeper Keeper, AutoCompleteType type = AutoCompleteType.replace) { ThisControl = ctrl; this.Keeper = Keeper; ParentForm = ThisControl.FindForm(); Values = values; Type = type; AddEvents(); }