Exemplo n.º 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            startuplist  = "Game";
            this.Enabled = false;
            this.Hide();
            LibraryUI frm = new LibraryUI(startuplist);

            frm.ShowDialog();
            this.Close();
        }
Exemplo n.º 2
0
        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();
        }