private void LV1_SelectedIndexChanged(object sender, EventArgs e) { ListViewItem LvItem = LV1.FocusedItem as ListViewItem; ListView.SelectedIndexCollection Lview = LV1.SelectedIndices; if (LvItem != null) { textBox2.Clear(); linkLabel1.Text = LvItem.SubItems[3].Text + "?smcid=psapp"; selName = LvItem.Text; selCid = LvItem.SubItems[3].Text; selImg = LvItem.SubItems[4].Text; Button2.Visible = true; if (settings.GetSetting("check14", false) == true) { PDL1.GetDlcInfo(titleRgn, Regex.Split(selCid, "/")[Information.UBound(Regex.Split(selCid, "/"))]); } } }
private void LV1_SelectedIndexChanged(object sender, EventArgs e) { ListViewItem LvItem = LV1.FocusedItem as ListViewItem; ListView.SelectedIndexCollection Lview = LV1.SelectedIndices; if (LvItem != null) { textBox2.Clear(); if (isSearch) { Button2.Visible = false; button7.Visible = true; } else { button7.Visible = false; Button2.Visible = true; } // if (!LvItem.SubItems[3].Text.Contains("-PPSA")) // { linkLabel1.Text = LvItem.SubItems[3].Text; // } // else // { // linkLabel1.Text = LvItem.Text; // } selName = LvItem.Text; selCid = LvItem.SubItems[3].Text; selImg = LvItem.SubItems[4].Text; if (settings.GetSetting("check14", false) == true) //&& !selCid.Contains("-PPSA") { PDL1.GetDlcInfo(titleRgn, Regex.Split(selCid, "/")[Regex.Split(selCid, "/").Length - 1]); } } }