private void btnLanGame_Click(object sender, EventArgs e) { try { if (frmMain.localpc.Profile == null) { frmManageProfile frm = new frmManageProfile(); if (frm.ShowDialog() != DialogResult.OK) { return; } } this.Hide(); frmFindGame frms = new frmFindGame(); frms.ShowDialog(); this.Show(); } catch { } }
private void buttonItem1_Click(object sender, EventArgs e) { frmManageProfile frm = new frmManageProfile(); frm.ShowDialog(); }