public static void StartGame(object sender, EventArgs e) { ToolStripMenuItem_Game item = sender as ToolStripMenuItem_Game; Process.Start(item.URL); RecentGame.AddGame(item.game); }
private void Form1_Load(object sender, EventArgs e) { notifyIcon1.ContextMenuStrip = this.contextMenuStrip1; FormClosing += Form1_FormClosing; RecentGame.BuildGameList(); BuildContextMenuStrip(); }