public TaggerGridController( TextBox tagString, TextBox tagFilter, ListView tags, ListView fileElements, TextBlock fileCount, TextBlock status, CheckBox multiTagsAsIntersectionInsteadOfUnion) { txtTags = tagString; txtFilter = tagFilter; lvTags = tags; lvFileElements = fileElements; tbFileCount = fileCount; tbStatus = status; chkMultiTagsAsIntersectionInsteadOfUnion = multiTagsAsIntersectionInsteadOfUnion; dbCore = new Db.Sqlite.DbAdapterSwitch(); chkMultiTagsAsIntersectionInsteadOfUnion.Unchecked += ChkMultiTagsAsIntersectionInsteadOfUnion_Toggled; chkMultiTagsAsIntersectionInsteadOfUnion.Checked += ChkMultiTagsAsIntersectionInsteadOfUnion_Toggled; }
static Tags() { db = new Db.Sqlite.DbAdapterSwitch(); }