private void ResultList_MouseDoubleClick_1(object sender, MouseEventArgs e) { int index = this.ResultList.IndexFromPoint(e.Location); if (index != System.Windows.Forms.ListBox.NoMatches) { Container con = myList[index]; title = con.con_title; publisher = con.con_publisher; genre = con.con_genre; GameDetailForm f1 = new GameDetailForm(title, publisher, genre); this.Hide(); f1.ShowDialog(); } }
private void pictureBox3_Click(object sender, EventArgs e) { GameDetailForm f3 = new GameDetailForm("", "", ""); f3.ShowDialog(); }