コード例 #1
0
ファイル: StartUpUI.cs プロジェクト: Arswyd/Watchlist
        private void button3_Click(object sender, EventArgs e)
        {
            startuplist  = "Game";
            this.Enabled = false;
            this.Hide();
            LibraryUI frm = new LibraryUI(startuplist);

            frm.ShowDialog();
            this.Close();
        }
コード例 #2
0
ファイル: LibraryUI.cs プロジェクト: Arswyd/Watchlist
        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();
        }