public Search(MainForm.CheckInstallDirsCB checkInstallDirsCB, MainForm.updateProgressCallback updateProgressCB, MainForm.listViewAddCallBack listViewAddCB) : this() { this.checkInstallDirsCB = checkInstallDirsCB; this.updateProgressCB = updateProgressCB; this.listViewAddCB = listViewAddCB; }
public Search(MainForm.CheckInstallDirsCB checkInstallDirsCB, MainForm.updateProgressCallback updateProgressCB, MainForm.listViewAddCallBack listViewAddCB) : this() { this.checkInstallDirsCB = checkInstallDirsCB; this.updateProgressCB = updateProgressCB; this.listViewAddCB = listViewAddCB; }
public static ObjectChooser CreateObjectChooser(MainForm.DoWaitCallback doWaitCB, MainForm.StopWaitCallback stopWaitCB, MainForm.updateProgressCallback updateProgressCB, MainForm.listViewAddCallBack listViewAddCB, CatalogType resourceType, EventHandler <MainForm.SelectedIndexChangedEventArgs> selectedIndexChangedHandler, EventHandler <MainForm.ItemActivateEventArgs> itemActivateHandler) { ObjectChooser res; if (!objectChooserCache.ContainsKey(resourceType)) { res = new ObjectChooser(doWaitCB, stopWaitCB, updateProgressCB, listViewAddCB, resourceType); res.SelectedIndexChanged += selectedIndexChangedHandler; res.ItemActivate += itemActivateHandler; return(res); } res = objectChooserCache[resourceType]; res.SelectedIndexChanged = null; res.SelectedItem = null; res.listView1.SelectedItems.Clear(); res.SelectedIndexChanged += selectedIndexChangedHandler; res.ItemActivate = null; res.ItemActivate += itemActivateHandler; return(res); }
private ObjectChooser(MainForm.DoWaitCallback doWaitCB, MainForm.StopWaitCallback stopWaitCB, MainForm.updateProgressCallback updateProgressCB, MainForm.listViewAddCallBack listViewAddCB, CatalogType resourceType) : this() { this.doWaitCB = doWaitCB; this.stopWaitCB = stopWaitCB; this.updateProgressCB = updateProgressCB; this.listViewAddCB = listViewAddCB; this.resourceType = resourceType; }
private ObjectChooser(MainForm.DoWaitCallback doWaitCB, MainForm.StopWaitCallback stopWaitCB, MainForm.updateProgressCallback updateProgressCB, MainForm.listViewAddCallBack listViewAddCB, CatalogType resourceType) : this() { this.doWaitCB = doWaitCB; this.stopWaitCB = stopWaitCB; this.updateProgressCB = updateProgressCB; this.listViewAddCB = listViewAddCB; this.resourceType = resourceType; }
public TGISearchThread(Control control, Criteria criteria, AddCallBack addCB, MainForm.updateProgressCallback updateProgressCB, stopSearchCallback stopSearchCB, searchCompleteCallback searchCompleteCB) { this.control = control; this.criteria = criteria; this.addCB = addCB; this.updateProgressCB = updateProgressCB; this.stopSearchCB = stopSearchCB; this.searchCompleteCB = searchCompleteCB; }
public FillThread(Control objectChooser, CatalogType resourceType , AddCallBack createListViewItemCB , MainForm.updateProgressCallback updateProgressCB , stopFillingCallback stopFillingCB , fillingCompleteCallback fillingCompleteCB ) { this.control = objectChooser; this.resourceType = resourceType; this.addCB = createListViewItemCB; this.updateProgressCB = updateProgressCB; this.stopFillingCB = stopFillingCB; this.fillingCompleteCB = fillingCompleteCB; }
public SaveList(MainForm mainForm, SpecificResource selectedItem, Dictionary<string, IResourceKey> rkList, PathPackageTuple target, bool compress, bool addSTBLs, bool padSTBLs, bool zeroSTBLIID, bool excludeCommonResources, MainForm.updateProgressCallback updateProgressCB, StopSavingCallback stopSavingCB, SaveListComplete savingCompleteCB) { this.mainForm = mainForm; this.selectedItem = selectedItem; this.rkList = rkList; this.target = target; this.compress = compress; this.addSTBLs = addSTBLs; this.padSTBLs = padSTBLs; this.zeroSTBLIID = zeroSTBLIID; this.excludeCommonResources = excludeCommonResources; this.updateProgressCB = updateProgressCB; this.stopSavingCB = stopSavingCB; this.savingCompleteCB = savingCompleteCB; }
public SaveList(MainForm mainForm, SpecificResource selectedItem, Dictionary <string, IResourceKey> rkList, PathPackageTuple target, bool compress, bool addSTBLs, bool padSTBLs, bool zeroSTBLIID, bool excludeCommonResources, MainForm.updateProgressCallback updateProgressCB, StopSavingCallback stopSavingCB, SaveListComplete savingCompleteCB) { this.mainForm = mainForm; this.selectedItem = selectedItem; this.rkList = rkList; this.target = target; this.compress = compress; this.addSTBLs = addSTBLs; this.padSTBLs = padSTBLs; this.zeroSTBLIID = zeroSTBLIID; this.excludeCommonResources = excludeCommonResources; this.updateProgressCB = updateProgressCB; this.stopSavingCB = stopSavingCB; this.savingCompleteCB = savingCompleteCB; }
public SearchThread(Search searchPane, AddCallBack addCB, MainForm.updateProgressCallback updateProgressCB, stopSearchCallback stopSearchCB, searchCompleteCallback searchCompleteCB) { this.control = searchPane; this.criteria.text = searchPane.tbText.Text.Trim().ToLowerInvariant(); this.criteria.resourceName = searchPane.ckbResourceName.Checked; this.criteria.objectName = searchPane.ckbObjectName.Checked; this.criteria.objectDesc = searchPane.ckbObjectDesc.Checked; this.criteria.catalogName = searchPane.ckbCatalogName.Checked; this.criteria.catalogDesc = searchPane.ckbCatalogDesc.Checked; this.criteria.allLanguages = !searchPane.rb1English.Checked; this.criteria.allLanguages = searchPane.rb1All.Checked; this.criteria.catalogType = searchPane.SelectedCatalogType; this.addCB = addCB; this.updateProgressCB = updateProgressCB; this.stopSearchCB = stopSearchCB; this.searchCompleteCB = searchCompleteCB; }
public SearchThread(Search searchPane, AddCallBack addCB, MainForm.updateProgressCallback updateProgressCB, stopSearchCallback stopSearchCB, searchCompleteCallback searchCompleteCB) { this.control = searchPane; this.criteria.text = searchPane.tbText.Text.Trim().ToLowerInvariant(); this.criteria.resourceName = searchPane.ckbResourceName.Checked; this.criteria.objectName = searchPane.ckbObjectName.Checked; this.criteria.objectDesc = searchPane.ckbObjectDesc.Checked; this.criteria.catalogName = searchPane.ckbCatalogName.Checked; this.criteria.catalogDesc = searchPane.ckbCatalogDesc.Checked; this.criteria.allLanguages = !searchPane.rb1English.Checked; this.criteria.allLanguages = searchPane.rb1All.Checked; this.criteria.catalogType = searchPane.SelectedCatalogType; this.addCB = addCB; this.updateProgressCB = updateProgressCB; this.stopSearchCB = stopSearchCB; this.searchCompleteCB = searchCompleteCB; }
public FillThread(Control objectChooser, CatalogType resourceType , AddCallBack createListViewItemCB , MainForm.updateProgressCallback updateProgressCB , stopFillingCallback stopFillingCB , fillingCompleteCallback fillingCompleteCB ) { this.control = objectChooser; this.resourceType = resourceType; this.addCB = createListViewItemCB; this.updateProgressCB = updateProgressCB; this.stopFillingCB = stopFillingCB; this.fillingCompleteCB = fillingCompleteCB; }
public TGISearch(MainForm.CheckInstallDirsCB checkInstallDirsCB, MainForm.updateProgressCallback updateProgressCB) : this() { this.checkInstallDirsCB = checkInstallDirsCB; this.updateProgressCB = updateProgressCB; }
public TGISearch(MainForm.CheckInstallDirsCB checkInstallDirsCB, MainForm.updateProgressCallback updateProgressCB) : this() { this.checkInstallDirsCB = checkInstallDirsCB; this.updateProgressCB = updateProgressCB; }
public TGISearchThread(Control control, Criteria criteria, AddCallBack addCB, MainForm.updateProgressCallback updateProgressCB, stopSearchCallback stopSearchCB, searchCompleteCallback searchCompleteCB) { this.control = control; this.criteria = criteria; this.addCB = addCB; this.updateProgressCB = updateProgressCB; this.stopSearchCB = stopSearchCB; this.searchCompleteCB = searchCompleteCB; }