private void toolStripButton1_Click(object sender, EventArgs e) { using (AddISO diso = new AddISO(IsoEntryPlatform.Xbox360)) { diso.ShowDialog(this); } }
private void listView1_DoubleClick(object sender, EventArgs e) { if (this.listView1.SelectedItems.Count <= 1) { ListViewItem item = this.listView1.SelectedItems[0]; IsoEntry tag = (IsoEntry)item.Tag; if (tag.Status == IsoEntryStatus.Idle) { using (AddISO diso = new AddISO(tag.Platform)) { diso.Edit(item.Index, tag); diso.ShowDialog(this); return; } } MessageBox.Show("Conversions that are currently in progress or have completed cannot be edited."); } }
private void listView1_DoubleClick(object sender, EventArgs e) { if (this.listView1.SelectedItems.Count <= 1) { ListViewItem item = this.listView1.SelectedItems[0]; IsoEntry tag = (IsoEntry) item.Tag; if (tag.Status == IsoEntryStatus.Idle) { using (AddISO diso = new AddISO(tag.Platform)) { diso.Edit(item.Index, tag); diso.ShowDialog(this); return; } } MessageBox.Show("Conversions that are currently in progress or have completed cannot be edited."); } }