public bool LoadAppend() { iTagCollection iTC = new iTagCollection(); iTC.Load(); iTag[] iT = iTC.Get(); for (int a = 0; a < iT.Length; a++) { SetCat(iT[a], -1); } return(false); }
private void frmReorder_Load(object sender, EventArgs e) { string msg = "Merging tag categories and images - "; this.Show(); this.Enabled = false; stat(msg + "0%"); double dProc = 100.0 / inf.Length; iTag[] db = itc.Get(); for (int a = 0; a < inf.Length; a++) { if (a % 100 == 0) { stat(msg + Math.Round(dProc * a, 1) + "%"); } inf[a].Upgrade(db); } int b = 7; b *= 3; }
public bool Add(iTagCollection tags) { return(Add(tags.Get())); }