/// <summary> /// Opens the gamer profile pane /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { // Be sure one row is selected //if (dataGridView1.SelectedRows.Count != 1) // break; var gp = new GamerProfile(); gp.LoadProfile(int.Parse(dataGridView1.SelectedRows[0].Cells[0].Value.ToString())); gp.Show(); }
private void AfficheJoueur(int id) { // Clear and focus textbox maskedTextBox1.Text = string.Empty; // Show player profile var gp = new GamerProfile(); gp.LoadProfile(id); gp.Show(); }
private void llTransactionDetails_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { if (this.gamer.Benefactor == null) { var link = "http://2011.lanets.ca/admin_useredit.php?uid=" + gamer.UserId; System.Diagnostics.Process.Start(link); } else { var gp = new GamerProfile(); gp.LoadProfile(this.gamer.Benefactor.UserId); gp.Show(); } }