private void button3_Click(object sender, EventArgs e) { startuplist = "Game"; this.Enabled = false; this.Hide(); LibraryUI frm = new LibraryUI(startuplist); frm.ShowDialog(); this.Close(); }
private void ShowItemDetailForm(string activeListType, ItemModel item, int index, LibraryUI libraryUI) { OverlayForm overlay = ShowOverlay(); ItemDetailForm frm; if (item == null) { frm = new ItemDetailForm(activeListType, libraryUI); } else { frm = new ItemDetailForm(activeListType, item, index, libraryUI); } frm.ShowDialog(this); frm.Dispose(); fpListItemPanel.Focus(); overlay.Dispose(); }